caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alp Mestan <alp@mestan.fr>
To: Romain Bardou <Romain.Bardou@lri.fr>, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Question about the -dlambda option of ocamlc/ocamlopt
Date: Wed, 25 Mar 2009 11:07:38 +0100	[thread overview]
Message-ID: <cbe39dfc0903250307u527fb3bdx2044f75d3fc6d6ea@mail.gmail.com> (raw)
In-Reply-To: <49C9F340.9080400@lri.fr>

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

Thanks Romain !

On Wed, Mar 25, 2009 at 10:02 AM, Romain Bardou <Romain.Bardou@lri.fr>wrote:

> Alp Mestan a écrit :
>
>  Hi,
>>
>> I'm currently studying the lambda code generation phase of the standard
>> OCaml compiler.
>>
>> You can take a look at this for an example :
>> http://blog.mestan.fr/2009/03/22/ocaml-and-dlambda-1/
>>
>> I'm wondering what is 'makeblock' for ?
>> And why is there '/<a number>' after every variable/function name ? Isn't
>> the name sufficient for identifying variables ?
>>
>> Thanks !
>>
>
> If I recall correctly, makeblock is for block allocation and is used to
> make empty blocks for everything that does not fit in just one integer.
>
> The /<a number> is used to uniquely identify identifiers. In this example :
>
> let x = 1 in let x = 2 in x
>
> The /<a number> allows you to know which "let" variable is represented by
> the "x" at the end.
>
> --
> Romain Bardou
>



-- 
Alp Mestan
In charge of the C++ section on Developpez.com.

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

      reply	other threads:[~2009-03-25 10:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 18:30 Alp Mestan
2009-03-25  9:02 ` [Caml-list] " Romain Bardou
2009-03-25 10:07   ` Alp Mestan [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=cbe39dfc0903250307u527fb3bdx2044f75d3fc6d6ea@mail.gmail.com \
    --to=alp@mestan.fr \
    --cc=Romain.Bardou@lri.fr \
    --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;
as well as URLs for NNTP newsgroup(s).