LynPlex is not a single programming language. It is a collection of simple yet powerful dialects, each following the same syntax and rules but with each having a slightly different purpose and scope. The result is that any programming task can be carried out using a version of the same language.
Currently there are three language converters under development for three different dialects.
The LynPlex interpreter provides a scripting language. This can be used where a language such as Basic would otherwise be used or it it can be used instead of a batch or shell language.
The LynPlexS compiler can be thought of as an assembly language generator.
The LynPlexC compiler is an object oriented compiler and converts programs written in the LynPlex language.
Although all three dialects follow the same language and syntax rules, they each serve a slightly different purpose.
LynPlex is the result of a long held desire to produce a programming/scripting language that was as easy to use as BASIC, as easy to debug as REXX, as easy to read as COBOL, as flexible as PL/I and as universally applicable as C with some of the best bits of other languages thrown in for good measure.
That, of course, is a dream and probably not practical. None the less, LynPlex is slowly - very slowly - approaching the dream.
It has grown out of some forty years of computer experience.
It derives much from other languages, and traces of many other languages can be seen, but yet it is both simple and more consistent than any of these.
LynPlex is designed above all as a language that is easy to use and be consistent. It is intended to contain the best features of other languages without including the worst of those same languages.
The world is full of languages and LynPlex offers very little that is new. On the contrary it re-introduces some things that have been lost.
Essentially it is a simple tool for writing programs and build scripts.
The priorities are to build:
- A language that is very easy to learn and to use.
- A language that is ideal for experimenting with programming.
- A language that is good for shell scripts.
Whether this is successful remains to be seen.
LynPlex uses many commands and functions that exist in a similar form in other languages, but often the usage is different. None the less there is a way to perform most programming tasks.
An important part of the design is that there are no reserved words. A word that is a command or built-in function may still be used as a variable name. Its use will always depend on the context. This avoids the possibility of a word that is a legal symbol in one release ceasing to be so in a later release.
If you are familiar with other languages then you may find at first that you need to refer to the LynPlex Reference just as you would if you were a beginner.