caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Julien Signoles <julien.signoles@gmail.com>
To: "Török Edwin" <edwintorok@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] OCaml defunctorization and other optimizations
Date: Thu, 20 May 2010 13:40:46 +0200	[thread overview]
Message-ID: <AANLkTimAMgW4coXupBubiNAnpzxzZ5WR_cSwL9CEqW3n@mail.gmail.com> (raw)
In-Reply-To: <4BF519E4.8040402@gmail.com>

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

Hello,

2010/5/20 Török Edwin <edwintorok@gmail.com>

>
> On 05/20/2010 11:41 AM, Julien Signoles wrote:
> I think that'll have to be someone else than me, as I consider myself
> just a beginner in OCaml.
> However if you think that implementing AST transforms would be possible
> for a beginner (in OCaml, I do have experience with compilers), I'm
> willing to give it a try.
>

I wrote ocamldefun during my master project where I done both the theory and
the implementation of this tool: I was a beginner both in ocaml and in
functional programming since I only wrote a mini-compiler in ocaml during my
studies without any lecture on functional programming. But ok: there were
ocaml experts in my research team which provide me some wonderful helps :-).

>
> I think that if there is a defunctorizer written it should live in the
> OCaml distribution itself (maybe in contrib/).
>

Ocaml is not Coq: there is no such "contrib/" directory ;-). As far as I
know, the Ocaml development team does not accept so much external
contributions (for many good reasons).


> I certainly don't intend to write an external tool that uses OCaml
> internal modules.
>

That is what ocamldefun actually does.

Best regards,
Julien

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

  reply	other threads:[~2010-05-20 11:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19 12:58 Török Edwin
2010-05-20  8:41 ` [Caml-list] " Julien Signoles
2010-05-20 11:15   ` Török Edwin
2010-05-20 11:40     ` Julien Signoles [this message]
2010-05-20 12:04       ` Török Edwin
2010-05-20 13:16         ` Maxence Guesdon

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=AANLkTimAMgW4coXupBubiNAnpzxzZ5WR_cSwL9CEqW3n@mail.gmail.com \
    --to=julien.signoles@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=edwintorok@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).