2 ms·
yeah you can return a new function, but it is less easy than in lisp, or F# but in general a lot of that stuff in the article seems mundane today, you have to
by gameswithgo 8y ago
yeah you can return a new function, but it is less easy than in lisp, or F#
but in general a lot of that stuff in the article seems mundane today, you have to imagine seeing it in 1983
- omaranto 8y ago> yeah you can return a new function How?
- fasquoika 8y agoYou could do it with JIT compilation or self-modifying code. I'm not sure if there's a simpler way in C
- 3b9cd7355317f55 8y agoYou can exec a C compiler and use dlopen on the generated object file, or use libtcc[1]. https://www.bellard.org/tcc/ https://www.bellard.org/tcc/