[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lojban] Re: left recursion changes
- To: lojban-list@lojban.org
- Subject: [lojban] Re: left recursion changes
- From: "Jorge Llambías" <jjllambias@gmail.com>
- Date: Sun, 22 Jun 2008 20:08:27 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0PaXbvw10bCMGH6MdcNlq4SmO5OTfDsQFMiEKqQdxVQ=; b=T8FJAlN7L+o3zkwMsQUXETDELunb/ByR52JZtvJkmOifOdW4ei9vlEzGkYL8u4MEvP lMSMGl26DGM/TDvLSVYoW6RLasI4OGBYstbY9J61GuvVCJFhAmpIcII1Ny2/ryGU3XUU E10fujmWn2Ff5VXMIM4Ec/0YO6ItSzP2CzEsQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=FJ9GKrEXJY4U7AAikT6GHP7bHOV6GrLB7cmN0L2+t3jDhnUrvEtb2sCR8q84CP6Y1Y jOZ6LhFeTwmIl72TvhvxrcA/L6MSQA4PwVywZn9+VPX1rROBHxPqvAf9gjm+0EOxqOEb s6aDhC/WQrVGDZejmxoYc/vyhG36ljdFIxzsE=
- In-reply-to: <737b61f30806221515x6b48dde9w5fc9cd790011d3db@mail.gmail.com>
- References: <737b61f30806221515x6b48dde9w5fc9cd790011d3db@mail.gmail.com>
- Reply-to: lojban-list@lojban.org
- Sender: lojban-list-bounce@lojban.org
On Sun, Jun 22, 2008 at 7:15 PM, Chris Capel <pdf23ds@gmail.com> wrote:
>
> -tag <- tense-modal (joik-jek tense-modal)*
> +tag <- tag joik-jek tense-modal / tense-modal
>
> -stag <- simple-tense-modal ((jek / joik) simple-tense-modal)* /
> tense-modal (joik-jek tense-modal)*
> +stag <- stag (jek / joik) simple-tense-modal / simple-tense-modal / tag
>
> Now these two I'm not entirely sure about. But I don't think it hurts
> anything too much. On 'stag', besides the recursion I also changed the
> last option to just be a reference to 'tag', since the sequences were
> identical.
In fact, you could just do:
stag <- tag
or just remove "stag" from the grammar and replace everywhere with "tag".
The PEG eliminated the distinction that existed between them, as it was
a consequence of the LALR(1) restriction.
mu'o mi'e xorxes
To unsubscribe from this list, send mail to lojban-list-request@lojban.org
with the subject unsubscribe, or go to http://www.lojban.org/lsg2/, or if
you're really stuck, send mail to secretary@lojban.org for help.