Browse thread
[Caml-list] [Q] opengl bindings without tcl/tk
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Norman Ramsey <nr@e...> |
| Subject: | Re: [Caml-list] ocaml embedded scripting language |
> I was wondaring if anyone is familiar with a little > language implementation that is suitable to be > embedded in an ocaml program. I realize that it > wouldn't be that hard to do, especially in ocaml, but > hate to duplicate work someone else has already done. > There aren't really that many requirements, just the > ability to look at passed in data structures a return > a result based off of them. > > > At first I thought that ocaml itself would be the best > scriping langauge but I havn't figured out how to link > in code compiled with ocamlopt. In fact, I don't think > it is possible at the moment. We've written an implementation of Lua, version 2.5, for Ocaml. It's currently bundled with our nascent Quick C-- compiler at www.cminusminus.org. I'd like to split it out as a separate distribution, but we're rather short of help at the moment and I'm trying to get the papers written first. Anyway, as far as I know it's completely compatible with the C version, although a few library functions are missing. We've been fairly happy. If you want to play with it, download and build Quick C--, then go to the lua subdirectory and type `mk lua.ps'---that will give you the documentation for the API. The documentation for the language can probably be had from lua.org, but if they don't keep manuals for old versions, let me know and I'll put one in our CVS archive. Norman ------------------- 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