On Wed, 02 Mar 2022, Blake Shaw <bl...@nonconstructivism.com> wrote: > Next week I will start working on my installation /Scribble Jam/ for > iLight Singapore[2], and I'm planning to do it all in Guile OpenGL + > GLSL. I've started fiddling with Guile OpenGL and it seems pretty > complete and performant (I haven't experienced any GC hiccups from the > small stress tests I've put it through, but its still only minor > stuff).
> There is still a chance I might choose to create a Guile > interface to a subset of the C++ OpenFrameworks[3] library FFI for C++ is a real pain to do. You can't juste use plain Scheme (at least I don't know how for C++). If you go that route, I have C++ templates that can help you for the glue between Scheme and C++ (e.g. std::vector, std::map, std::string). > Also, one last thing, I'm considering attempting to create a DSL that > compiles to a subset of GLSL like Chicken's GLLS library[4], as I'm > becoming more and more interested in compilation. I remember reading > somewhere about a Guile library that allows you to write C in Guile, I think you are refering to <http://sph.mn/computer/guides/c/c-indent.html>. There's also <https://www.nongnu.org/nyacc/> that can be helpful if you're familiar with LALR(1) parsers. Regards, old -- Olivier Dion Polymtl