The National 5 language is almost fully implemented, modulo the
following issues
Known bugs, omissions and issues (*** stops existing examples in
manual from working)
- Are procedure calls a part of the N5 language? They are
handled, but not typechecked as there are no standard procedures!
- Perhaps CS and CF errors should be separated/switchable for
exam examples, particularly with elisions - or maybe something more
inventive or interactive is possible.
- Should expressions over more than one line be allowed? They
are not currently.
- RelOp: both operands should probably be scalars except for
equality
- Elisions: special case of eg 5 < 6 AND 6 > 5 shows as an
elision in the syntax colouring, although is parsed correctly
- input syntax DECLARE... AS .. INTIALLY FROM... is currently
allowed but probably should not be
- currently both uppercase and lowercase boolean literals are
allowed, eg FALSE or false; have previously been lowercase only but
many new examples use uppercase
- centering the editor window to the first compiler error would
be nice
If you discover others or have suggestions for improvement, please let
me know via email