Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiments with AST representations #1

Closed
wants to merge 10 commits into from
Prev Previous commit
Next Next commit
Add evaluationg with memoization of WHNF
  • Loading branch information
fizruk committed Feb 20, 2021
commit 9b0f9a03cfaff355a9caf2bd3a53534102f7118c
3 changes: 2 additions & 1 deletion rzk/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ github: "fizruk/rzk"
license: BSD3
author: "Nikolai Kudasov"
maintainer: "nickolay.kudasov@gmail.com"
copyright: "2020 Nikolai Kudasov"
copyright: "2020-2021 Nikolai Kudasov"

extra-source-files:
- README.md
Expand Down Expand Up @@ -34,6 +34,7 @@ dependencies:
- prettyprinter
- prettyprinter-ansi-terminal
- ansi-terminal
- hashable

library:
source-dirs: src
Expand Down
14 changes: 10 additions & 4 deletions rzk/rzk.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: 377d77461ef09bbb3140b2714aef9a45be530905fd1e4b0dccbea665ac85bc38
-- hash: 19633eb32342102057b2c107aed4c10bb65d863dc5e13269ee3dd4e7f9928628

name: rzk
version: 0.1.0.0
Expand Down Expand Up @@ -48,10 +48,12 @@ library
src
ghc-options: -Wall -fno-warn-type-defaults -O2
build-depends:
ansi-terminal
MemoTrie
, ansi-terminal
, base >=4.7 && <5
, bound
, deriving-compat
, hashable
, mtl
, parsers
, prettyprinter
Expand All @@ -69,10 +71,12 @@ executable rzk
app
ghc-options: -Wall -fno-warn-type-defaults -O2 -threaded -rtsopts -with-rtsopts=-N
build-depends:
ansi-terminal
MemoTrie
, ansi-terminal
, base >=4.7 && <5
, bound
, deriving-compat
, hashable
, mtl
, parsers
, prettyprinter
Expand All @@ -92,10 +96,12 @@ test-suite rzk-test
test
ghc-options: -Wall -fno-warn-type-defaults -O2 -threaded -rtsopts -with-rtsopts=-N
build-depends:
ansi-terminal
MemoTrie
, ansi-terminal
, base >=4.7 && <5
, bound
, deriving-compat
, hashable
, mtl
, parsers
, prettyprinter
Expand Down
Loading