READLINE(3KERNEL)Pyon manual · PyonKernel in the CCN Cloud (Wolfram Language)READLINE(3KERNEL)

NAME

readLine — read one line of Pyon text

SYNOPSIS

readLine(line_String)

DESCRIPTION

Reads from left to right: spaces are passed over; a number (2, ×2 or 2x) is taken whole; then the longest key, stand-in, code point or word that fits (again, dice, a lamp, ×2 and ×3, who, or a move; 🛑 is passed over); then a loose word: one, two, three and once are numbers, filler such as "please" and "then" is passed over, and anything else is kept as unknown.

PARAMETERS

line: one line, without its ;.

RETURN VALUE

<| "nums", "moves", "dice", "again", "lamps", "unknown", "who" |>.

SEE ALSO

pyonRead(3kernel), latinQ(3kernel), readLine(3pyon)

SOURCE

kernel/ff_pyonkernel.nb: line 101 of the kernel's one cell

AUTHOR

Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0