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

NAME

readInCloud — ask PyonKernel to read a story

SYNOPSIS

readInCloud(text)

DESCRIPTION

Posts mode=read, the text in base 64, the size of the square and the home squares to https://www.wolframcloud.com/obj/ccn/PyonKernel, and turns the answer into the same shape readInPage() gives.

PARAMETERS

text: the story, as Pyon text.

RETURN VALUE

A promise of { by, notes, steps, lines }.

ERRORS AND MESSAGES

It throws when the answer is not JSON, not 200, or has no lines; read() then reads in the page.

NOTES

The kernel stores nothing and keeps nothing about the child.

SEE ALSO

read(3pyon), readInPage(3pyon), PyonKernel(3kernel)

SOURCE

src/pyon.html, line 564

AUTHOR

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

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0