Switch package data from cabal to stack

main
Ethan Reece 2023-09-14 23:06:40 -05:00
parent ae191c71dd
commit 71f726fce6
Signed by: me
GPG Key ID: D3993665FF92E1C3
4 changed files with 47 additions and 37 deletions

View File

@ -23,6 +23,8 @@ Main repo: https://git.sudoer.ch/me/really-bad-compiler-in-haskell
- learnyouahaskell.com (for learning Haskell basics) - learnyouahaskell.com (for learning Haskell basics)
- https://akashagrawal.me/2017/01/19/beginners-guide-to-megaparsec.html - https://akashagrawal.me/2017/01/19/beginners-guide-to-megaparsec.html
- https://markkarpov.com/tutorial/megaparsec.html (for help writing a Haskell equation parser) - https://markkarpov.com/tutorial/megaparsec.html (for help writing a Haskell equation parser)
- https://www.forth.com/starting-forth/1-forth-stacks-dictionary/ (for learning Forth)
- https://blog.josephmorag.com/posts/mcc0/ (Haskell LLVM tutorial)
### Tools ### Tools

17
package.yaml 100644
View File

@ -0,0 +1,17 @@
name: really-bad-compiler-in-haskell
version: 0
author: sudoer777
maintainer: git@sudoer.ch
dependencies:
- base
- megaparsec
- parser-combinators
- text
tested-with: GHC == 9.2.8
ghc-options: -threaded -Wall -j +RTS -A32M -RTS
executables:
compiler:
source-dirs: app
main: Main.hs

View File

@ -1,39 +1,30 @@
cabal-version: 2.4 cabal-version: 1.12
name: really-bad-compiler-in-haskell
version: 0.1.0.0
-- A short (one-line) description of the package. -- This file has been generated from package.yaml by hpack version 0.35.1.
-- synopsis: --
-- see: https://github.com/sol/hpack
-- A longer description of the package. name: really-bad-compiler-in-haskell
-- description: version: 0
author: sudoer777
maintainer: git@sudoer.ch
build-type: Simple
tested-with:
GHC == 9.2.8
-- A URL where users can report bugs. executable compiler
-- bug-reports: main-is: Main.hs
other-modules:
-- The license under which the package is released. Eval.Expression
-- license: Objects.Expression
author: sudoer777 Parser.Expression
maintainer: git@sudoer.ch Paths_really_bad_compiler_in_haskell
hs-source-dirs:
-- A copyright notice. app
-- copyright: ghc-options: -threaded -Wall -j +RTS -A32M -RTS
-- category: build-depends:
extra-source-files: base
CHANGELOG.md , megaparsec
README.md , parser-combinators
, text
executable really-bad-compiler-in-haskell default-language: Haskell2010
main-is: Main.hs
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends: base ^>=4.16.4.0
, megaparsec >= 9.2.2
, parser-combinators
, text
hs-source-dirs: app
default-language: Haskell2010

View File

@ -30,7 +30,7 @@ resolver:
# - auto-update # - auto-update
# - wai # - wai
packages: packages:
- . - .
# Dependency packages to be pulled from upstream that are not in the resolver. # Dependency packages to be pulled from upstream that are not in the resolver.
# These entries can reference officially published versions as well as # These entries can reference officially published versions as well as
# forks / in-progress versions pinned to a git hash. For example: # forks / in-progress versions pinned to a git hash. For example: