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

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

[Octave-bug-tracker] [bug #60882] error parsing command syntax


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #60882] error parsing command syntax
Date: Mon, 19 Jul 2021 12:48:23 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #14, bug #60882 (project octave):

I believe that is the way that Matlab parses this syntax because it doesn't
have "++" or "--" operators.  When I made the previous change, I made the
"OP=" operators special so that they are not recognized as command-style
syntax arguments but I missed others.

I believe Matlab command-style parsing depends on whitespace.  For example,
"foo - var" (expression) vs. "foo -var" (command), correct?  And the behavior
may be different at the command line vs. in a function or script.

So I'm not sure what the best solution is for providing a reasonable degree of
compatibility vs. Octave extensions to the Matlab language.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60882>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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