From 3b85d64206d232d12864ec46a8b8d42fe6b464bb Mon Sep 17 00:00:00 2001 From: jwansek Date: Sun, 24 Oct 2021 16:08:45 +0100 Subject: updated readme and makefile --- code/simpleSableCCCalulator/README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'code/simpleSableCCCalulator/README.md') diff --git a/code/simpleSableCCCalulator/README.md b/code/simpleSableCCCalulator/README.md index 4c75421..4878685 100644 --- a/code/simpleSableCCCalulator/README.md +++ b/code/simpleSableCCCalulator/README.md @@ -12,6 +12,8 @@ You produce a lexer and parser by running the sablecc .jar file you can download `javac sableCCCalculator/*.java` +I setup a makefil that can be used. First make sure that sablecc is extracted in the directory below `EsotericProject` and just run `make`. + Then we can run the program. For now it only works by reading files. There are some example maths questions in the examples folder: `java sableCCCalculator.Compiler examples/maths.txt` -- cgit v1.2.3