tree-sitter-norg

Crates.iotree-sitter-norg
lib.rstree-sitter-norg
version0.1.1
sourcesrc
created_at2023-03-11 14:40:52.094469
updated_at2023-03-11 18:30:10.838235
descriptionNorg grammar for the tree-sitter parsing library
homepage
repositoryhttps://github.com/nvim-neorg/tree-sitter-norg2
max_upload_size
id807311
size14,432,436
(vhyrro)

documentation

README

Treesitter parser for Norg

This repository is an attempt at building on the initial tree-sitter-norg parser in order to both decrease the size and increase the speed of the parser.

Upgrades from the old parser include:

  • Grammar-based -- the old parser almost entirely relied on a C++ scanner.cc, which hindered error handling and parsing efficiency.
  • Lightweight - the parser weights 4x less than the first generation parser, greatly thanks to a smarter design and a heavier reliance on the grammar.

Thanks to its smaller size, the parser should be embeddable almost anywhere.

Commit count: 92

cargo fmt