4 ms·
Bones: A simple Scheme compiler for x86_64 systems
- tzar 12y agoThis is from Felix Winkelmann, who created Chicken Scheme (http://www.call-cc.org http://www.call-cc.org). Bones generates assembly instead of C like Chicken, but the choices of intermediate language (CPS) and GC (Cheney) look to be the same.
- jwr 12y agoInteresting that this should appear just as I was looking for a way to generate ARM assembly (small Cortex-M chips) using a Lisp variant. This isn't quite it, but it looks very interesting and is a step in the right direction.
- matheusbn 12y agoSame here. But I think this is not just a coincidence taking into count how popular ARM is today.
- bunny351 12y agoI'm actually planning to start an ARM port next. Considering that I'm rather inexperienced with that architecture, it may take a while, though. Any help would of course be appreciated...
- jwr 12y agoI will take a very close look and help if I'm able to.
- hetid 12y agoIs there a Scheme / Racket compiler for the LLVM yet?
- dbpokorny 12y agoThere will likely not be one, at least in the short term, as there are plenty of scheme-to-C compilers out there.
- mjn 12y agoThe "suggestions for projects" section of the manual (section 15) mentions this as a possible future extension: > Other backends, say, asm.js or LLVM. This can be quite a challenge, as these languages do not support jumps to arbitrary locations.
- dbpokorny 12y agoTop Google result for Felix: http://spin.atomicobject.com/2013/05/02/chicken-scheme-part-1/ http://spin.atomicobject.com/2013/05/02/chicken-scheme-part-...
- stewbrew 12y agoBut why? Is the work on chicken scheme finished? Does it have dead-simple ffi? Does is run on android? Does spock actually work? What's the actual advantage of bones over chicken?