README: three macro families, and what __openkal__ may be used for - #35
Merged
Merged
Conversation
The section said that no macro states that a program is built on openkal. That is too strong: the kernel interface is a layer like the others, and a statement about it is a fact. What the rule protects is the separation of the three questions, so the rule now states the separation: __openkal__ says kal_* may be called, the C library layer states the C environment, the triple states the system. Using __openkal__ to select a header or to infer the platform remains forbidden, and __has_include(<openkal/version.h>) reaches the same decision today. .agents/docs carries the design this follows and its execution plan.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents only. Revises rule 4 of "What a program built on openkal may assume": the kernel interface is stated by
__openkal__(defined where the resolved kernel-abi is openkal), the C environment by the C library layer, the system by the triple. Using__openkal__to select a header or infer the platform remains forbidden..agents/docs/2026-09-18-openkal-c-environment-and-personalities-design.mdis the design this follows, with its review record and self-review;2026-09-18-c-environment-execution-plan.mdis the plan. No declaration changes, so no version change.