Skip to content

[tmp] openkal 0.16 draft: least stack size, PASS_INPUT, enumeration release (verification only) - #49

Closed
Sunrisepeak wants to merge 4 commits into
mainfrom
tmp/three-reports
Closed

Sunrisepeak wants to merge 4 commits into
mainfrom
tmp/three-reports

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Temporary draft for cross-platform verification. Not for merge.

One branch name, tmp/three-reports, across openkal, openkal-linux, openkal-macos, openkal-windows, openkal-emscripten and openkal-musl, so that each CI builds the others at the same branch. The commits are checkpoints; the final change will be one PR per repository after the design (.agents/docs/2026-10-25-three-reports-optimisation-design.md in openkal) is reviewed, and this draft will be closed.

What it carries: kal_task_start_sized (a least stack size), KAL_TERM_PASS_INPUT (whether input is altered), and what closing a directory does to its enumerations.

…what closing a directory ends

kal_task_start_sized starts a context whose stack is at least the size asked
for; a request beyond what the environment can give is kal_err_no_memory, the
outcome kal_alloc reports when it is exhausted (clause 3.1).

KAL_TERM_PASS_INPUT states that what is typed reaches the program as the
keystrokes produced it. KAL_TERM_PASS_CONTROL keeps its meaning, and its
paragraph no longer claims the bytes arrive unaltered.

fs.h states what closing a directory does to its enumerations, and that
kal_fs_list_next refuses a closed directory.

Clause 11 entries 22 to 24, and a conformance observation of the least size.
Its console consumes Ctrl+J in raw mode unless its own switch for delivering
what a key produces is on, and its line assembly alters input whatever it is
asked; with the position set, all three deliver 0x0d and 0x0a.
…tion: not an error, distinguished or zero, and put back
@Sunrisepeak

Copy link
Copy Markdown
Member Author

Temporary verification draft; carried into #50.

@Sunrisepeak
Sunrisepeak deleted the tmp/three-reports branch October 24, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant