WORK.RIG 561 B

123456789101112131415161718192021222324252627282930
  1. -- This is file WORK.RIG
  2. -- You can try examples
  3. -- EX1.RIG - how to take Tail and Head of list
  4. -- EX2.RIG - how to analyse and print polish form of arithmetic expression
  5. -- GRAM2.RIG - small language (SL) source syntax grammar
  6. -- GRAM1.RIG - tree abstract grammar for SL
  7. -- INTER.RIG - interpreter of SL
  8. -- BCOMP.RIG - compiler of SL to Pascal
  9. -- EX1.txt - input text in SL
  10. -- THIS IS SIMPLE PROGRAM ; TRY press F6 and then F7; Exit ALT+X
  11. #START
  12. $E:=28; $N:=3;
  13. PRINT <. AA : $E , BB : $N .>
  14. ##