#tree-sitter #epics #parser

tree-sitter-epics-db

tree-sitter grammar for EPICS' database and database definition files

8 releases

0.2.0 Sep 30, 2025
0.1.6 Sep 10, 2025
0.1.3 Jul 21, 2025

#1516 in Parser implementations

Download history 2/week @ 2025-10-21

616 downloads per month

MIT license

210KB
7K SLoC

C 6.5K SLoC Scheme 226 SLoC JavaScript 210 SLoC // 0.1% comments Rust 34 SLoC // 0.1% comments

This crate provides EpicsDb language support for the tree-sitter parsing library.

Typically, you will use the LANGUAGE constant to add this language to a tree-sitter Parser, and then use the parser to parse some code:

let code = r#"
"#;
let mut parser = tree_sitter::Parser::new();
let language = tree_sitter_epics_db::LANGUAGE;
parser
    .set_language(&language.into())
    .expect("Error loading EpicsDb parser");
let tree = parser.parse(code, None).unwrap();
assert!(!tree.root_node().has_error());

tree-sitter-epics-db

CI matrix npm crates pypi

A Tree-sitter parser for epics-db files.

References

Dependencies

~17–250KB