Source

lang-ook /

Filename Size Date modified Message
samples
807 B
470 B
3.5 KB
3.4 KB
3.7 KB
2.7 KB
README
=======

Translate
-----------

$ python ook.py <input ook file>
$ python ${PYPY_REPOSITORY_ROOT}/pypy/translator/goal/translate.py ook.py
./ook-c <input ook file>
$ python ${PYPY_REPOSITORY_ROOT}/pypy/translator/goal/translate.py --opt=jit ook-jit.py
./ook-jit-c <input ook file>
$ python ${PYPY_REPOSITORY_ROOT}/pypy/translator/goal/translate.py --opt=jit ook-jit2.py
./ook-jit2-c <input ook file>

$ python ${PYPY_REPOSITORY_ROOT}/pypy/translator/goal/translate.py --opt=jit ook-jit-debug.py
./ook-jit-debug-c <input ook file>

Run with output log file
-------------------------
PYPYLOG=<log file> ./ook-jit-debug-c <input ook file>

$ python ${PYPY_REPOSITORY_ROOT}/pypy/translator/goal/logparser.py draw-time <log file> <output.png fike>


java -noverify -jar sample-jvm.jar ../samples/hanoi.ook