From: Ryan Davis Date: 2012-01-18T13:07:02+09:00 Subject: Re: Which library to write a parser On Jan 17, 2012, at 19:18 , thomas carlier wrote: > Which one will you recommend for a simple grammar like > > expressions : expression+ > ; > expression : [{]content+[}] > ; > content : token > | TOKEN[|]content > |TOKEN[|]expression > ; > TOKEN : .* > ; > > The grammar is not correct, but you'll understand the main idea > > Example : some text {text {text|text}} some text {text|text|text} > > input size [100 - 5000] chars Write your own by hand. It'll be faster and smaller than anything mentioned above. http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf