diff --git a/.gitignore b/.gitignore index d62a700..5790e94 100644 --- a/.gitignore +++ b/.gitignore @@ -9,9 +9,6 @@ bin/ # generated types generated/ -# batch files -*.bat - # testing test.sun test.sb diff --git a/generate.bat b/generate.bat new file mode 100644 index 0000000..5c69e02 --- /dev/null +++ b/generate.bat @@ -0,0 +1,3 @@ +@echo off +java -jar grammatica.jar "sunscript.grammar" --csoutput ".\generated" --csnamespace "arookas" --csclassname "__sun" +pause diff --git a/parse.bat b/parse.bat new file mode 100644 index 0000000..3c65fd2 --- /dev/null +++ b/parse.bat @@ -0,0 +1,3 @@ +@echo off +java -jar grammatica.jar "sunscript.grammar" --parse "test.sun" +pause diff --git a/tokenize.bat b/tokenize.bat new file mode 100644 index 0000000..a8445f6 --- /dev/null +++ b/tokenize.bat @@ -0,0 +1,3 @@ +@echo off +java -jar grammatica.jar "sunscript.grammar" --tokenize "test.sun" +pause