Mixin: Code_String

Eleven~ Code_String

Methods to generate code for string expressions; all return the next code address. Adds Concat, Len, and InputString to Machine11.

Source:

Members


Instructions

[Override] Add InputString, Concat, and Len.

Source:

Machine

[Override] Show strings in memory.

Source:

Methods


_escape()

Convert raw to literal string. Only escapes single quote, newline, backslash; see module:Base~Tuple#escape.

Source:

concat()

[ 'concat' a b ]

Source:

input()

[ 'input' prompt? default? ] returns next code address.

Source:

len()

[ 'len' b ] returns number.

Source:

string()

[ 'string' value ] returns string.

Source: