3 ms·
I'm not that fond of fancy strings myself, or things like CL's LOOP macro. I prefer real code with composable abstractions. The problem in my mind is that they'
by codr4 8y ago
I'm not that fond of fancy strings myself, or things like CL's LOOP macro. I prefer real code with composable abstractions. The problem in my mind is that they're not integrated into the host language, and therefore don't compose well with the rest.
But that being said, using a simple embedded glue/scripting language that's fully integrated into the host environment makes a lot of sense to me. Emacs Lisp, Autocad, any game engine etc. It's a tried and proven strategy.
I started writing my own glue language [0] for C++ since I couldn't find anything simple and integrated enough for my taste.
[0] https://github.com/codr4life/snabl https://github.com/codr4life/snabl
- wtetzner 8y agoIs Lua not good enough for C++?
- codr4 8y agoLua is written in C, which is a very different language these days. Snabl uses the C++ standard library all the way through, which leads to a tighter fit in C++ applications. And I have enough issues with some of Lua's design choices to rule it out either case. Everything is most definitely not a table and I want an expressive, generic and gradual type system built in.
- wtetzner 8y agoCool. Was just curious about your thoughts on it.