octave-maintainers
[Top][All Lists]
Advanced

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

@ ( ARG_LIST ) STATEMENT syntax


From: John W. Eaton
Subject: @ ( ARG_LIST ) STATEMENT syntax
Date: Thu, 5 Aug 2004 23:16:45 -0400

On  4-Aug-2004, I wrote:

| I started working on the
| 
|   @ ( ARG_LIST ) STATEMENT
| 
| syntax.  It is not as simple as I originally thought.

And then continued to explain some troubles in adding this feature.
Although I still don't like this syntax very much, it turns out I was
a bit too quick to condemn it as completely unworkable for Octave.  In
my initial attempt to add the new construct to parse.y, I was putting
the new non-terminal for anonymous function handles in the wrong
place.  Inserting it in a more reasonable spot in the grammar results
in only (!?) 76 additional shift/reduce conflicts, all due to
conflicts with the gplot syntax, so I hope that these will be
eliminated when we excise that from the primary parser.  Anyway, I've
checked in some changes to the CVS archive that will allow you to
define anonymous function handles now.

jwe



reply via email to

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