[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New user, seeking example
From: |
Markus W. Weißmann |
Subject: |
Re: New user, seeking example |
Date: |
Wed, 2 Sep 2009 11:26:07 +0200 |
Hi Dave,
On 2 Sep 2009, at 10:17, Dave Pawson wrote:
Hi.
New to Bison, Flex.
All the tutorials, examples seem to use some variant on a calculator.
I'm parsing a wiki file. Basically plain text with block and inline
markup,
to transform to XML.
Are there any examples of Bison rules which parse this class of
input please,
that I could learn from?
There is a wiki grammar described in this paper [1]; it is for ANTLR
afair, but as ANTLR is just a LL parser generator, a transformation
should be rather easy.
Regards,
-Markus
[1] http://portal.acm.org/citation.cfm?id=1324964
--
Markus Weißmann, M.Sc.
Institut für Informatik
Technische Universität München
Raum 03.07.059, Boltzmannstr. 3, 85748 Garching