Skip to content

Add HLIL-backed parity tests for precompiler lexer#35

Merged
themuffinator merged 1 commit intomainfrom
codex/add-unit-tests-for-pc_loadsourcefile-functions
Oct 30, 2025
Merged

Add HLIL-backed parity tests for precompiler lexer#35
themuffinator merged 1 commit intomainfrom
codex/add-unit-tests-for-pc_loadsourcefile-functions

Conversation

@themuffinator
Copy link
Owner

Summary

  • add a cmocka parity suite that exercises PC_LoadSourceFile, PC_ReadToken, PC_PeekToken, and PC_UnreadToken against captured HLIL expectations
  • record the token and diagnostic snapshots for fw_items.c and syn.c under tests/reference for reuse across future lexer tests
  • register the lexer parity test with the BOTLIB_PARITY_ENABLE_SOURCES target

Testing

  • not run (BOTLIB_PARITY_ENABLE_SOURCES remains disabled by default)

https://chatgpt.com/codex/tasks/task_e_6903c8ac70248328bc1a90720b4c1304

@themuffinator themuffinator merged commit e1cba3d into main Oct 30, 2025
0 of 2 checks passed
@themuffinator themuffinator deleted the codex/add-unit-tests-for-pc_loadsourcefile-functions branch November 2, 2025 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant