letter ::= A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z
digit ::= 0|1|2|3|4|5|6|7|8|9
char ::= letter|digit|+|-|*|/|<|=|>|#|,|.|;|:|@|&|%|(|)|[|]|£|$|?|!
reservedword ::= ACC|AND|A1|A2|
BASE!BEGIN|
CARRY|CASE|CASEND|CH|CHAR|CNT
DATA|DEFINE|DO|
ELSE|END|ENTRY|ER|EX|EXTERNAL
FIX|FLOAT|FOR|FOVERFLOW|FROM|FUNCTION|
GLABEL|GLOBAL|GLOBEND|GO|GOTO|
IF|INCLUDE|INTEGER|
LA|LOGICAL|LONG|LOWEND|LOWER|
MINUS|
NEG|NONPLASYD|NOT=|NULL|
OBEY|OF|OR|OVERFLOW|
PROCEDURE|PURE|PUREND|
REAL|RETURN|
SA|SLA|SLC|SLL|SRA|SRAV|SRC|SRL|STEP|SYN|
THEN|TO|TOPGLOBAL|
UNDER|UNTIL|
WHILE|X0|X1|X2|X3|X4|X5|X6|X7|
X01|X12|X23|X34|X45|X56|X67|X70|
:=|++|--|''|""|
<CH|>CH|<=CH|>=CH|<=|>=
basic symbol ::= char|reservedword|'|"
The reserved words given above cannot be used as identifiers within the PLASYD program. Their use will become clear in later sections. All reserved words other than '',:=,"",++ and -- should be delimited before and after by either newlines, spaces or characters (char) other than letters and digits. The symbol := can be written as →.
All characters (char) within the symbols [ and ] are ignored as comment, except within strings and character sequences where [ and ] are normal characters. For example:
X1 := 'AB[]' ; [THIS IS A COMMENT]
is equivalent to writing:
X1 := 'AB[]' ;