Re:Slope: A hackable hobby programming language
by dgb23 on Friday June 17, 2022 @06:22PM
(#31785179)
Meta programming is still “trivial” (for the lack of a better word) in a lisp without using macros.
Re:Slope: A hackable hobby programming language
by andsoitis on Friday June 17, 2022 @07:41PM
(#31785890)
> Meta programming is still “trivial” (for the lack of a better word) in a lisp without using macros
is there not a whole class of problems that are not trivial if you cannot control evaluation of forms / expressions? this is one of the things (non-reader) macros provide.
Re:Slope: A hackable hobby programming language
by a1369209993 on Friday June 17, 2022 @08:56PM
(#31786362)
> if you cannot control evaluation of forms / expressions
Assuming quote works, you can do:
(eval (macro-expand '(
# rest of file goes here
)))
which I think technically meets the standards for "trivial", albeit annoying.(Edit: Although it'd have to be eval-with-macro-expand if you want proper first-class macros.)
Correct me if I'm wrong, but it's missing one vital lisp feature for making it actually hackable: macros!
Couldn't find anything about it in the docs and couldn't search the source code for it either, via their git webpage either.