The Shard language library
This is the main library of the Shard language.
Building from source
Requirements
- CMake 3.8
- C++17 compiler
Build
$ mkdir build && cd build $ cmake .. $ cmake --build .
CMake options
SHARD_BUILD_AST
- Build AST part.SHARD_BUILD_INTERPRETER
- Build language interpreter library.SHARD_BUILD_PARSER
- Build parser.SHARD_BUILD_TOKENIZER
- Build tokenizer.SHARD_BUILD_TESTS
- Build unit tests.SHARD_COVERAGE
- Enable code coverage analysis (requiresSHARD_BUILD_TESTS
).SHARD_BUILD_TOOLS
- Build language tools.