Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jacques Carette <carette@mcmaster.ca>
To: OCaml <caml-list@inria.fr>
Subject: Lisp/Scheme parser
Date: Sun, 27 May 2007 11:43:22 -0400	[thread overview]
Message-ID: <4659A71A.6060304@mcmaster.ca> (raw)

I tried to find a full Lisp (or Scheme) parser in Ocaml, and did not 
immediately find one.  Is my Google-fu not up to the task?

Yes, I am aware that parsing s-expressions is trivial, but the full Lisp 
(or Scheme) grammar is somewhat more complicated, and I do not feel like 
reinventing the wheel.

Any technology that integrates well with Ocaml is fine, since in the end 
in-memory ASTs is going to be what we're really interested in.

Jacques

PS: Other than CIL for C, are there other programming languages for 
which I can just get an off-the-shelf (non-commercial) parser?


             reply	other threads:[~2007-05-27 15:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-27 15:43 Jacques Carette [this message]
2007-05-27 16:06 ` [Caml-list] " Pierre-Evariste Dagand
2007-05-27 16:06 ` skaller
2007-05-27 17:03   ` Joel Reymont
2007-05-27 17:26     ` Jacques Carette
2007-05-29  4:45   ` Eliot Handelman
2007-05-27 18:13 ` Eric Cooper

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=4659A71A.6060304@mcmaster.ca \
    --to=carette@mcmaster.ca \
    --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