Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Alternative Bytecodes for OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: John Goerzen <jgoerzen@c...>
Subject: Re: [Caml-list] Alternative Bytecodes for OCaml
On Fri, Aug 27, 2004 at 10:48:06PM +0200, Nicolas Cannasse wrote:
> That was part of my thinking. A lot of technologies that are available in
> the OCaml compiler sources are not made accessible to the OCaml programmer.
> I would like for instance be able to create on the fly Lambda OCaml AST,
> generate corresponding ocaml bytecode, and execute it : such a feature would
> be great for DSL since it will remove the need to implement an efficient
> runtime system (ocaml one will be used in place).

Just one example of this: AFAIK, there is no way, using camlp4 or any
other standard tools, to implement a custom version of printf complete
with a custom format string parser.

-- 
John Goerzen
Author, Foundations of Python Network Programming
http://www.amazon.com/exec/obidos/tg/detail/-/1590593715

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