Hi Frédéric
> by the way, to do the 'new edit' action, I should
> parse a text not as a document but as a paragraph.
> What shall I modify in fact ?
It is possible to tell the parser to start at the different rule by
sending the message #parse:startingAt: to the class WikiParser instead
of #parse:
But maybe easier (and without modifying the parser) it would be just to
parse it as a document and then extract the paragraph from that tree:
document := WikiParser parse: aString.
paragraph := document children first.
> What is a "reduce action" ?
> How to generate generatedTables ?
For a documentation of the parser please read:
http://www.refactory.com/Software/SmaCC
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org