Description of Syntax and Language Elements

Top  Previous  Next

 

EMUEScript is a simple and powerful language that is designed to automate the processing of mainframe applications quickly and easily.  The EMUEScript parsing engine reads the entire script file into memory when EMUE opens a script file.  EMUE then processes each line as the logic of the script dictates.

 

Spacing is important to EMUEScript.  Spaces separate the elements of the language within a line of script.  Any space that is not enclosed in "double quotes" will be considered an element separator by EMUEScript.  Any time a single "double quote" is encountered without a matching, closing “double quote” on the same line of script, it is considered a syntax error by EMUEScript.

 

In English language syntax terminology, all of the commands listed in this reference section are verbs, or actions that affect something else.  The basic syntax of all of the commands is simply the verb or command followed by a space delimited list of adjectives or nouns required to make the command do exactly as desired.

 

Variables and Lists (similar to arrays) are implemented to allow the storage and retrieval of data in memory.  Alphanumeric and numeric variables are stored together, even though different commands can be used to initialize them.  This means that there can be only one variable by any particular name, regardless of the type of data that is stored in that variable.  All variable values are stored internally as strings and if numeric values are required for comparison, the values are converted into numeric values at the time of the comparison.