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 f73d3aa5d7
feat(parser): Add support for parsing function pointer types
Notably these diverge from rust, by requiring argument names. This is a
deliberate design decision, as it help users to guess what's going to be
passed into their callback.
2024-03-26 17:34:53 +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 feat(parser): Add support for parsing function pointer types 2024-03-26 17:34:53 +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.