mirror of
https://github.com/github/semantic.git
synced 2024-12-01 17:59:10 +03:00
d9f88fc046
Due to the problems outlined in #245, the tests for return statements were complicated and not testing useful properties. This patch adds a new `CHECK-TREE` directive which lets you embed a Core expression as a string, which is parsed and then compared against the result of compiling the containing module. |
||
---|---|---|
.. | ||
src | ||
test | ||
LICENSE | ||
README.md | ||
semantic-core.cabal | ||
Setup.hs |
semantic-core
Semantic core intermediate language (experimental)
Development
This project consists of a Haskell package named semantic-core
. The library’s sources are in src
.
Development of semantic-core
is typically done using cabal new-build
:
cabal new-build # build the library
cabal new-repl # load the package into ghci
cabal new-test # build and run the doctests