Silva aspires to be an esoteric, language-oriented programming language.
The Seed language is as a formal specification for the syntax of another language.
The Fern language is akin to JSON. Its syntax is described by the Seed program
silva::fern::seed_str (fern.hpp).
The syntax of the Seed language itself is described by the Seed program
silva::seed::seed_str (seed.hpp) and
silva::seed::seed_axe_str (seed_axe.hpp).
A parser can automatically be derived from a Seed program.
This is implemented in the class
silva::seed::interpreter_t (seed_interpreter.hpp).
pixi run test-all && echo "ALL TESTS SUCCEEDED!"eval "$( pixi shell-hook )"
PRESET=debug ; BUILD_DIR="build.default.${PRESET}/"
PRESET=release ; BUILD_DIR="build.default.${PRESET}/"
PRESET=tracy ; BUILD_DIR="build.default.${PRESET}/"
rm -rf "${BUILD_DIR}"
cmake --preset "${PRESET}"
ninja -C "${BUILD_DIR}" && time "${BUILD_DIR}/cpp/silva_test"
bash task_format_check.sh && echo "ALL FORMATTING OKAY!"
bash task_format.sh
bash task_test.sh "${PRESET}" && echo "ALL TESTS PASSED!"
bash task_test_python.sh && echo "ALL PYTHON TESTS PASSED"pixi publish --target-dir=var/