renggli at iam.unibe.ch
Tue Aug 3 19:21:53 MEST 2004
> 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
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:
More information about the SmallWiki