Moonrock Basic Compiler

MoonRock is a free BASIC-like language for the MS-DOS operating system written exclusively by Rowan Crowe. The compiler produces small and tight executables optionally optimised for 8086, 80186+ or 80386+ code. Notably the Moonrock compiler works for both DOS real mode or DPMI protected mode.[1]

The Moonrock compiler comes with the ArrowSoft assembler, documentation and sample programs. It is not being maintained any more.[2]

Although originally written in Microsoft's QuickBASIC, later versions integrated assembly language add-ons before being completely written in Moonrock itself. It is one of the very few free and open source compilers which is capable of compiling itself. Moonrock is thus also a development language.

The last stable version is Moonrock 0.50. It has been widely downloaded and is still used by groups of DOS game programmers. Moonrock was one of the first compilers to output compact .ASM assembly language code, making it easier for game programmers to optimise for speed and graphic handling routines.[3]

Moonrock was created as an alternative to QuickBasic. The compact code results in small size executables unlike QuickBasic's bloatcode. Moonrock is relatively unique as expressions are evaluated left to right, regardless of operation precedence.[4]

References

  1. "MoonRock compiler and development language". Rowan.sensation.net.au. Retrieved 2016-06-12.
  2. "Free BASIC Compilers and Interpreters". Thefreecountry.com. Retrieved 2016-06-12.
  3. "Next step up from Autohotkey". Donationcoder.com. Retrieved 2016-06-12.
  4. "Sources of compilers: Basic, C-, C, Pascal". Exmortis.narod.ru. Retrieved 2016-06-12.
This article is issued from Wikipedia - version of the 7/6/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.