Blame view

ref-impl/x/strings.s 276 Bytes
f2c4dc81   Salvador Abreu   added most of the...
1
2
3
4
5
6
7
8
9
10
11
program = map () -> () [
	writeString ("Hi there.\n");
	more := true;
	* [ more -> writeString("? ");
		    s := readString();
		    writeString("You typed: \"");
		    writeString(s);
		    writeString("\".\n");
		    more := s ~= "" ];
	writeString ("See you around.\n");
]