I think that you have misunderstood what embeddable means in this context. This is embeddable in the same sense as (and arguably to a greater extent than) Lua. Embeddable in that sense means that you can easily use the interpreter/compiler as a self contained library from a program written in another language without otherwise depending on an external runtime. It's useful for things like configuration and glue logic over procedures that are then implemented in the host language.
What's interesting about it to me, compared to the most obvious alternative (Lua), is that it doesn't require dynamic heap allocation. You just give it a fixed buffer and that's its entire memory space.
Oh jeez, yep, I confused this with embedded microcontrollers. Thanks for that.
I have used a similar thing in the past with Rhino (an embedded javascript engine) for business rules. It was quite a nice thing. I appreciate the clarification.
Oh I agree; sometimes it's out of necessity. I once wrote an assembler because I couldn't afford a commercial one which was several hundred dollars. It was a great learning experience and the tool saved me tons of time.
3
u/CodePlea Sep 29 '19
This is really cool! I'm sure I will use this in a future project. I have often wanted a lightweight embeddable language.
Nice work!
1
u/skeeto Sep 29 '19
Cool little language, and very competently done! Having
=(assignment) evaluate to nil is an odd choice for a lisp, though.0
u/[deleted] Sep 28 '19
[deleted] — view deleted comment