Hi,
Just to keep you up to date, Lukas provided the much needed refactorings, and now they are
integrated in the new PetitParser browser. The following actions work pretty much neatly:
- add new production
- remove production
- rename production
The next steps will be towards the management of parser classes and hopefully, their
associated tests.
It would be great to get feedback :)
Cheers,
Doru
On 7 Dec 2011, at 17:58, Tudor Girba wrote:
Hi,
On Wed, Dec 7, 2011 at 5:47 PM, Lukas Renggli <renggli(a)gmail.com> wrote:
- I missed production protocols already in the old
browser.
For now, I would like to keep it simple from the modeling of the
interaction point of view. Once the current shape is working I would look
into categories.
Fair enough, I think it is an important feature though.
- The start production is somehow missing in the
list.
Indeed, this was missing in the original browser as well :)
In the original browser you got the start production if you just selected
the class.
Right. I will think of another solution.
- Also useful would be a static tree with the
references in the leaves
I do not understand this one. Could you explain a bit more?
Just that you nest referred productions below the parent production. Gives
kind of a static navigable view of the grammar. Maybe there are better ways
to get the same, like being able to click on a production in the source
pane.
Right. This will be possible in some way. One possibility would be to
get the morphic chart to be interactive.
- There should be a button to expand the debug trace,
at least to a given
level.
Below my suggestion for the remove-production refactoring:
Cool. I will give it a try soon.
If you want I can provide some "real refactorings" using the refactoring
engine. Then we will also be able to undo/redo each action.
Definitely! (in fact, this was my secret wish :))
Cheers,
Doru
Lukas
--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Every thing has its own flow"