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

tree-sitter-owl-ms

owl-ms grammar for the tree-sitter parsing library

3 releases

0.0.3 Feb 13, 2025
0.0.2 Oct 31, 2024
0.0.1 Oct 31, 2024

#1474 in Parser implementations


Used in owl-ms-language-server

MIT license

1MB
34K SLoC

C 34K SLoC JavaScript 404 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
~74K SLoC