Skip to content

Wilfred/difftastic

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date
Sep 12, 2023
May 7, 2023
Aug 25, 2022
May 7, 2023
Sep 12, 2023
Sep 12, 2023
May 7, 2023
Sep 13, 2023
May 28, 2023
May 7, 2023
May 8, 2023
May 7, 2023
May 7, 2023
May 7, 2023
May 7, 2023
May 28, 2023
May 7, 2023
May 7, 2023
May 7, 2023
May 7, 2023
May 28, 2023
Aug 25, 2022
May 28, 2023
Aug 25, 2022
May 28, 2023
Sep 13, 2023
May 7, 2023
May 7, 2023
May 28, 2023
Aug 25, 2022
May 28, 2023
Aug 25, 2022
May 28, 2023

Repository files navigation

Tree sitter grammar for Nim

A tree-sitter grammar for Nim.

The goal is to parse a superset of Nim and create a syntax tree that can be easily ingested by tools.

Notes

Generating this parser take around 7GiB of memory. Any help in reducing the parser size is appreciated.

Progress

Right now the parser is capable of parsing most of Nim, but some "advanced" constructs are not supported due to size limitation.

The parser correctness has not been thoroughly tested.

Stability

Right now the parser is in early development. Node names and structures are expected to change drastically between releases.

License

The project is licensed under the Mozilla Public License version 2.0