2013-05-31 21:36:22 +02:00
|
|
|
# Requirements
|
|
|
|
|
- LLVM 3.2
|
2013-06-02 08:52:18 +02:00
|
|
|
- A recent C and C++ compiler
|
2013-05-31 21:36:22 +02:00
|
|
|
- CMake 2.6 or newer
|
|
|
|
|
|
|
|
|
|
# Used Libraries
|
2013-06-01 22:43:28 +02:00
|
|
|
- lemon parser (from sqlite) (grammar/*.c)
|
|
|
|
|
- lexertl (http://www.benhanson.net/lexertl.html) (inc/lexertl/*)
|
2013-06-02 08:52:18 +02:00
|
|
|
|
|
|
|
|
# How to build
|
|
|
|
|
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
|
|
|
|
cmake ..
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
# How to run the interpreter
|
|
|
|
|
simply run
|
|
|
|
|
|
|
|
|
|
./scully
|
|
|
|
|
|
|
|
|
|
and type in your program, you can use
|
|
|
|
|
|
|
|
|
|
rlwrap ./scully
|
|
|
|
|
|
|
|
|
|
for more input awesomeness. (http://utopia.knoware.nl/~hlub/rlwrap/#rlwrap)
|