This is a Tree-sitter parser for LC-2200 assembly, used in Georgia Tech's CS 2200 course.
At this time, it can parse all the syntax, but does not include necessary files for syntax highlighting support, since this needs to be created for each editor. PRs welcome.
Install tree-sitter-cli
with cargo install tree-sitter-cli
, npm install tree-sitter-cli
, or from here. Then clone this repo.
You can test with npm test
or tree-sitter generate && tree-sitter test
.