News for hackers. Stuff that matters.
Re:I Just Can't Kick Lisp by munch117 on Tuesday October 04, 2022 @12:32PM (#33082794)
> Even though (let (x 5) (* x x)) is wrong, it parses.

That's not the definition of syntax.

If you're implementing a compiler, then you might use "syntax" as a shorthand for those parts of the syntax that are processed in a particular "syntax checking" stage of the compiler. But that's not all it is.

> From looking at the use, I don't know whether it is valid shape for f

That, on the other hand, is close to a definition of syntax: The rules for what has a valid shape and what doesn't.

There are no comments on this comment yet.