C uint64 expression import: bounded #622 slice
NOT A MASTER PLAN. Implements one finite, independently testable C frontend; it does not close #622 or widen the #621 contract.
- Source profile: exact
#include <stdint.h>\nprelude, oneuint64_tfunction,(void)or 1..6 distinct named uint64_t parameters, one return expression. Expressions contain parameters, decimal ULL constants, parentheses, +, -, *. Standard C precedence/left association. Whitespace/comments retained byte-for-byte. Maximum source4096, upper64 SSA results, expression nesting16. No division, narrow/signed types, effects, pointers, casts, macros, calls, branches, loops or secondary declarations. - Production implementation: personally handwritten seeded Omega. Reuse committed SHA core and hash-qualified seed compiler from existing immutable lineage. No C/Rust/Python production parser/runtime. Python/GCC are independent development oracles only.
- Output: the frozen additive source-aware v1 envelope defined by #621 at4d414574, C17/profile1, raw-byte sidecar, exact spans/source/semantic hashes. No old OSC serialization, checker changes, semantic-proof receipt or lower execution support is invented.
- Signature includes all declared input slots; append a semantically neutral u64 add-zero when needed to represent the return value as the final SSA result. Every unsigned arithmetic operation is defined modulo2^64. Exact source replay uses stored source bytes, not reformatting.
- RED: compile a valid native feature-refusal stub and run34positive/40negative source cases. Positive failures must be missing import behavior, not compiler/setup errors.
- GREEN: implement parser/builder, independently decode/interpret upper output and compare original C with actual GCC execution. Check source bytes, hashes, spans, profile/obligations and refusals with empty stdout. Then successfully compile five arithmetic/parameter/literal mutants and observe semantic mismatches. Do not call a failed mutant compilation a caught semantic mutant.
- Final: freeze source, replay committed inputs with qualified compiler, validate emitted units with #621 only after its immutable READY gate, request independent review, publish exact source/evidence and limitations. #622 exporter, narrow widths, control flow,10k-program qualification, OSC/native/proof integration remain separate required work, not silently dropped acceptance criteria.
Ownership: L589 parent implementation only; isolated universal/622-c-u64-import worktree. L574 owns #621 codec and is not duplicated or edited. Renda owns publication; local READY acknowledgement is not a PR. User approved implementation without repeated step approvals.
Execution rulings
- Reuse #621 final immutable source cd2c41f3 after its committed-source cold replay returned PASS; retain its independent-review/Spark publication gates. This replaces only the frozen-plan parent, not lower formats or compiler source.
- Reuse #621's pinned source-only builder/bootstrap and public codec instead of growing a second bootstrap path. Host Python dispatch is explicitly disclosed.
- Refuse non-decimal ULL spellings, backslashes/trigraphs before comment stripping,
and unsafe identifier namespaces. Native GCC reproduced octal/splice semantic
differences before the correction. Reserve
calc/omega_external names and lowercase non-int/uint-prefix parameter names for this first profile. Broader naming/preprocessing remains unsupported, not silently approximated. - Correct only the independent oracle's unused-parameter warning precondition: unused named parameters are valid C17 and intentionally tested. No original program, assertion or refusal fixture was removed. Preserve original failure.
- Final affected gate includes35programs/48refusals/817nativeC comparisons, separate #621 decode/replay/legality requests,15boundary checks and five genuinely compiled behavioral mutants. These counts do not replace the issue's broader corpus/width/export/native execution acceptance requirements.