"Ævar Arnfjörð Bjarmason" <avarab(a)gmail.com> wrote in message
news:51dd1af8050512052238732cc4@mail.gmail.com...
To continue the discussion Andrew started on the ticks
this is the
dilema with the current syntax Is that we can't easily guarentee that
''' always starts a bold segment.
* Current syntax: '''italic''plain =>
'<i>italic</i>plain
* Proposed syntax: '''italic''plain =>
<b>italic<i>plain</i></b>
* Previous behaviour with new syntax:
<nowiki>'</nowiki>''italic''plain
and:
* Current syntax: ''''foo => '<b>foo</b>
* Proposed syntax: ''''foo => ''''foo (four standalone
ticks would be
undefined)
This would make parsing alot easier.
I was wondering whether we could define a [[en:Parsing expression grammar]]
which could then be made into a [[en:Packrat parser]].
As far as I can tell from those articles, and the references therein, this
would help a great deal.
--
Phil
[[en:User:Phil Boswell]]