#parser

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

#1299 in Parser implementations

50 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.8–4MB
~73K SLoC