NAME
PyonKernel — Pyon's reader in the CCN Cloud
SYNOPSIS
POST https://www.wolframcloud.com/obj/ccn/PyonKernel mode=ping | mode=read&text_b64=…&grid=6&mochi_at=1,1&onigiri_at=4,1
DESCRIPTION
A public API function, deployed in the account ccn, that reads a Pyon text and answers with JSON. It stores nothing, writes nothing, deletes nothing and holds no AI key. Mode ping needs nothing and answers with the deployment (kernel, release), whether its key objects are found (true or false only) and the limits: 2000 characters, 12 lines, 9 times, 12 moves a line, 80 steps. Mode read takes the text (or text_b64, UTF-8 in base 64), the size of the square (3 to 12, 6 by default) and the home squares, and answers with the lines it understood, every step to play and its notes. Browsers may call it only from Pyon's own pages (the Origin https://lossofgenerality.github.io, or none).
RETURN VALUE
JSON: for read, { kernel, grid, start, lines, steps, notes }.
ERRORS AND MESSAGES
BadMode: "mode is read or ping". Forbidden: "Pyon is read only for its own pages".
NOTES
The cell refuses to deploy unless PyonKernel resolves to the account ccn (pyonAccountOf, pyonWrongAccount). The live build is "PyonKernel 2026-12-02 02:40".
EXAMPLE
curl -s -X POST https://www.wolframcloud.com/obj/ccn/PyonKernel -d mode=read --data-urlencode 'text=×2 ⤴ 💬; 0 💤;'
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
