- Modular block files: split into blocks-algo, blocks-data, blocks-proc - New modules: sections.js (labelled canvas areas), proc-browser.js (procedure tree modal), lib-loader.js (lazy library loading), templates.js (project templates), errno-data.js (errno table) - Test infrastructure: browser test suite (28 tests) and Node pure-function tests (75 tests) - Warning system: unified .block-warn for disconnected inputs, unconnected error hooks, and zero-exit-in-error-path - Error path highlighting: red flow paths and block borders for error-only subgraphs - Input hooks: hidden by default, shown during linking; outputs always at bottom - Block editor modal: pencil icon, colour picker for accent, compact field labels - Doc generation: standalone node script extracts JSDoc -> docs/API.md (124 declarations) - Persistence: save/restore sections, errno selection, block colours - Fixes: _segmentsIntersect bug, WCEnd crash from closest(this), drawpath guard on detached elements
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"procedures": [
|
|
{
|
|
"name": "puts",
|
|
"inputs": [["str","string"]],
|
|
"outputs": [],
|
|
"returnStyle": "void",
|
|
"desc": "Outputs a string followed by a newline to the console."
|
|
},
|
|
{
|
|
"name": "printf",
|
|
"inputs": [["fmt","string"]],
|
|
"outputs": [["result","int"]],
|
|
"returnStyle": "value",
|
|
"formatString": true,
|
|
"desc": "Outputs a formatted string with placeholders to the console. Dynamically creates data inputs for each % specifier in the format string."
|
|
},
|
|
{
|
|
"name": "getchar",
|
|
"inputs": [],
|
|
"outputs": [["result","int"]],
|
|
"returnStyle": "value",
|
|
"desc": "Reads a single character from the keyboard input."
|
|
},
|
|
{
|
|
"name": "putchar",
|
|
"inputs": [["c","int"]],
|
|
"outputs": [["result","int"]],
|
|
"returnStyle": "value",
|
|
"desc": "Writes a single character to the console output."
|
|
},
|
|
{
|
|
"name": "perror",
|
|
"inputs": [["msg","string"]],
|
|
"outputs": [],
|
|
"returnStyle": "void",
|
|
"desc": "Prints an error message describing the last error to stderr."
|
|
}
|
|
]
|
|
}
|