smokes: add PHI/core/integration tests; parity uses Python LLVM harness; test runner noise filter\nparser: add opt-in TokenCursor bridge (NYASH_PARSER_TOKEN_CURSOR=1) for expressions\nmir: fix PHI incoming preds to use exit blocks; add debug PHI verification\nplugins(net/filebox): warning cleanup (dead_code), no behavior change\ndocs: smokes v2 README – add test accumulation policy and LLVM harness note\nCURRENT_TASK: Phase 15.5 newline refactor resume + plan

This commit is contained in:
Selfhosting Dev
2025-09-25 06:15:22 +09:00
parent 8fbbe2b3a0
commit d1041f4e22
36 changed files with 812 additions and 58 deletions

View File

@ -3,6 +3,7 @@
// ============ Error Codes (BID-1 alignment) ============
pub const NYB_SUCCESS: i32 = 0;
pub const NYB_E_SHORT_BUFFER: i32 = -1;
#[allow(dead_code)]
pub const NYB_E_INVALID_TYPE: i32 = -2;
pub const NYB_E_INVALID_METHOD: i32 = -3;
pub const NYB_E_INVALID_ARGS: i32 = -4;
@ -23,6 +24,7 @@ pub const METHOD_FINI: u32 = u32::MAX; // Destructor
// ============ TLV Tags ============
pub const TLV_TAG_BOOL: u8 = 1;
pub const TLV_TAG_I32: u8 = 2;
#[allow(dead_code)]
pub const TLV_TAG_I64: u8 = 3;
pub const TLV_TAG_STRING: u8 = 6;
pub const TLV_TAG_BYTES: u8 = 7;
@ -30,4 +32,5 @@ pub const TLV_TAG_HANDLE: u8 = 8;
pub const TLV_TAG_VOID: u8 = 9;
// ============ FileBox Type ID ============
#[allow(dead_code)]
pub const FILEBOX_TYPE_ID: u32 = 6;