caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Will Benton <willb@cs.wisc.edu>
To: caml-list@inria.fr
Subject: [Caml-list] example toy compiler in OCAML?
Date: Sun, 09 Sep 2001 12:49:49 -0500	[thread overview]
Message-ID: <3B9BABBD.A522AF44@cs.wisc.edu> (raw)


I am interested in implementing a compiler (for a toy language of my own
design) in ML, mostly to get more comfortable with ML, but also because
I want a faster compiler than the one I have, which is written in Java. 

Could anyone point me to code for an example toy/small compiler
(i.e. small enough to understand easily, preferably with ocamlllex and
ocamlyacc specifications instead of hardcoded lexing/parsing)
implemented in OCAML?




Thanks,
wb
-------------------
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


             reply	other threads:[~2001-09-09 17:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-09 17:49 Will Benton [this message]
2001-09-09 18:13 ` Basile STARYNKEVITCH
2001-09-09 18:47 ` John Max Skaller
2001-09-10 15:53 ` Xavier Leroy

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=3B9BABBD.A522AF44@cs.wisc.edu \
    --to=willb@cs.wisc.edu \
    --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;
as well as URLs for NNTP newsgroup(s).