Infl is a tool to convert Ruby code into Python. Useful for those pesky programming exercises where you absolutely must turn in the code in python.
- Rubinius with Ruby 1.9 support
selfwhen accessing methods in current class
- but only in current class context
- must be defined in file prior to being referenced
- Some ruby standard library methods
- Implicit return
- Array range access
- A lot of other stuff
infland change the shebang to point to your rbx installation
infl hello.rbproduces a file in the same directory called
hello.py. Or probably crashes if you have anything remotely interesting code in your input file.