Methods to generate code for string expressions;
all return the next code address.
Adds Concat, Len, and InputString to Machine11.
Members
-
Instructions
-
[Override] Add
InputString,Concat, andLen. -
Machine
-
[Override] Show strings in memory.
Methods
-
_escape()
-
Convert raw to literal string. Only escapes single quote, newline, backslash; see module:Base~Tuple#escape.
-
concat()
-
[ 'concat' a b ] -
input()
-
[ 'input' prompt? default? ]returns next code address. -
len()
-
[ 'len' b ]returnsnumber. -
string()
-
[ 'string' value ]returnsstring.