1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 17:59:10 +03:00
semantic/semantic-core
Patrick Thomson d9f88fc046 Add a CHECK-TREE directive and simplify esoteric jq tests.
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.
2019-09-18 18:07:43 -04:00
..
src Add a CHECK-TREE directive and simplify esoteric jq tests. 2019-09-18 18:07:43 -04:00
test Rename User to Name. 2019-08-06 11:18:54 -04:00
LICENSE Copy in the semantic-core sources. 2019-06-03 11:34:15 -04:00
README.md Copy in the semantic-core sources. 2019-06-03 11:34:15 -04:00
semantic-core.cabal Remove tree-sitter dependency from semantic-core. 2019-09-18 13:49:04 -04:00
Setup.hs Copy in the semantic-core sources. 2019-06-03 11:34:15 -04:00

semantic-core

Semantic core intermediate language (experimental)

Development

This project consists of a Haskell package named semantic-core. The librarys 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