4 ms·
I'd argue that Lisp has a syntax in that you do need at least a context-free grammar to describe valid Lisp programs. With Forth, on the other hand, while ther
by bunderbunder 8y ago
I'd argue that Lisp has a syntax in that you do need at least a context-free grammar to describe valid Lisp programs.
With Forth, on the other hand, while there is a rule for deciding when one word ends and another ends, and how to interpret literals, I think that, for all practical purposes, there aren't actually any strings that are syntactically invalid.
As the ANSI Forth standard puts it:
> This Standard does not require a syntax or program-construct checker.
(page 33)