Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 664 Bytes

README.rst

File metadata and controls

26 lines (16 loc) · 664 Bytes

Topaz

An implementation of the Ruby programming language, in Python, using the RPython VM toolchain. It's goals are simplicity of implementation and performance.

You'll need to have RPly installed. You can get it with pip install -r requirements.txt.

To run the tests:

$ py.test

To translate, first make sure the PyPy source is on your PYTHONPATH, then run:

$ /path/to/pypy/src/pypy/translator/goal/translate.py -Ojit targettopaz.py

This will compile Topaz with a JIT, it'll take 5-10 minutes.

To run Topaz directly on top of Python you can do:

$ python -m topaz /path/to/file.rb