Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

this is really cool! I've actually been wondering for a while what a language that's both Lisp and something concatinative would look like, but I keep getting tangled up without actually solving it. I'm going to study this one


If you want to read this, I'd suggest looking at the sources in bootstrap sequence from the readme (boot.flpc, stage0.flpc, ...). Alongside, run some of the precompiled entries by hand by pasting it into the interpreter. Call `ps` once in a while to see the current state. Then for larger chunks of code invoke breakpoints by calling `debugger()` (in a `.flpc` file) or `debugger` (in a `.f` file though this will mess up source position printing beyond this point).

And of course, feel free to just ask!


Factor is what Lisp plus something concatenative would look like.


WASM's text format looks like Lisp (it's s-expr based) and it is basically a stack-machine[1]

[1] https://blog.scottlogic.com/2018/04/26/webassembly-by-hand.h...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: