-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathREADME
More file actions
23 lines (14 loc) · 686 Bytes
/
README
File metadata and controls
23 lines (14 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Mino is a minimal object language.
The purpose of this project is to illustrate the construction of a
small interpreter and a small compiler for an object language.
The lexer and parser are built using sablecc-4-beta.2.
HOW TO COMPILE
==============
In order to compile Mino, you must first compile the grammar files.
java -jar path-to-sablecc-4-beta.2/lib/sablecc.jar -d src -p mino grammar/mino.sablecc
Once this is done, you can compile the java files, in the src/
directory, as you would normally.
An Eclipse project file has been included so that you can easily
import the project into Eclipse and compile it there.
On Windows, replace all the "/" above by "\".
Have fun!