| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 1391809388 Hello, Simon! You wrote on Mon, 7 Jul 2003 15:52:41 +0000 (UTC): SH> text files, returning an Ocaml function. Of course I could write my SH> own interpreter and mini-scripting language, but that seems a little SH> like overkill since it's gonna have a total of maybe two dozen SH> functions. Yon can use "traditional" way - integrate O'Caml with (for example) Tcl or Lua. SH> just make things rather more complicated than I would like to deal SH> with, what with having to hack the new toplevel into acting like a SH> game engine instead of a toplevel. SH> So is there some nice easy way to do this, or shall I start writing SH> an interpreter? Yet another approach - use dynamic module loading and simply run ocamlc for compiling scripts into loadable .cmo file Anton |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.