#parser #incremental #august

tree-sitter-august

August grammar for the tree-sitter parsing library

5 releases

new 0.0.5 Apr 23, 2024
0.0.4 Jan 19, 2024
0.0.3 Jan 19, 2024
0.0.2 Sep 28, 2023
0.0.1 Sep 28, 2023

#174 in Text editors

Download history 13/week @ 2024-01-13 2/week @ 2024-01-20 3/week @ 2024-02-17 10/week @ 2024-02-24 17/week @ 2024-03-30 167/week @ 2024-04-13

184 downloads per month

MIT license

40KB
1.5K SLoC

C 1K SLoC JavaScript 56 SLoC Rust 32 SLoC // 0.4% comments Scheme 18 SLoC

This crate provides august 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_august::language()).expect("Error loading august grammar");
let tree = parser.parse(code, None).unwrap();

Dependencies

~2.7–4MB
~71K SLoC