As a real, practical example, we will now write a simple, interpreted programming language called
XPL (eXample Programming Language) using JS/CC. XPL is a C-styled script language interpreter,
providing simple user input/output operations, loops, and conditional execution as well as variables.
As variable type, only numbers are supported (integer and floating point both use the same, internal
scripting language, but it would be simple to add this feature.
For text output, XPL provides a special "say" command which allows to output constant texts.
To get familiar with XPL's syntax, look at the following example scripts.