• Stars
    star
    1,001
  • Rank 45,522 (Top 1.0 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created over 12 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A high performance ruby, written in RPython

Topaz

https://travis-ci.org/topazproject/topaz.svg?branch=master

Topaz is an implementation of the Ruby programming language, written in Python, using the RPython VM toolchain. Its goals are simplicity of implementation and performance.

You'll need to have a few dependencies installed. You can get them with pip install -r requirements.txt. Finally make sure you have checkout (use tag version release-2.4.0) of PyPy and have it on your PYTHONPATH.

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