[antlr-interest] Re: interactive envionments and non-delayed rule reduction

Monty Zukowski monty at codetransform.com
Tue Aug 3 19:46:25 PDT 2004


Then my suggestion will work.  Parse a single line, if it fails wait 
for the next line, put them together and try again.

Monty

ANTLR & Java Consultant -- http://www.codetransform.com
ANSI C/GCC transformation toolkit -- 
http://www.codetransform.com/gcc.html
Embrace the Decay -- http://www.codetransform.com/EmbraceDecay.html

On Aug 3, 2004, at 11:48 AM, Neurosurg wrote:

> --- In antlr-interest at yahoogroups.com, Monty Zukowski <monty at c...> 
> wrote:
>> What do you do if they type this?
>>
>> (3 + 4)
>>    *5
>
> (3+4) ==> reduce, and calculate
>
> then
>
> *5 --> error
>
> It is very similar to what we have in R or, say, in Scheme.
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list