News for hackers. Stuff that matters.
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.)

Re:Slope: A hackable hobby programming language by dgb23 on Sunday June 19, 2022 @07:03AM (#31798211)
“Trivial” is the wrong word, but it’s fairly known/common to write an embedded interpreter. The line between interpreting and just plain programming is very blurry in a lisp.
Re:Slope: A hackable hobby programming language by sparkie on Friday June 17, 2022 @07:54PM (#31785982)
You can still somewhat control evaluation with quote and/or list.