Skip to content

Switch to new specification format

Ben Fiedler requested to merge new-spec-format into main

The new specification format allows us to decouple specifications from the compiler itself, making specs more modular and readable.

Expressing complicated specifications might still need the full capabilities of Rust, and is still possible.

The PEG grammar for files is described in 'src/grammar.pest'. The PEG format was chosen because it is relatively simple to read and modify.

Documentation for the new spec format will be provided in a separate merge request.

Merge request reports

Loading