Future Legend
OK, so far, I’ve assumed that if you were curious enough to evaluate the code snippets, you were curious enough to work out how. In case you haven’t, here’s how:
Method One
Run gst
$ gst
At the prompt, type in the code and hit return:
st> 'Hello World' displayNl!
The easiest way to stop gst is to type Ctrl-D.
Method Two
Type the code into a text file, say code.st and evaluate it from the command line with:
$ gst code.st
What if we want to write an actual program, though?