Contact us Heritage collections Image license terms
HOME ACL Associates Technology Literature Applications Society Software revisited
Further reading □ Contents □ 1. Introduction □ 2. Basic symbols and comments □ 3. Identifiers, accumulators and cells □ 4. Types and values □ 5. Addresses and storage allocation □ 6. Simple cell designation □ 7. Assignment statements □ 8. Integer accumulator assignments □ 9. Real accumulator assignments □ 10. Long accumulator assignments □ 11. Cell assignments □ 12. Block structure □ 13. Procedures and labels □ 14. Conditional and control statements □ 15. Functions □ 16. Cell declarations □ 17. Synonym declarations □ 18. Storage allocation □ 19. Subcompilation and global storage □ 20. Define statements, conditional compilation and include statements □ 21. Compiler directives □ 22. FORTRAN/PLASYD mixed programming □ 23. ALGOL/PLASYD mixed programming □ 24. Useful library routines □ 25. Use of TASK macro to compile PLASYD programs □ 26. SMO cell designation □ 27. Compiler output □ 28. PLAN instructions not provided for in PLASYD □ Appendices □ 1: Errors and comments □ 2: 1900 character set □ 3: Syntax definitions in alphabetical order □ 4: Use of program XMED □ 5: 1900 order code □ 6: Code genereated for typical PLASYD statements □ 7: A sample PLASYD program □ 8: Less commonly used directives □ References
ACD C&A INF CCD CISD Archives Contact us Heritage archives Image license terms

Search

   
⟶ ACL ⟶ Literature ⟶ ICL 1906A manuals ⟶ PLASYD
⟶ ACL ⟶ Literature ⟶ ICL 1906A manuals ⟶ PLASYD
ACL ACD C&A INF CCD CISD Archives
Further reading ⇓

□ Contents □ 1. Introduction □ 2. Basic symbols and comments □ 3. Identifiers, accumulators and cells □ 4. Types and values □ 5. Addresses and storage allocation □ 6. Simple cell designation □ 7. Assignment statements □ 8. Integer accumulator assignments □ 9. Real accumulator assignments □ 10. Long accumulator assignments □ 11. Cell assignments □ 12. Block structure □ 13. Procedures and labels □ 14. Conditional and control statements □ 15. Functions □ 16. Cell declarations □ 17. Synonym declarations □ 18. Storage allocation □ 19. Subcompilation and global storage □ 20. Define statements, conditional compilation and include statements □ 21. Compiler directives □ 22. FORTRAN/PLASYD mixed programming □ 23. ALGOL/PLASYD mixed programming □ 24. Useful library routines □ 25. Use of TASK macro to compile PLASYD programs □ 26. SMO cell designation □ 27. Compiler output □ 28. PLAN instructions not provided for in PLASYD
Appendices
□ 1: Errors and comments □ 2: 1900 character set □ 3: Syntax definitions in alphabetical order □ 4: Use of program XMED □ 5: 1900 order code □ 6: Code genereated for typical PLASYD statements □ 7: A sample PLASYD program □ 8: Less commonly used directives □ References

2. BASIC SYMBOLS AND COMMENTS

2.1 Syntax

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|'|"

2.2 Reserved Words and Comments

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[]' ;
⇑ Top of page
© Chilton Computing and UKRI Science and Technology Facilities Council webmaster@chilton-computing.org.uk
Our thanks to UKRI Science and Technology Facilities Council for hosting this site