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 25d03a3dd5
docs(parser/examples): Add various examples (also the trinitrix main api)
2024-03-24 20:07:53 +01:00
..
docs feat(parser): Add support for parsing function pointer types 2024-03-24 19:35:09 +01:00
example docs(parser/examples): Add various examples (also the trinitrix main api) 2024-03-24 20:07:53 +01:00
src test(parser/checked/test): Update test case 2024-03-24 20:07:13 +01:00
.gitignore chore(treewide): Move the trixy subcrates under one trixy crate 2023-12-26 12:14:08 +01:00
Cargo.toml fixup! feat(parser/lexing): Desugger doc comments by running a regex on the file 2024-03-24 19:18:23 +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.