1 #!/usr/bin/env trylon-interpreter
3 # Declaration, expression.
4 message = "Hello world!"
9 Standard print-line: "Yeh."
11 Standard print-line: "Nah."
16 Standard print-line: i string
20 Standard print-line: "-----"
25 Standard print-line: i string
27 Standard print-line: "-----"
30 for char in "abc" characters
33 Standard print-line: char char-string
34 Standard print-line: "-----"
38 for file in ("interpreter", "tests/interpreter")
40 contents = File contents-of: file
42 for line in contents lines
43 print: line-number string
48 print-line: exception message
50 # We can get to the compiler. But what could we do with it?