READLINE(3PYON)Pyon manual · the Pyon app (index.html)READLINE(3PYON)

NAME

readLine — read one line of Pyon text

SYNOPSIS

readLine(text)

DESCRIPTION

Reads from left to right: numbers (2, ×2 and 2x are twice; none is once), then the longest key, stand-in or word that fits (so "jump" before "j"), then a loose word. It collects who, numbers, moves, lamps, dice and again; filler words such as "please" and "then" are passed over, and any other word is kept as unknown. The same rules as the kernel's readLine.

PARAMETERS

text: one line, without its ;.

RETURN VALUE

{ who, nums, acts, lamps, dice, again, unknown }.

SEE ALSO

readInPage(3pyon), readLine(3kernel)

SOURCE

src/pyon.html, line 580

AUTHOR

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

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0