🕷 software projects

by ryan davis



Generate smalltalk from ruby code.

Translates ruby to smalltalk using ParseTree. This project was really just a proof-of-concept to show the smalltalk community that it was trivial to do. Unfortunately, the ruby calling semantics (like splat args) don’t line up well with the smalltalk VM so most optimizations that we could take advantage of are thrown out the window. My benchmarks were about the same running on squeak as they were in ruby.

Consider this project EOL’d or at least on hold. This is still a good thing to study if you want to write your own translator from ruby to something else.

Get The Code

If you just want to use ruby2smalltalk, you can install it via RubyGems:
gem install ruby2smalltalk
Fork me on GitHub If you want to hack on ruby2smalltalk, clone it from GitHub:
git clone git://github.com/seattlerb/ruby2smalltalk

Latest Activity