News for hackers. Stuff that matters.
Re:Koto Programming Language by mostafah on Saturday March 29, 2025 @09:07AM (#43515230)
Very cool. I really like the idea of implementing higher level features as extensions on top of a smaller core. I wish real scripting languages like this were more common and in use. Lua comes to mind when thinking about a generic scripting language, but even that is not that widespread.
Re:Koto Programming Language by nine_k on Saturday March 29, 2025 @12:51PM (#43516836)
I think "implementing higher level features as extensions on top of a smaller core" is a hallmark of the Lisp family. Check out Fennel [0] or Janet [1] for two different approaches. On top of everything, Fennel is 100% Lua-compatible.

[0]: https://fennel-lang.org/

[1]: https://janet-lang.org/

Re:Koto Programming Language by mostafah on Saturday March 29, 2025 @03:05PM (#43517709)
I agree. Emacs and its Emacs Lisp are one of the best examples of this design. Thank you for the links.
Re:Koto Programming Language by nine_k on Saturday March 29, 2025 @03:27PM (#43517913)
As an avid Emacs user, can't but agree :)