Run your own sandboxed SQA Haggis commands here! Note that commands can only run for a maximum of 1 second of execution time.
This is actually a transpiler from SQA Haggis 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 Haggis interpreter through that.
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