MIDletPascal

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
MIDletPascal
250px
250px
Stable release 3.5 FINAL[1] / 2 February 2013
Development status Active
Written in C, Java
Operating system Microsoft Windows
Available in English, Spanish, Arabic, French, Polish, Hungarian and Russian
Type Integrated development environment
License GNU GPL (compiler), BSD (IDE)
Website midletpascal.sourceforge.net

MIDletPascal is a Pascal compiler and IDE specifically designed to create software for mobiles. It generates Java bytecode that runs on any Java ME device. In September 2009, Niksa Orlic, who wrote MIDletPascal, transmitted the source code to the Russian Boolean.name development community for feature development. MIDletPascal is now open-source, and hosted at SourceForge.

On 2 February 2013, MIDletPascal 3.5 Final released.

Features

  • generates low-level, small and fast Java bytecode
  • full Pascal specification support
  • parts of code can be written directly in Java
  • SMS messaging
  • HTTP connectivity
  • user-interface (forms) support
  • multimedia support
  • user-friendly IDE

Hello World

Because it runs on mobiles that don't have a console, the Hello world program of MIDletPascal is quite different from a normal Pascal "Hello World".

program HelloWorld;
begin DrawText ('Hello, World!', 0, 0); Repaint; Delay(2000); end.

Issues with anti-virus software

Lua error in package.lua at line 80: module 'strict' not found. Current versions of certain anti-virus (Norton, McAfee, ...) see any class file generated by MidletPascal as being a virus, "Trojan. Redbrowser.A", and automatically quarantine the suspected file.

This may be a false positive, because the RedBrowser trojan was written using the MidletPascal tool (see Notes from McAfee).

It seems anti-virus software look for some specific class into the jar package. Using an obfuscator as JShrink the midlet won't match with the AV dictionary.

This problem has been fixed in MIDletPascal 3.0 BETA.

See also

References

External links