5 ms·
I'm working on 0xCOFFEE, a compiler for a toy language implemented using Ruby, TreeTop and LLVM. http://github.com/meqif/0xCOFFEE http://github.com/meqif/0xCOF
by redmage 17y ago
I'm working on 0xCOFFEE, a compiler for a toy language implemented using Ruby, TreeTop and LLVM.
http://github.com/meqif/0xCOFFEE http://github.com/meqif/0xCOFFEE
It's quite fun, but I had to fork llvmruby (the ruby bindings for LLVM), since it lacked some things, like allowing access to part of the LLVM API and raising RuntimeErrors instead of segfaulting (especially because of some code mutations that heckle[1] generates).
Currently, this is just a little project to keep me busy during the past holidays and the current university exam month, but I hope to create a nice language.
[1] http://glu.ttono.us/articles/2006/12/19/tormenting-your-tests-with-heckle http://glu.ttono.us/articles/2006/12/19/tormenting-your-test...
- Dav3xor 17y agoYou need some sort of related technology called 0xDEADBEEF.
- silentbicycle 17y agoIf you want a vegetarian port, there's also 0xFA1AFE1.
- Dav3xor 17y agoThat's a 0xFA1AFE1 lot for 4 bytes.