Contact us Heritage collections Image license terms
HOME ACL Associates Technology Literature Applications Society Software revisited
Further reading □ Contents1. Introduction2. Basic symbols and comments3. Identifiers, accumulators and cells4. Types and values5. Addresses and storage allocation6. Simple cell designation7. Assignment statements8. Integer accumulator assignments9. Real accumulator assignments10. Long accumulator assignments11. Cell assignments12. Block structure13. Procedures and labels14. Conditional and control statements15. Functions16. Cell declarations17. Synonym declarations18. Storage allocation19. Subcompilation and global storage20. Define statements, conditional compilation and include statements21. Compiler directives22. FORTRAN/PLASYD mixed programming23. ALGOL/PLASYD mixed programming24. Useful library routines25. Use of TASK macro to compile PLASYD programs26. SMO cell designation27. Compiler output28. PLAN instructions not provided for in PLASYD □ Appendices □ 1: Errors and comments2: 1900 character set3: Syntax definitions in alphabetical order4: Use of program XMED5: 1900 order code6: Code genereated for typical PLASYD statements7: A sample PLASYD program8: Less commonly used directivesReferences
ACD C&A INF CCD CISD Archives Contact us Heritage archives Image license terms

Search

   
ACLLiteratureICL 1906A manualsPLASYD
ACLLiteratureICL 1906A manualsPLASYD
ACL ACD C&A INF CCD CISD Archives
Further reading

Contents1. Introduction2. Basic symbols and comments3. Identifiers, accumulators and cells4. Types and values5. Addresses and storage allocation6. Simple cell designation7. Assignment statements8. Integer accumulator assignments9. Real accumulator assignments10. Long accumulator assignments11. Cell assignments12. Block structure13. Procedures and labels14. Conditional and control statements15. Functions16. Cell declarations17. Synonym declarations18. Storage allocation19. Subcompilation and global storage20. Define statements, conditional compilation and include statements21. Compiler directives22. FORTRAN/PLASYD mixed programming23. ALGOL/PLASYD mixed programming24. Useful library routines25. Use of TASK macro to compile PLASYD programs26. SMO cell designation27. Compiler output28. PLAN instructions not provided for in PLASYD
Appendices
1: Errors and comments2: 1900 character set3: Syntax definitions in alphabetical order4: Use of program XMED5: 1900 order code6: Code genereated for typical PLASYD statements7: A sample PLASYD program8: Less commonly used directivesReferences

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