Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

SQA Reference Language compiler and interpreter

SQA Reference Language compiler and interpreter

Run your own sandboxed SQA Reference Language commands here! Note that commands can only run for a maximum of 1 second of execution time.

This is actually a transpiler from SQA Reference Language to YASS which is then parsed, compiled and interpreted directly. YASS itself can be partially ported directly to Python and several other languages (still underwork).

NOTE: Input does not work on my website version of the program, you will need to download ZPE 1.7.2 or later and run the SQA Reference Language interpreter through that.

Test ZPE
Output

	

Examples

SQA Reference Language
SET previousReading TO 1000
REPEAT
  SEND "Give me your reading please" TO DISPLAY
  RECEIVE currentReading FROM KEYBOARD
	IF currentReading < previousReading THEN
    SEND "Reading too low. Please re-enter" TO DISPLAY
  END IF
UNTIL currentReading > previousReading
SEND currentReading TO DISPLAY