From: astromme <andrew.stro...@gmail.com>
Date: Tue, 31 May 2011 14:23:36 -0700 (PDT)
Local: Tues, May 31 2011 5:23 pm
Subject: Re: Left and right recursion with subtraction
After consulting the dragon book and some online resources I've come
up with group4end = Delayed()
which should associate things as expected, I think? However, this
Andrew
On May 31, 3:53 pm, Andrew Stromme <andrew.stro...@gmail.com> wrote:
> Hi there,
> A part of my parser deals with expressions matching. I'm handling operator
> add = group3 & ~symbol('+') & group4 > Add._make
> Lets assume that I am trying to parse 4 - 3 - 2 to get -1. The above grammar
> Thanks,
> Andrew You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||