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
-- 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 name: really-bad-compiler-in-haskell
version: 0.1.0.0 version: 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:
author: sudoer777 author: sudoer777
maintainer: git@sudoer.ch maintainer: git@sudoer.ch
build-type: Simple
tested-with:
GHC == 9.2.8
-- A copyright notice. executable compiler
-- copyright:
-- category:
extra-source-files:
CHANGELOG.md
README.md
executable really-bad-compiler-in-haskell
main-is: Main.hs main-is: Main.hs
other-modules:
-- Modules included in this executable, other than Main. Eval.Expression
-- other-modules: Objects.Expression
Parser.Expression
-- LANGUAGE extensions used by modules in this package. Paths_really_bad_compiler_in_haskell
-- other-extensions: hs-source-dirs:
build-depends: base ^>=4.16.4.0 app
, megaparsec >= 9.2.2 ghc-options: -threaded -Wall -j +RTS -A32M -RTS
build-depends:
base
, megaparsec
, parser-combinators , parser-combinators
, text , text
hs-source-dirs: app
default-language: Haskell2010 default-language: Haskell2010