$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Comparison boost spirit and ANTLR
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2013-05-29 08:32:08
On 27/05/13 20:06, Olivier Austina wrote:
>
> Hi,
>
> I would like to choose a parser.
>
> I would like to use a parser for text processing (natural language
> text). Which parser is suited in this case. In general which are the
> benefit to use boost spirit instead of ANTLR or ANTLR instead of boost
> spirit. Thank you.
ANTLR is LR, Spirit is LL.
Spirit is embedded in C++, ANTLR is a separate preprocessor.
Spirit is slow to compile and isn't very efficient at runtime, but it's
fairly nice to use once you get used to it.