Added batch files for testing and generating grammar classes.

This commit is contained in:
arookas 2015-12-07 10:04:03 -05:00
parent 9ee1c044c2
commit 2c61c67f98
4 changed files with 9 additions and 3 deletions

3
.gitignore vendored
View file

@ -9,9 +9,6 @@ bin/
# generated types
generated/
# batch files
*.bat
# testing
test.sun
test.sb

3
generate.bat Normal file
View file

@ -0,0 +1,3 @@
@echo off
java -jar grammatica.jar "sunscript.grammar" --csoutput ".\generated" --csnamespace "arookas" --csclassname "__sun"
pause

3
parse.bat Normal file
View file

@ -0,0 +1,3 @@
@echo off
java -jar grammatica.jar "sunscript.grammar" --parse "test.sun"
pause

3
tokenize.bat Normal file
View file

@ -0,0 +1,3 @@
@echo off
java -jar grammatica.jar "sunscript.grammar" --tokenize "test.sun"
pause