Skip to content

feat(wam-c): support ground-list atom_codes reverse mode - #4267

Merged
s243a merged 1 commit into
mainfrom
feat/wam-c-atom-codes-reverse
Sep 14, 2026
Merged

s243a merged 1 commit into
mainfrom
feat/wam-c-atom-codes-reverse

Conversation

@s243a

@s243a s243a commented Sep 14, 2026

Copy link
Copy Markdown
Owner

WAM-C atom_codes/2 now builds an atom from a finite, fully bound proper Unicode code list, closing a bounded C/Rust parity gap. The converter accepts both VAL_LIST and compiled [|]/2 list cells, validates scalar values, interns the result, and binds through the normal trail. Open/cyclic or invalid lists remain explicit WAM_ERR_UNSUPPORTED; U+0000 is unsupported because C atoms use NUL-terminated strings. The generated-C/SWI suite covers ASCII, empty, multibyte, malformed inputs, and caller backtracking rollback. Validation: focused atom_codes suite, C target suite, adjacent atom_chars and char_code suites, and ASan/UBSan run pass (LeakSanitizer unavailable under ptrace).

@s243a
s243a merged commit 78d5b5b into main Sep 14, 2026
16 checks passed
@s243a
s243a deleted the feat/wam-c-atom-codes-reverse branch September 14, 2026 22:27
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