Hi folks,

I wrote a robot which detects BNF rules like

    program ::= "begin" (statement ;)* "end" .

And plops a railroad diagram into the blip to illustrate the rule.
It kinda works.  I leave the BNF text in the blip because
I want people to be able to edit it and change the rule after
the robot has introduced the image.

The problem is that if you start to edit the rule after
you've added it, the robot will add a new image at every
keystroke without correctly deleting the old image :)
(more or less).  I tried to prevent this from
happening by deleting regions and placing annotations
to prevent duplicate operations, but it's not working (well
enough).

I made copious notes which you can browse here

http://listtree.appspot.com/firstWaveRobot

In particular you can see the "document change" callback at
this node

http://listtree.appspot.com/firstWaveRobot/wp2m4AwkOUEJ7JiniCUt0A

Please comment here or at the listtree (the password is "robot").

I may break the robot (even more) because I'm continuing to try it out
-- if you try it in a broken state, I apologize.

Thanks!  -- Aaron Watters

===
less is more

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.


Reply via email to