- Notifications
You must be signed in to change notification settings - Fork85
A high performance ruby, written in RPython
License
NotificationsYou must be signed in to change notification settings
topazproject/topaz
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Topaz is an implementation of the Ruby programming language, written in Python,using the RPython VM toolchain. Its goals are simplicity of implementation andperformance.
You'll need to have a few dependencies installed. You can get them withpipinstall -r requirements.txt
. Finally make sure you have checkout (use tag version release-2.4.0) ofPyPy and have it on yourPYTHONPATH
.
To run the tests:
$ py.test
To translate run:
$ /path/to/pypy/src/rpython/bin/rpython -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