#tree-sitter #incremental #parser #owl-ms

tree-sitter-owl-ms

owl-ms grammar for the tree-sitter parsing library

2 releases

new 0.0.2 Oct 31, 2024
0.0.1 Oct 31, 2024

#193 in Text editors

Download history 210/week @ 2024-10-26

210 downloads per month
Used in owl-ms-language-server

MIT license

1MB
33K SLoC

C 32K SLoC JavaScript 413 SLoC // 0.0% comments Scheme 112 SLoC Rust 35 SLoC // 0.4% comments

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

Dependencies

~2.7–4MB
~75K SLoC