/shard

Core library for shard language. Includes all the necessary components like tokenizer or interpreter.

Primary LanguageC++GNU Affero General Public License v3.0AGPL-3.0

The Shard language library

This is the main library of the Shard language.

Contributors

license

Build Status

Issues ClosedIssues

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 (requires SHARD_BUILD_TESTS).
  • SHARD_BUILD_TOOLS - Build language tools.