Hi all,

[assuming it gets to the ruby-talk list w/o challenge]

Let me second the idea that whitespace should not change the meaning  
of a construct...bad enough that it's context-sensitive (and  
lexically not via flow analysis) so that foo can be a function call  
or var ref.  ick.  Syntax implies meaning, people.  Period.

Note that ANTLR semantic predicates can resolve grammar ambiguities  
by using a boolean expression at run time to resolve things depending  
on context (i.e., what's in the symbol table).  I am using Ruby as an  
example ambig language for use in an academic paper to show off the  
predicates. ;)

Terence ("antlr project lead and supreme dictator")
_______________________________________________
Rubygrammar-grammarians mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians

Reply via email to