Added batch files for testing and generating grammar classes.
This commit is contained in:
parent
9ee1c044c2
commit
2c61c67f98
4 changed files with 9 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -9,9 +9,6 @@ bin/
|
|||
# generated types
|
||||
generated/
|
||||
|
||||
# batch files
|
||||
*.bat
|
||||
|
||||
# testing
|
||||
test.sun
|
||||
test.sb
|
||||
|
|
3
generate.bat
Normal file
3
generate.bat
Normal 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
3
parse.bat
Normal file
|
@ -0,0 +1,3 @@
|
|||
@echo off
|
||||
java -jar grammatica.jar "sunscript.grammar" --parse "test.sun"
|
||||
pause
|
3
tokenize.bat
Normal file
3
tokenize.bat
Normal file
|
@ -0,0 +1,3 @@
|
|||
@echo off
|
||||
java -jar grammatica.jar "sunscript.grammar" --tokenize "test.sun"
|
||||
pause
|
Loading…
Reference in a new issue