1.0.0 • Published 2 years ago

tree-sitter-lc2k v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

LC2K Tree-sitter Parser

This project aims to provide a parser for the LC2K/LC-2K architecture used in EECS 370 at the University of Michigan - Ann Arbor. I intend to incorporate this into a LSP client for LC2K to allow for more semantic awareness when editing LC2K files.

Building & Running

To build and run the parser, clone the repository and run the following commands:

[tree-sitter-lc2k]$ npm i
[tree-sitter-lc2k]$ export PATH=$PATH:./node_modules/tree-sitter-cli
[tree-sitter-lc2k]$ tree-sitter generate
[tree-sitter-lc2k]$ tree-sitter parse <lc2k_file>

To embed the parser in another program, refer to the Tree-sitter documentation.