* [Caml-list] C++ grammar for ocamlyacc
@ 2002-01-15 17:32 Hendrik Tews
2002-01-16 8:31 ` Jean-Christophe Filliatre
0 siblings, 1 reply; 2+ messages in thread
From: Hendrik Tews @ 2002-01-15 17:32 UTC (permalink / raw)
To: caml-list
Dear all,
does anybody know about a C++ frontend (lexer + parser + ...) for ocaml?
Thanks in advance for your answers,
Hendrik
-----------------------------------------------------------------
Hendrik Tews Department of Theoretical Computer Science
Dresden University of Technology, Germany
Telefon: +49 351 463 38351
e-mail: tews@tcs.inf.tu-dresden.de
www: http://home.pages.de/~tews/
pgp key: http://home.pages.de/~tews/pgpkey.asc
-----------------------------------------------------------------
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] C++ grammar for ocamlyacc
2002-01-15 17:32 [Caml-list] C++ grammar for ocamlyacc Hendrik Tews
@ 2002-01-16 8:31 ` Jean-Christophe Filliatre
0 siblings, 0 replies; 2+ messages in thread
From: Jean-Christophe Filliatre @ 2002-01-16 8:31 UTC (permalink / raw)
To: Hendrik Tews; +Cc: caml-list
Hendrik Tews writes:
> Dear all,
>
> does anybody know about a C++ frontend (lexer + parser + ...) for ocaml?
ocamlyacc syntax being the same as yacc's (regardless the actions),
you can re-use any yacc grammar for C++. Even a (f)lex lexer for C++
is of interest, giving you the regular expressions.
A bit of searching on the web will bring you many lex/yacc grammars
for C++, as for instance this one following the ISO standard:
http://www.sigala.it/sandro/software.html#grammars
Hope this helps,
--
Jean-Christophe Filliatre (http://www.lri.fr/~filliatr)
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-01-16 8:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-15 17:32 [Caml-list] C++ grammar for ocamlyacc Hendrik Tews
2002-01-16 8:31 ` Jean-Christophe Filliatre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox