From: Martin Potier <martin.potier@gmail.com>
To: caml-list@yquem.inria.fr
Subject: Caml typed AST
Date: Tue, 08 Jun 2010 23:29:52 +0200 [thread overview]
Message-ID: <4C0EB650.6080603@gmail.com> (raw)
Dear List,
I have a school research assignment about defunctionalization.
I'd like to implement a defunctionalization algorithm for Caml, using
Caml, that's why I'd like to know if there is a way to retrieve a typped
AST from Caml.
I had a look at the option -dparsetree of the Caml interpreter, but it
doesn't fit my need for two reasons : first it's not typped, and second
it's not easily reusable.
In a way, I just want to "plug in" right after the typing of the Caml
AST in order to reuse it.
Does anyone know the Caml source well enough to point me to a place
where a function uses a typped AST ?
--
Martin Potier
next reply other threads:[~2010-06-08 21:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-08 21:29 Martin Potier [this message]
[not found] ` <940CD13B-5569-4B4C-9616-7AE9132EC114@gmail.com>
2010-06-28 14:03 ` [Caml-list] " Martin Potier
2010-06-28 14:25 ` bluestorm
2010-06-09 7:47 oleg
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=4C0EB650.6080603@gmail.com \
--to=martin.potier@gmail.com \
--cc=caml-list@yquem.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