Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

C++ parser front end

11 views
Skip to first unread message

Bernt Kullbach

unread,
Oct 12, 1999, 3:00:00 AM10/12/99
to

I now have been looking for C++ parser front ends for
some time.

What I could find so far is EDG, which is very expensive
if used commercially, and John Lilley's PCCTS-based
C++ parser, which as far as I know is be the best free
C++ parser availiable but which nevertheless needs a
lot of work.

So, does anyone know a commercail C++ parser front end
apart from EDG, or has anyone worked on John Lilley's
PCCTS-based C++ parser?

Bernt

--
Bernt Kullbach Institute for Software Technology
voice: +49 261 287 27 04 University of Koblenz-Landau
fax: +49 261 287 27 21 Rheinau 1
e-mail: kull...@informatik.uni-koblenz.de D-56075 Koblenz
www: http://www.uni-koblenz.de/~kullbach/ Germany


Thomas David Rivers

unread,
Oct 12, 1999, 3:00:00 AM10/12/99
to
Yes - EDG is quite expensive...  But - it comes
highly recommended from several people, and is
successfully used in several commercial offerings.
 

I've been looking into the C++ parser used with
TenDRA.  The distribution claims that the C++
parser is very robust - but I haven't tried it myself.
 

It has it's own parser-generation tool (which is LL(K)... hmm)
which means you have to really understand things before
the parser  itself becomes apparent.

The TenDRA distribution seems to allow re-use of the code;
the license appears to be similar to a BSD license.
 
 

-- 
riv...@dignus.com                         Work: (919) 676-0847
Get your mainframe (370) `C' compiler at http://www.dignus.com
 

Bernt Kullbach

unread,
Oct 12, 1999, 3:00:00 AM10/12/99
to

I now have been looking for C++ parser front ends for
some time.

What I could find so far is EDG, which is very expensive
if used commercially, and John Lilley's PCCTS-based
C++ parser, which as far as I know is be the best free
C++ parser availiable but which nevertheless needs a
lot of work.

So, does anyone know a commercail C++ parser front end
apart from EDG, or has anyone worked on John Lilley's
PCCTS-based C++ parser?

Bernt

--
Bernt Kullbach Institute for Software Technology
voice: +49 261 287 27 04 University of Koblenz-Landau
fax: +49 261 287 27 21 Rheinau 1
e-mail: kull...@informatik.uni-koblenz.de D-56075 Koblenz
www: http://www.uni-koblenz.de/~kullbach/ Germany

[ Send an empty e-mail to c++-...@netlab.cs.rpi.edu for info ]
[ about comp.lang.c++.moderated. First time posters: do this! ]


Bruce Stephens

unread,
Oct 12, 1999, 3:00:00 AM10/12/99
to
Thomas David Rivers <riv...@dignus.com> writes:

> I've been looking into the C++ parser used with TenDRA.  The
> distribution claims that the C++ parser is very robust - but I
> haven't tried it myself.
>
> It has it's own parser-generation tool (which is LL(K)... hmm) which
> means you have to really understand things before the parser  itself
> becomes apparent.
>
> The TenDRA distribution seems to allow re-use of the code; the
> license appears to be similar to a BSD license.    

Disadvantages are that it's pretty picky (which may or may not be a
problem), and it doesn't have much of a library. (You'll probably
want to be able to parse programs using <iostream>, for example, so
you'll have to find or construct a header that'll pass through
TenDRA's front-end.)

Also, the main web site seems to be down. There are mirrors around,
of course.

OpenC++ may also be an option:
<URL:http://www.softlab.is.tsukuba.ac.jp/~chiba/openc++.html>.

Greg Comeau

unread,
Oct 13, 1999, 3:00:00 AM10/13/99
to
In article <3802E15B...@informatik.uni-koblenz.de> Bernt Kullbach <kull...@uni-koblenz.de> writes:
>I now have been looking for C++ parser front ends for
>some time.
>
>What I could find so far is EDG, which is very expensive
>if used commercially, and John Lilley's PCCTS-based
>C++ parser, which as far as I know is be the best free
>C++ parser availiable but which nevertheless needs a
>lot of work.
>
>So, does anyone know a commercail C++ parser front end
>apart from EDG, or has anyone worked on John Lilley's
>PCCTS-based C++ parser?

We are a licensee of EDG, so maybe there can be some mid-point
for you, so what exactly is it that you want to do with the front-end?

- Greg
--
Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
Producers of Comeau C/C++ 4.2.38 -- NOTE 4.2.42 BETAS NOW AVAILABLE
Email: com...@comeaucomputing.com / Voice:718-945-0009 / Fax:718-441-2310
*** WEB: http://www.comeaucomputing.com ***

Andy Glew

unread,
Oct 15, 1999, 3:00:00 AM10/15/99
to
> We are a licensee of EDG, so maybe there can be some mid-point
> for you, so what exactly is it that you want to do with the front-end?

I don't know what Berntt wants,
but I know that I'd love to have a C++ front end
so that I could create a "reflective API" for C++.

ash...@my-deja.com

unread,
Oct 19, 1999, 3:00:00 AM10/19/99
to
Try:
http://www-sop.inria.fr/orion/Articles/OOPSLA98.html
http://www.emn.fr/reflection99/program.html
http://www.hlla.is.tsukuba.ac.jp/~chiba/oopsla98ws.html

Ash

> Are there any examples of fun things that people have done with
> OpenC++? When I do a web search for OpenC++, I just get the software
> itself: surely some people are using it for things they can reveal to
> the world?

0 new messages