[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lojban] *-no-SA-handling in PEG grammar



On Thu, Jan 06, 2011 at 06:51:08AM -0800, Robin Lee Powell wrote:
> On Thu, Jan 06, 2011 at 07:15:06AM -0700, .alyn.post. wrote:
> > There are several productions of the form *-no-SA-handling,
> > (BAI-no-SA-handling, BAhE-no-SA-handling, &c) in the Lojban PEG
> > grammar.
> > 
> > I can't see that any of these productions are referenced by other
> > productions in the grammar.  What are these rules?  It seems that
> > removing them would have no effect on the parser.
> 
> These appear to be a side effect of how SA handling used to work;
> diffs back to the version in question attached.  I've updated the
> source to remove them.
> 

After doing the same against my tree, I have discovered that the
following rules are in the same class (unreferenced productions),
but don't match the pattern '*-no-SA-handling':

  pre-zei-bu-no-SA
  zei-clause-no-SA
  bu-clause-no-SA
  BU-clause-no-SA
  BU-pre-no-SA
  LEhU-clause-no-SA
  LEhU-pre-no-SA
  ZEI-clause-no-SA
  ZEI-pre-no-SA

I believe they can be removed too.

-Alan
-- 
.i ko djuno fi le do sevzi

-- 
You received this message because you are subscribed to the Google Groups "lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lojban?hl=en.