-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modules moved into config/modules/ folder and Makefile for Windows added
- Loading branch information
1 parent
f9918c8
commit bfcbdbc
Showing
51 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
build: lib scanner parser | ||
javac -d build source/*.java | ||
|
||
lib: | ||
javac -d build modules/java_cup/*.java | ||
javac -d build modules/java_cup/runtime/*.java | ||
|
||
scanner: | ||
java -classpath ./build -jar modules/jflex/jflex-full-1.8.2.jar source/scanner.jflex -d source | ||
|
||
parser: | ||
java -classpath ./build java_cup.Main -destdir source -parser Parser source/parser.cup | ||
|
||
clean: | ||
del /f/r/s source\*.java | ||
del /f/r/s source\*.*~ | ||
del /f/r/s build/* | ||
|
||
init: | ||
mkdir source build modules | ||
touch source/scanner.jflex source/parser.cup | ||
|
||
run: | ||
java -classpath ./build Parser input.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters