Hi,
according to PRParagraphTest#testParseSpare, a blank line in the input
should produce an empty paragraph... I'd prefer something like in
LaTeX where linefeeds are like spaces but blank lines separate
paragraphs...
In fact I'm trying to adapt a CSS to Pier, but the environment is
parsed as a paragraph:
PRDocumentParser parse: '<div>foo</div>' "returns a
PRParagraph"
So the html output is incorrect---well, it's legal HTML but it doesn't
mean much semantically to have everything in a <p>...
Also, is it really simpler to use SmaCC than to write a recursive
descent parser (sort of reversed Interpreter pattern)? Granted, only
writing the grammar is cool, but how do you debug an LALR transition
table? (I feel trollish asking that, but I just want your
opinion/experience(s))
--
Damien Pollet
type less, do more