MIDletPascal
Encyclopedia
MIDletPascal is an 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 MIDlet pascal, transmitted the source code to the Russian Boolean.name development community for feature development. MIDlet Pascal is now open-source, and hosted at SourceForge.
In June 2010 MIDletPascal 3.0 Final released.
program HelloWorld;
begin
DrawText ('Hello, World!', 0, 0);
Repaint;
Delay(2000);
end.
This may be a false positive, because the RedBrowser trojan was written using the MidletPascal tool (see Notes from McAfee).
It seems antiviruses 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.
Pascal (programming language)
Pascal is an influential imperative and procedural programming language, designed in 1968/9 and published in 1970 by Niklaus Wirth as a small and efficient language intended to encourage good programming practices using structured programming and data structuring.A derivative known as Object Pascal...
compiler and IDE specifically designed to create software for mobiles. It generates Java
Java (programming language)
Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities...
bytecode
Bytecode
Bytecode, also known as p-code , is a term which has been used to denote various forms of instruction sets designed for efficient execution by a software interpreter as well as being suitable for further compilation into machine code...
that runs on any Java ME device. In September 2009, Niksa Orlic, who wrote MIDlet pascal, transmitted the source code to the Russian Boolean.name development community for feature development. MIDlet Pascal is now open-source, and hosted at SourceForge.
In June 2010 MIDletPascal 3.0 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 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
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 antiviruses 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
- MidletMIDletA MIDlet is an application that uses the Mobile Information Device Profile of the Connected Limited Device Configuration for the Java ME environment...
- Pascal Programming Language
- Comparison of Pascal IDEs
External links
- SourceForge MidletPascal Project Site - The open sourceOpen sourceThe term open source describes practices in production and development that promote access to the end product's source materials. Some consider open source a philosophy, others consider it a pragmatic methodology...
project to develop and extend MIDletPascal. - Sun Wireless Toolkit - A phone emulator that integrates with MIDletPascal IDE