Ruby Port for AROS
david — Tue, 11/03/2009 - 09:06
A couple of weeks back, I had a some success with creating a port of Ruby to AROS operating system with the help from mazze of the aros-exec.org forum.
I started with a port of miniruby, which is a bootstrap ruby interpreter used in the ruby distribution compile process. This worked splendidly once mazze helped me chase down fixes for the last few missing symbols in the compile process.
Once I got that running, I started the full ruby compilation process and found that about a quarter of the native extensions compiled without modifications. Sadly 'Socket' was not one of them 
Items on my agenda for this port include:
- Porting a newer version of ruby 1.8.x
- Creating an extension to the Amiga/AROS GUI libraries 'Intuition' and 'MUI'
I had a go at porting over Mazze's SiAmiga LUA code to Ruby, but I found LUA C extensions differ somewhat from Ruby C extensions and stopped rather early. However, using a bit of botching, which I'm not particularly proud of
I managed to get a quick intuition extension written and built that opens a window. I will have a go at writing a more robust intuition extension, but this may take some time whilst I take the time to learn intuition properly. At least it will be a good learning experience as I ordered an original 'Commodore Business Machines - Amiga Intuition Reference Manual'.


