News for hackers. Stuff that matters.
Re:Forth: A New Way to Program a Mini Computer (1974) by shadowofneptune on Wednesday October 12, 2022 @05:12AM (#33174588)
I am not sure what you mean. "(" and ")" as their own words form comments in Forth. As an example:

    (if (< a b)
Would be parsed completely differently from:

    ( if ( < a b )
The first will have the interpreter look up and execute the words "(if", "(<", "a", and "b)". The second will have the interpeter look up the word "(", which will skip all the text that comes before a ")".
Re:Forth: A New Way to Program a Mini Computer (1974) by timonoko on Wednesday October 12, 2022 @07:41AM (#33175511)
Of course we fix the parser too, so that ( and ) are always separate. Otherwise too ugly.