PolyCore is a parser and type checker for a simple functional languaje. The ourput is the parsed program and the type check result.
Pre Requisite
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
Setup
$ . ~/.bashrc
$ stack setup
$ stack update
$ stack install haskell-dap ghci-dap haskell-debug-adapter
Build
$ stack clean --full
$ stack build
-
https://gitlab.haskell.org/ghc/ghc/blob/master/docs/core-spec/core-spec.pdf
-
https://repository.brynmawr.edu/cgi/viewcontent.cgi?article=1014&context=compsci_pubs
-
https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/fc
-
https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/core-syn-type