comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@futureapps.de>
Subject: Re: about OpenToken
Date: Tue, 13 Dec 2005 03:58:32 +0100
Date: 2005-12-13T03:54:30+01:00	[thread overview]
Message-ID: <1134442712.20138.8.camel@sonnenregen> (raw)
In-Reply-To: <439e0f5e$0$4338$626a54ce@news.free.fr>

On Tue, 2005-12-13 at 01:01 +0100, Lionel Draghi wrote:
> Lionel Draghi a écrit :
> ...
> > For the future, it may be interesting to compare OpenToken with similar 
> > library like ANTLR (http://www.antlr.org/).
> 
> Closer to OpenToken than ANTLR is Spirit (http://spirit.sourceforge.net/).
> 
> Spirit is addressing moderately complex grammars, inlined in the C++ 
> code, and seems to be easy to use (as far as I can undestand C++ code).
> 

If you consider Spirit, have a look at GNAT.Spitbol.Patterns.
Plain Ada (GNAT actually), and easy to use in my view.

"The pattern language is modeled on context free grammars,
with context sensitive extensions that provide full (type 0)
computational capabilities." (g-spipat.ads)

That's actually more than Spirit can offer unless things have
changed. The notation is fairly concise, permits assignment
of matched substrings and subprogram calls while the
scanner is moving (back and forth).


-- Georg 






      reply	other threads:[~2005-12-13  2:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-10 23:54 about OpenToken Lionel Draghi
2005-12-11 11:00 ` Dmitry A. Kazakov
2005-12-11 18:23   ` Lionel Draghi
2005-12-11 19:01     ` Dmitry A. Kazakov
2005-12-11 20:35       ` Stephen Leake
2005-12-11 23:01       ` Lionel Draghi
2005-12-12 13:18         ` Dmitry A. Kazakov
2005-12-12 14:39         ` Marc A. Criley
2005-12-12 23:25           ` Lionel Draghi
2005-12-11 13:14 ` Stephen Leake
2005-12-11 18:11   ` about OpenToken example compilation error Lionel Draghi
2005-12-11 20:56     ` Stephen Leake
2005-12-11 23:04       ` Lionel Draghi
2005-12-11 18:41   ` about OpenToken Lionel Draghi
2005-12-11 20:49     ` Stephen Leake
2005-12-12 19:04       ` Martin Krischik
2005-12-12 21:35       ` qun-ying
2005-12-12 22:39         ` Ludovic Brenta
2005-12-13  6:19         ` christoph.grein
2005-12-13  0:01     ` Lionel Draghi
2005-12-13  2:58       ` Georg Bauhaus [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox