caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: bluestorm <bluestorm.dylc@gmail.com>
To: martin.potier@gmail.com
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Caml typed AST
Date: Mon, 28 Jun 2010 16:25:56 +0200	[thread overview]
Message-ID: <AANLkTikWeSbPS1ycg9-Ax2e1WncgMbCF_UPBisEOhcH0@mail.gmail.com> (raw)
In-Reply-To: <4C28ABA8.2050807@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

The OCaml typedtree (post-typing AST) is rather intricate and contains
details about the type inference process that you might not want to have to
know about.

If you don't need the full width of the OCaml language features, I would
recommend starting from a smaller codebase. Rewriting a parser for a subset
of the OCaml language is easy, type inference difficulty depends on the
features you have in your language, but there are numerous smaller projects
you could reuse.
See for example [MinCaml], a minimalistic compiler for teaching purpose, or
the [poly] language from the Programming Language Zoo.

 [MinCaml] http://min-caml.sourceforge.net/index-e.html
 [poly] http://andrej.com/plzoo/html/poly.html

[-- Attachment #2: Type: text/html, Size: 1036 bytes --]

      reply	other threads:[~2010-06-28 14:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-08 21:29 Martin Potier
     [not found] ` <940CD13B-5569-4B4C-9616-7AE9132EC114@gmail.com>
2010-06-28 14:03   ` [Caml-list] " Martin Potier
2010-06-28 14:25     ` bluestorm [this message]

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=AANLkTikWeSbPS1ycg9-Ax2e1WncgMbCF_UPBisEOhcH0@mail.gmail.com \
    --to=bluestorm.dylc@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=martin.potier@gmail.com \
    /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).