- Joined
- Feb 9, 2013
Just being able to drop into C code in the middle of scheme is the most boner inducing feature ever.UNHOLY MOTHER OF A THOUSAND YOUNG
All I got to show is the nanopass compiler, which is pretty cool - framework to encode languages and transformations in scheme. The idea is that compilation passes should do one thing and be well defined. Example on how you'd use it to generate C:
![]()
akeep/scheme-to-c
A small nanopass compiler from a subset of Scheme to C. (Developed for Clojure Conj 2013) - akeep/scheme-to-cgithub.com
C is dogshit, but it rules the world in Unix (and probably elsewhere idk), so you might as well have convenient access to it.
Chicken's implementation of srfi-4 can also be passed in natively to C functions, which makes implementing opengl bindings super easy.
I should get back to fucking around with opengl, come to think of it...