octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #37099] Parser does not accept bare '; ' as va


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #37099] Parser does not accept bare '; ' as valid input
Date: Thu, 22 Aug 2013 16:31:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

Follow-up Comment #13, bug #37099 (project octave):

Inside [], I think Matlab accepts multiple semicolons to separate new lines
but it does not allow mulitple consecutive commas.  We have no way of knowing
whether that was intentional or an accident of the implementation, but
whatever, people seem to think this is needed somehow.

The separators in matrix and cell array lists are a completely separate issue
from statement separators.

Yes, it would be great if someone other than me really understood the parser. 
I think it should be easier now.  The recent rewrite really did simplify a lot
of things.  But it is still not trivial, and you need some understanding of
bison/yacc parser generators and grammar specifications generally.  In any
case, I'm self taught in this area, so it is certainly possible to learn. 
It's also possible that my implementation could be better.

In any case, I have a couple of other things I want to do with the parser so
I'll try to take a look at the multiple separator issue soon.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37099>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]