User Tools

Site Tools


mpl

This is an old revision of the document!


Mystic Programming Language

General Notes About Using The MPL

The syntax of the Mystic BBS Programming Language follows closely to that of the Turbo Pascal series of programming compilers. At one time, the language was almost 100% Turbo Pascal compatible (except for the BBS functions) but it has been slightly changed to make it a little more friendly to the programmer.

Two versions of the programming compiler are available in the scripts directory. The first one, MIDE.EXE, is a fully functional IDE for creating and compiling MPE programs. This program looks similar to the Turbo Pascal IDE, including syntax highlighting of all command keywords! The second version of the compiler is MPLC.EXE. This is a command line compiler supplied so you are not forced to use MIDE.EXE to write programs. If you do not find the MIDE interface to be satisfactory, then you can use your favorite text editor and MPLC.EXE to create programs!

The following are some quick notes about the syntax of the language as well as some notes about things that aren't working as they probably should be:

All text after a two slashes (⁄⁄) is considered a comment. It will be ignored until the next line of code. For example:

WriteLn ('Hello There') ⁄⁄ This is a comment and will be ignored.

mpl.1468268519.txt.gz · Last modified: 2016/07/11 15:21 by gryphon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki