Thoughts on new mobile technologies and development areas.
P.S.
Use Nokia barcode reader to read the code ;-)
jack44 | 08 September, 2007 12:14

Last time I wrote about TCL based language - HECL. Now, let's go back in time. I believe you still remember DOS and its scripting language (also available in "visual" version in current Windows platforms).
This time I will focus on QBasic language, which is also available for mobiles (Java ME). It's called CellularBASIC and it's an open source project. The scripting language is a dialect of QBASIC 1.1, supporting more than 90 keywords, along with some special features (64-floating point arithmetic, trigonometric, screen I/O, file I/O, SMS sending, network programming, graphics...). The project has good documentation (command reference, keywords with examples).
If you would like to play a little with old QBasic 1.1, you can download it from Microsoft pages or play with CellularBasic directly on the device (editing of code is supported) or PC. For these of you who are not familiar or don't remember the language, the simplest Hello World code is as following:
PRINT "Hello World by Jacek Wojciechowski!"
I wish I had a FDD to read my very old 5.25" floppy disk with my old QBasic apps, but this task is not very easy nowadays ;-)
Java, S60, Series 40 |
Permalink |
Add comment |
Trackbacks (0)
jack44 | 06 September, 2007 16:48
If you had to create a prototype of mobile application quickly, many of you would probably choose Python - someone may justify this choice by pointing out that you can write and run the code (script) immediately on the device and that other similar solutions aren't so integrated with smartphone's advanced functions. For simpler tasks you can choose Perl, Ruby, Opl (or some others). Such solutions have one substantial drawback - they need operating system to work on, in this case - Symbian. Recently, I've found interesting Java based option (it works with J2ME, MIDP + CLDC based devices). It's called HECL and it's an open source project.
Hecl derives simple, flexible, command based approach from Tcl and it's easy to learn even for people who aren't programmers. Of course, Hecl isn't a 'replacement for Java', but I find it as a complementary approach to Java. It's unlikely that an entire software would be written only in Hecl, so it's interesting how you can integrate Hecl and Java. Generally, there are two ways of doing this:
You can use Hecl for example to script some configuration, automatically get the updates of the application just by downloading a text file (self-updatable script); one interesting thing is that you may have more than one of the interpreters at a time (in java code).
Thus, you don't have to wait for JavaFX Script to appear, you may try similar idea today.
Java, S60, Series 40 |
Permalink |
Add comment |
Trackbacks (0)