Run your own sandboxed SQA Reference Language scripts here! Note that scripts 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.
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
SQA Reference Language
CLASS Person IS { STRING name, INTEGER age } METHODS PROCEDURE introduce() SEND "Hello, my name is " & name TO DISPLAY END PROCEDURE FUNCTION getAge() RETURNS INTEGER RETURN age END FUNCTION END CLASS DECLARE pete INITIALLY Person ("Peter", 45)