Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 641 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 641 Bytes

script-parser

This project contains the ANTLR-generated parser for the corto scripting language. The project contains a CortoBaseVisitor class which can be overridden to walk over the generated parser tree.

Dependencies

This project depends on:

Regenerate parser

To regenerate the parser after making changes to the Corto.g4 file, run the following commands (from the project root):

cd src
corto antlr4 -Dlanguage=Cpp -visitor Corto.g4
mv *.h ../include/