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 0a6159ef86
test(parser/checked/test): Update test case
2024-03-26 17:35:00 +01:00
..
docs feat(parser): Add support for parsing function pointer types 2024-03-26 17:34:53 +01:00
example style(treewide): Reformat with treefmt (`nix fmt`) 2024-02-19 20:53:11 +01:00
src test(parser/checked/test): Update test case 2024-03-26 17:35:00 +01:00
.gitignore chore(treewide): Move the trixy subcrates under one trixy crate 2023-12-26 12:14:08 +01:00
Cargo.toml feat(parser/lexing): Desuger doc comments by running a regex on the file 2024-03-26 17:34:44 +01:00
README.md style(treewide): Reformat with treefmt (`nix fmt`) 2024-02-19 20:53:11 +01:00
generate_docs chore(treewide): Add the new license header 2024-02-19 16:13:55 +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.