This repository has been archived on 2024-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
trixy/trixy-parser
Benedikt Peetz b6799877bb
feat(trixy-parser): Adapt Trixy to be a complete subset of rust
This changes two important things:
- Firstly it renames the `nasp` keyword to `mod`:
        This change removes the not required deviation from rust.
- Secondly it removes the semicolon after an enumeration or structure
  declaration, which is pointless in these positions.
2024-02-17 19:54:43 +01:00
..
docs feat(trixy-parser): Adapt Trixy to be a complete subset of rust 2024-02-17 19:54:43 +01:00
example feat(treewide): Add broken Vec<E>, Result<T,E> and Option<T> types to c api 2023-12-28 10:28:58 +01:00
src feat(trixy-parser): Adapt Trixy to be a complete subset of rust 2024-02-17 19:54:43 +01:00
.gitignore chore(treewide): Move the trixy subcrates under one trixy crate 2023-12-26 12:14:08 +01:00
Cargo.toml chore(treewide): Move the trixy subcrates under one trixy crate 2023-12-26 12:14:08 +01:00
README.md chore(treewide): Move the trixy subcrates under one trixy crate 2023-12-26 12:14:08 +01:00
generate_docs chore(treewide): Move the trixy subcrates under one trixy crate 2023-12-26 12:14:08 +01:00

README.md

trixy-lang_parser

This crate contains a parser (and lexer) for the Trixy language. The corresponding grammar is in the grammar file here encoded in Extended Backus-Naur Form.

Testing

A binary (trixy-parser) exists, which provides easy access to the different library parsing steps

Docs

Run ./generate_docs to turn the grammar file into railroad diagrams.