Elektrine lite

← Feed

@dsp@social.sdf.org

Post #2117679

2026-04-26 22:54 UTC

i have to praise the _insanely good_ "LISP From Nothing" book from @AverageDog once more. apart from the fact that on every page i think "i could never think or code that", it is packed with cool info. For example, when you compile scheme to C and you want to have, an instruction pointer of sorts to jump to your functions, how do you do it in a language that doesn't support computed goto without accumulating function calls? for(k=0;;) switch (k) { case 0: k=apply(...); break; case ... }

Replies (1)

  • @AverageDog@mastodon.social 2026-04-27 21:07

    @dsp@social.sdf.org Thanks for the praise and I'm glad to hear to hear that you enjoy the book! The switch for implementing control flow is not originally my idea, though! I think I discovered it in Marc Feeley's "90-minute Scheme compiler".

    Open ##2382483