Re:Red Programming Language
by jolt42 on Wednesday May 21, 2025 @10:01AM
(#44051556)
Lisps don't support OO, concurrency like Go, or type checking but you can write a DSLs for them. Not useful? How about a rules engine?
[ Parent
| on HN ]
Lisps support OO like you wouldn’t believe: https://lispcookbook.github.io/cl-cookbook/clos.html
Re:Red Programming Language
by bunderbunder on Wednesday May 21, 2025 @05:03PM
(#44056305)
You could write DSLs for them, but you could just as easily do it within the existing syntax. Which is exactly how all the popular lisp implementations of OO, concurrency and type checking work in practice.
Many of them do use macros. But that's not about creating a special language; that's about moving expensive computations and checks that can be done statically to compile time where they belong.