12 stable releases
1.0.12 | Sep 8, 2023 |
---|---|
1.0.10 | Sep 6, 2023 |
1.0.9 | Aug 30, 2023 |
1.0.1 | Jun 11, 2023 |
0.5.2 | Jan 30, 2023 |
#137 in Text editors
293 downloads per month
102MB
1M
SLoC
@phileagleson/treesitter-poweron
About this project
This is a tree-sitter grammar for the PowerOn Programming Language. While there are still a couple issues it is pretty complete and will parse most poweron files without issues. PR's Welcome.
Screenshot
(The tree-sitter map on the side is created using Nvim Tree-sitter Playground)
lib.rs
:
This crate provides poweron 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_poweron::language()).expect("Error loading poweron grammar");
let tree = parser.parse(code, None).unwrap();
Dependencies
~2.7–4MB
~71K SLoC