#parser #incremental #apachesynapse

tree-sitter-apachesynapse

apachesynapse grammar for the tree-sitter parsing library

3 releases

0.0.3 Dec 31, 2023
0.0.2 Nov 9, 2023
0.0.1 Nov 1, 2023

#181 in Text editors

Download history 4/week @ 2024-02-15 20/week @ 2024-02-22 11/week @ 2024-02-29 33/week @ 2024-03-28 17/week @ 2024-04-04 20/week @ 2024-04-11 5/week @ 2024-04-18

75 downloads per month

MIT license

1MB
37K SLoC

C 36K SLoC JavaScript 767 SLoC // 0.0% comments Rust 31 SLoC // 0.5% comments

tree-sitter-apachesynapse

WIP: tree-sitter grammer for the Apache Synapse Enterprise Service Bus (ESB) https://synapse.apache.org/


lib.rs:

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

Dependencies

~2.7–4MB
~71K SLoC