|The Gentle Compiler Construction System email@example.com (faust) (2002-12-30)|
|Re: The Gentle Compiler Construction System firstname.lastname@example.org (2002-12-31)|
|Re: The Gentle Compiler Construction System email@example.com (fidel viegas) (2003-01-17)|
|From:||fidel viegas <firstname.lastname@example.org>|
|Date:||17 Jan 2003 23:02:59 -0500|
|Posted-Date:||17 Jan 2003 23:02:59 EST|
> I haven't used it recently. The last time was about four years ago. My
> experience was very favourable, although the reliance on yacc and lex
> can be a bit irritating, considering the power of the rest of the
> system. For some rapid prototyping, Gentle is pretty much ideal.
> It is very much a term rewriting system, allowing you to write very
> powerful tree translation code. The syntax is reasonably elegant. I
> found defining and using data types to be vaguely cumbersome.
> I think nowadays, I would use SML or Haskell in preference. A "real"
> programming language can be such a boon. Especially since Gentle uses
> yacc and lex pretty much directly. So the parsing side is taken care
> of by standard tools anyway, what Gentle brings on its own can be very
> easily implemented in a modern functional language. Gentle's semi-automatic
> tree walker constructs are probably the only thing you don't get for free.
> But I have found them to be a little complicated to use effectively.
I have used it about two years ago and as Robby said, the only
annoying thing is its reliance to yacc and lex (or flex and
bison). Apart from that, it is a very good system for writing text to
text translators. If you want to generate binary files, then you have
to write the modules in C and then call them from gentle.
Anyway, just give a try and see for yourself.
All the best
Return to the
Search the comp.compilers archives again.