#parser #incremental #deb822

tree-sitter-deb822

deb822 grammar for the tree-sitter parsing library

2 unstable releases

0.2.1 Jun 30, 2023
0.2.0 Jun 30, 2023
0.1.0 Jun 22, 2023

#279 in Text editors

Download history 40/week @ 2024-02-24 3/week @ 2024-03-02 2/week @ 2024-03-09 38/week @ 2024-03-30 3/week @ 2024-04-06 48/week @ 2024-04-13

89 downloads per month

MIT license

26KB
729 lines

tree-sitter-deb822

Debian 822 configuration grammar for tree-sitter.

References


lib.rs:

This crate provides deb822 language support for the tree-sitter parsing library.

Typically, you will use the language function to add this language to a tree-sitter Parser, and then use the parser to parse some code:

let code = "";
let mut parser = tree_sitter::Parser::new();
parser.set_language(tree_sitter_deb822::language()).expect("Error loading deb822 grammar");
let tree = parser.parse(code, None).unwrap();

Dependencies

~2.7–4MB
~72K SLoC