Perl on Handhelds?
Jeremy Pruitt asks: "I'm wondering if there is a way for me to do some perl scripting on a handheld device. I know there is no port for WindozeCE yet, but I also know there are a few BSD/Linux ports for handhelds. Can I run Perl on these ported versions of BSD/Linux? If so, does anybody recommend a handheld/OS combo that I can do some scripting on?"
I've been meaning to ask Slashdot the same question as Cliff for a while, but slightly broader. I would like to be able to hack code where ever I am, but I am not fussy about the language. I will cheerfully code in dhtml, python, perl, C, C++, java, asm, or whatever is available.
I was guessing that the psion would a good choice, due to the quality of both the keyboard and the OS [not meant as a dig at winCE: epoc32 is meant to be *really* good.]
Having a Java runtime is good, but you'll also need a compiler. Is there one? I've done some Java bytecode hacking, so I could probaby write one if there is a demand.
Do you (/anyone else) have any experience of writing code on a Psion, good or bad?
cheers, G
What OS / hardware combinations have you tried out?
How easy was it to replace winCE?
is it *really* a viable platform for coding on the road?
I mean - I don't need a pretty IDE, I don't even need X, but I at least need multiple virtual terminals, so I can code on one and compile on another.
Any stories of experience doing this will be appreciated.
cheers, G
See http://www.netbsd.org/Ports/hpcmips/.
-- @rjamestaylor on Ello
There is a Java compiler implemented in Java in the works here.
And (according to the web page) a fully working one here.
I THINK that both of these should run in the JVM for EPOC, but I suggest checking before running out and buying a 5mx (~$500, but well worth it) strictly for Java use.
The other thing to keep in mind is the limited memory on these devices. You may need to add a CF card to hold all of your development environment. YOU HAVE BEEN WARNED!
Perl is available for handhelds running EPOC (i.e., the Psion Series 5/5mx/7/netBook/Revo, the Oregon Scientific Osiris, and the Ericsson MC218). The installation is LARGE for a device of this caliber (~4MB of storage and running space). You can check out the author's web page for the port here.
.OPX libraries.
Alternatively, most of the machines I listed (with the exception of the Revo and possibly the Osiris) come with a programming language editor and byte-code compiler built in. The language is called OPL32 (organizer programming language 32-bit). OPL is a relatively powerful language (even if it is interpreted), with the capability to expand (i.e., graphical printing functions, multi-page dialogs) via
The newer machines (NOT the Series 5, and maybe not the Revo or Osiris) can also run Java. Which may also meet your needs.
If you would like to learn more about programming the EPOC OS, you can download OPL and Java SDK's, and the included emulator, from the Symbian site (you have to register to download, but it's free. It does run only under Windows, though). One additional note, the Perl port will likely NOT run under the emulator (compiled OPL will run under both, C++, will not). You have been warned.