As you can probably tell, I'm a bit more into Ruby than the average person.
So, on a whim, I decided to check if JRuby, a JVM version of Ruby, as opposed to the C-based interpreter, could compile Ruby source to Java bytecode.
It could.
It also had things that allowed me to import Java classes to use in Ruby.
The Ruby version of my main mod file isn't up on the Github repository yet, and the Java version certainly isn't, but for when I do push it to the repo, take a look here.
At the moment, I'm restricting myself to simple blocks and items, but hopefully, once I learn enough, it will actually become feasible to write fully-featured mods in Ruby.
So, on a whim, I decided to check if JRuby, a JVM version of Ruby, as opposed to the C-based interpreter, could compile Ruby source to Java bytecode.
It could.
It also had things that allowed me to import Java classes to use in Ruby.
The Ruby version of my main mod file isn't up on the Github repository yet, and the Java version certainly isn't, but for when I do push it to the repo, take a look here.
At the moment, I'm restricting myself to simple blocks and items, but hopefully, once I learn enough, it will actually become feasible to write fully-featured mods in Ruby.