caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Documentation of the OCaml Lambda Intermediate Language
@ 2011-04-07 20:37 Arthur Peters
  2011-04-08 11:26 ` John Carr
  2011-04-09 14:54 ` Vincent Aravantinos
  0 siblings, 2 replies; 3+ messages in thread
From: Arthur Peters @ 2011-04-07 20:37 UTC (permalink / raw)
  To: caml-list

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

I am digging into the lambda language (as printed by -dlambda and as
represented by the types in bytecomp/lambda.ml). And it mostly makes sense
however I still have a constant stream of questions. So I was wondering: Is
there any internal documentation for the lambda IL?

The specific questions on my mind at the moment are:
1. How are types represented in the lambda IL? (they seem to be implicit but
it's not clear) This is especially an issue with polymorphic primitives like
"field" and "apply".
2. What do each of the operation (primitive and lambda) mean? What do they
do and what types to they imply (if that's handled that way)?

Just for some background I am a grad student in a compilers course and I am
looking to build a simple LLVM code generator that takes lambda and output
LLVM bytecode (allowing it to use all the fun JIT and optimization, etc
features of LLVM). Out of curiosity has this been attempted before?

Thanks a lot!
-Arthur

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-09 14:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-07 20:37 [Caml-list] Documentation of the OCaml Lambda Intermediate Language Arthur Peters
2011-04-08 11:26 ` John Carr
2011-04-09 14:54 ` Vincent Aravantinos

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).