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)

There are no comments on this page.
Comments are welcome and encouraged, including disagreement and critique. However, this is not a space for abuse. Disagreement is welcome; personal attacks, harassment, or hate will be removed instantly. This site reflects personal opinions, not universal truths. If you can’t distinguish between the two, this probably isn’t the place for you. The system temporarily stores IP addresses and browser user agents for the purposes of spam prevention, moderation, and safeguarding. This data is automatically removed after fourteen days.
Comments powered by BalfComment