Switch package data from cabal to stack
parent
ae191c71dd
commit
71f726fce6
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Reference in New Issue