MIDletPascal

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.

MIDletPascal
Stable release
3.5 FINAL[1] / February 2, 2013 (2013-02-02)
Written inC, Java
Operating systemMicrosoft Windows
Available inEnglish, Spanish, Arabic, French, Polish, Hungarian and Russian
TypeIntegrated development environment
LicenseGNU GPL (compiler), BSD (IDE)
Websitemidletpascal.sourceforge.net

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.
gollark: Hey, we should make a standard for an easier to implement FS API!
gollark: Small problem: I was lazy so it relies on properties of the FS API which are hard to implement in VFSes.
gollark: Great idea.
gollark: ~~of course, using crane is better to produce giant unoptimized executables~~
gollark: I think you basically just need to edit https://github.com/SquidDev-CC/CC-Tweaked/blob/984d3589308b57eefd18b0517f2632ec96c3e7b8/src/main/java/dan200/computercraft/core/apis/http/WebsocketConnection.java#L178. Somehow.

See also

References


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.