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)
- 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://www.forth.com/starting-forth/1-forth-stacks-dictionary/ (for learning Forth)
- https://blog.josephmorag.com/posts/mcc0/ (Haskell LLVM tutorial)
### 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
-- This file has been generated from package.yaml by hpack version 0.35.1.
--
-- see: https://github.com/sol/hpack
name: really-bad-compiler-in-haskell
version: 0.1.0.0
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
-- license:
version: 0
author: sudoer777
maintainer: git@sudoer.ch
build-type: Simple
tested-with:
GHC == 9.2.8
-- A copyright notice.
-- copyright:
-- category:
extra-source-files:
CHANGELOG.md
README.md
executable really-bad-compiler-in-haskell
executable compiler
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
other-modules:
Eval.Expression
Objects.Expression
Parser.Expression
Paths_really_bad_compiler_in_haskell
hs-source-dirs:
app
ghc-options: -threaded -Wall -j +RTS -A32M -RTS
build-depends:
base
, megaparsec
, parser-combinators
, text
hs-source-dirs: app
default-language: Haskell2010