#tree-sitter #parser

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

#255 in #tree-sitter

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
~75K SLoC