Boost logo

Boost Users :

Subject: Re: [Boost-users] Spirit with UI Tools
From: Joel de Guzman (djowel_at_[hidden])
Date: 2014-11-03 01:38:45


On 11/2/14, 9:48 PM, Philipp Kraus wrote:
> Hello,
>
> I would like to create a small parser with Boost.Spirit. I have run the short examples and everything works well, so I would like to create my own LL grammar.
> In my case I need also for documentation a EBNF or something else and in the best case I can would like to create the EBNF first and transform this into the Spirit LL grammar code.
>
> Did you know any tools to do this? My first idea is to use AntLR to create the grammar but imho it creates a LR grammar. Can you recommend a tool to define the grammar
> structure and generate the Spirit code?

No, ANTLR is recursive descent. You can use it. ANTLR means,
ANother Tool for Language Recognition. Don't be mislead by the
LR suffix.

Regards,

-- 
Joel de Guzman
http://www.ciere.com
http://boost-spirit.com
http://www.cycfi.com/

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net