New user, seeking example

2009-09-02 Thread Dave Pawson
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?

Re: New user, seeking example

2009-09-02 Thread Markus W. Weißmann
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 p

Re: New user, seeking example

2009-09-02 Thread Dave Pawson
2009/9/2 "Markus W. Weißmann" : > 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. Requires an ACM web account Markus? regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http:

Re: New user, seeking example

2009-09-02 Thread Markus W. Weißmann
Yes, it does. You can find the plain grammars on the net though, e.g. here: http://dirkriehle.com/wiki-creole/ (just search for ANTLR wiki creole) Regards, Markus -- Markus Weissmann On Sep 2, 2009, at 11:39, Dave Pawson wrote: 2009/9/2 "Markus W. Weißmann" : There is a wiki grammar desc

Re: New user, seeking example

2009-09-02 Thread Dave Pawson
2009/9/2 "Markus W. Weißmann" : > Yes, it does. You can find the plain grammars on the net though, e.g. here: > http://dirkriehle.com/wiki-creole/ > (just search for ANTLR wiki creole) Thanks. Loading them into Antlr doesn't give me much encouragement Markus. 516 errors reported. Quite a bit to