Browse thread
Re: [Caml-list] Native compiler support for m68k?
[
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: | Daniel M. Albro <albro@h...> |
| Subject: | Re: [Caml-list] Native compiler support for m68k? |
It is doable, though. Look at LispMe (http://www.lispme.de), a Scheme interpreter for PalmOS. The author got around the memory problems by finding a way to use databases as the memory space of the interpreter. Also, the newer ARM-based Palm devices should have fewer limitations. Moreover, since the LispMe source is available, most likely any GUI code you wanted could be lifted from that. I'm not volunteering, of course, but I think it would be doable (I've looked at the problem in connection with thinking about writing a Prolog interpreter for PalmOS). - Dan Albro Xavier Leroy wrote: >>In such case what about ocaml port for palm pilot? > > > François Rouaix did a Palm port of Caml Light (the "lean and mean" > ancestor of OCaml) a long time ago. > > The main problem was that the data segment of a Palm OS program had to > fit in 64K, which is quite tight for Caml Light and definitely not > enough for OCaml. (The remainder of the RAM was either read-only code > blocks, or PalmOS "databases" that must be accessed through system calls.) > I don't know if this limitation was lifted in later versions of PalmOS. > > Problem number 2 is that text-only apps aren't very usable on a > handheld, so you'd need to interface a large chunk of the GUI toolkit. > > - Xavier Leroy > > ------------------- > 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 > ------------------- 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