Toon Moene <toon@moene.indiv.nluug.nl> wrote in message news:02-01-148...> Tomek Zielonka wrote:>> [ ... snip ... ]>> > [Back in the 1970s, languages with extensible syntax led to write-only> > code with no two programs using the same syntax. Have they solved that> > problem? -John]>> I thought Perl was the solution to that problem ?>> "There's more than one way to do it" (TM).

Forth's syntax is basically no syntax. Words can be executed as soon
as parsed, unless the particular word does some parsing. You can at
any time extend the parser. Forth also has no lexer. Tokens are
whitespace-delimited, period. I adhere to that in my stuff. To put it
another way, punctuation is words. ( is the same class of thing as
OPEN-FILE.

Forth is postfix. What that really means is that numbers are verbs;
put yourself on the stack. Seen that way, that's no syntax. That's
"words occur when parsed".