#incremental #parser #august

tree-sitter-august

August grammar for the tree-sitter parsing library

8 releases

0.0.8 Aug 31, 2024
0.0.7 Jun 26, 2024
0.0.5 Apr 23, 2024
0.0.4 Jan 19, 2024
0.0.2 Sep 28, 2023

#203 in Text editors

Download history 199/week @ 2024-08-31 1/week @ 2024-09-07 11/week @ 2024-09-14 22/week @ 2024-09-21 15/week @ 2024-09-28 2/week @ 2024-10-05

440 downloads per month

MIT license

46KB
1.5K SLoC

C 1.5K SLoC JavaScript 60 SLoC Rust 32 SLoC // 0.4% comments Scheme 20 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
~75K SLoC