Skip to content

chrblabla/topaz

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.5%
  • Ruby 9.8%
  • Shell 0.7%