caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Oleg Trott <oleg_trott@columbia.edu>
To: caml-list@inria.fr
Subject: [Caml-list] Caml as C-- (was: Compiling a native code OCaml library into an .so?)
Date: Thu, 20 Nov 2003 06:13:09 -0500	[thread overview]
Message-ID: <200311200613.09139.oleg_trott@columbia.edu> (raw)
In-Reply-To: <004001c3af17$20b46df0$dd79b1d5@tornado>

On Wednesday 19 November 2003 10:33 pm, Kamil Shakirov wrote:
> > Am I missing any serious difficulties here? Are there any plans to add
> > something like this to OCaml?
>
> Look at the http://www.boblycat.org/~malc/scaml/

Things like this make me wonder how people outside of INRIA understand the 
inner workings of Caml compiler (enough to modify it). Just  guessing by 
looking at the rather sparcely commented source? Or is there anything else?

In particular, I'm curious if parts of Caml compiler, such as "asmcomp", could 
be used as a sort of C--, i.e. a weakly typed backend for another language, 
especially if the language itself is written in Caml.

TIA
-- 
Oleg Trott <oleg_trott@columbia.edu>

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  parent reply	other threads:[~2003-11-20 11:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-19 23:49 [Caml-list] Compiling a native code OCaml library into an .so? Aleksey Nogin
2003-11-20  3:33 ` Kamil Shakirov
2003-11-20  4:57   ` Aleksey Nogin
2003-11-20 11:13   ` Oleg Trott [this message]
2003-11-20 11:30     ` [Caml-list] Caml as C-- (was: Compiling a native code OCaml library into an .so?) Ville-Pertti Keinonen
2003-11-20 17:07       ` Oleg Trott
2003-11-20 11:46     ` Christian Lindig
2003-11-20 11:45       ` [Caml-list] Caml as C-- ZHAO Wei
2003-11-20 16:37       ` [Caml-list] Caml as C-- (was: Compiling a native code OCaml library into an .so?) Oleg Trott

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=200311200613.09139.oleg_trott@columbia.edu \
    --to=oleg_trott@columbia.edu \
    --cc=caml-list@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).