Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] toplevels / bytecode interpreter
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] toplevels / bytecode interpreter
Hi,

Can the OCaml bytecode interpreter be embedded in C programs? For
example, a C program that mimics the top-level to a simpler degree.

I'm thinking of changing DST so that it runs a bytecode interpreter on
the bare metal instead of native code. Although, I'm sure I'd need a
lot more libc underneath to get it working compared to native code ;-)

I was also thinking the toplevel might be a good place to start
(though, don't exactly need the shell-like interface...).

Some pointers on general directions to take would be great.

Kindest Regards,

Jonathan Roewen