Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@lri.fr>
To: Laurent Reveillere <Laurent.Reveillere@labri.u-bordeaux.fr>
Cc: caml-list@inria.fr
Subject: Re: Parsing ANSI C using OCAML
Date: Mon, 4 Dec 2000 08:44:41 +0100 (MET)	[thread overview]
Message-ID: <14891.19305.126181.31436@pc803> (raw)
In-Reply-To: <3A260936.17880B58@labri.u-bordeaux.fr>


In his message of Thu November 30, 2000, Laurent Reveillere writes: 
> I have to build a lexer/parser for the ANSI C language.
> Does anyone now if such a tool exists in OCAML?

I  don't know  of  such a  lexer/parser. But  you  can find  a lot  of
lex/yacc grammars  for ANSI C on  the web, which can  be easily turned
into ocamllex/ocamlyacc grammars. Here is such a site:

     http://www.lysator.liu.se/c/ANSI-C-grammar-y.html

Hope this helps,
-- 
Jean-Christophe FILLIATRE
  mailto:Jean-Christophe.Filliatre@lri.fr
  http://www.lri.fr/~filliatr



  parent reply	other threads:[~2000-12-04 21:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-30  8:00 Laurent Reveillere
2000-12-04  3:48 ` John Max Skaller
2000-12-04  7:44 ` Jean-Christophe Filliatre [this message]
2000-12-04 12:25 ` Remi VANICAT
2000-12-04 12:40 ` Sven LUTHER

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14891.19305.126181.31436@pc803 \
    --to=jean-christophe.filliatre@lri.fr \
    --cc=Laurent.Reveillere@labri.u-bordeaux.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox