Skip to content

Wilfred/difftastic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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