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

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

[Octave-bug-tracker] [bug #41032] Command function parsing: does handle


From: Michael C. Grant
Subject: [Octave-bug-tracker] [bug #41032] Command function parsing: does handle certain patterns involving commas as parentheses
Date: Mon, 30 Dec 2013 16:15:24 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11

Follow-up Comment #9, bug #41032 (project octave):

The command "syms.m" function in the Symbolic Math Toolbox
(http://www.mathworks.com/help/symbolic/syms.html) relies on the ability to
accept arguments in a function declaration form; e.g.


f(x1,x2,x3)


and it parses its arguments with standard MATLAB code (find,regexp,etc.) My
expressions can potentially be more complex than this: I allow expressions in
those argument positions, which are evaluated in the parent workspace. But I
don't try to do anything too intelligent: I just break apart the argument list
by commas and evaluate each resulting token.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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