smallbasic grammar for tree-sitter.
Developed a dedicated parser for Small Basic, an educational programming language developed by Microsoft, using Tree-sitter, an open-source parser generator and incremental parsing library.
• Analyzed the grammar of Small Basic and defined parsing rules for Tree-sitter
• Applied incremental parsing techniques to optimize performance during large-scale code modifications
[SmallBasic Parser] : https://github.com/kwanghoon/sbparser
git clone
git clone https://github.com/cosmos-1885/tree-sitter-smallbasic.git
install packages
npm install
run test
./node_modules/.bin/tree-sitter test
parsing file(smallbasic file)
./node_modules/.bin/tree-sitter parse (file path)