- Escape source paths interpolated into generated C/C++ string literals
(PushInspectSource) and validate #import/#style targets at parse time so
crafted paths cannot escape emitted #include lines.
- Reject source lines exceeding the frontend line buffer with a located
error instead of silently splitting them; mark truncated lexer tokens and
fail the expression parser on them.
- Fail lowering when statement rewriting or name-shadow lists overflow
their fixed buffers; both previously changed generated-code meaning
silently.
- Strict checking no longer explodes on C interop: unresolved calls,
statements, and address-of in modules importing C headers are left to the
C compiler, and runtime enum members resolve through the embedded runtime
declarations exactly as the emitter resolves them.
- C/C++ indexing of fixed arrays and string bytes lowers through
KRYON_INDEX; builds defining KRYON_BOUNDS_CHECK trap out-of-range indexes
with a diagnostic, release builds stay raw.
- Emit ui_tree.h and host-hook prototypes only when a module actually uses
block widgets, so scalar-only modules no longer require widget types.
- Mark raw-c statements in generated output with a provenance comment and
document the .kry trust model in the language spec.
- Add spec fixtures for over-long lines and invalid #import targets; teach
the language harness about the ui_tree.h header.
Plan 9's native compilers are C compilers; the C++ backend never feeds
them, so the ported 8c rewrite pass was dead code. k2cpp now takes only
--no-main, --root, and -o.
.kry -> C++ compiler sharing the Kir frontend with k2c. Emits .cpp/.hpp
per module calling the C Kryon runtime through extern "C" declarations,
plus kryon_project.h/.c (still plain C) and the --plan9 and --include-dir
options ported from k2c. Inferred declarations emit 'auto' instead of
__auto_type so g++ accepts the output. Wired into the Makefile, tools
package, conformance matrix, feature matrix, and a k2cpp syntax test.