Thanks. I had it the other way around with no space because that was
dead simple to parse with strtoul() returning the nc and endptr left
pointing at the name, but your way is still easy enough to parse.
Chris
On 08/28/14 11:49, Elias Mårtenson wrote:
Thank you. I've added it, but with a small change. The format is now
NAME (space) NC
Regards,
Elias
On 28 August 2014 22:57, Chris Moller <mol...@mollerware.com
<mailto:mol...@mollerware.com>> wrote:
Hi, Elias,
I have indeed started adding a few APL-interaction features to
aplwrap, one of the first of which uses your "variables" command,
which leads me to a request: a variation in VariablesCommand.cc of
"cls = ALL" that tags the entries in the returned list with their
name classes. That makes it possible for me to get all the
non-system functions and variables in one transaction and still
differentiate between functions and variables. I've attached a
proposed patch.
Thanks,
Chris
On 08/13/14 23:28, Elias Mårtenson wrote:
Hello Chris,
I've been following the discussions about the GTK wrapper, and
while I'm not using it myself (since I work on the Emacs
integration) I realise that there are plenty of (potential)
overlaps between our projects.
In particular, I want to let you know about the Emacs mode
backchannel protocol that the mode uses for directly
communicating with the GNU APL interpreter. When started, if
gives you a simple text-based protocol through which you can do
things such as defining functions or creating listeners that send
you a message whenever a variable is changed (this is used by the
realtime variable watcher).
It would be neat if you were to consider implementing some of the
feature I added to the Emacs mode, and if you do it would be
useful if you used the same protocol as I am using.
Please let me know if you have any questions.
Regards,
Elias