smokes: add JSON nested/invalid cases; force VM backend; temp nyash.toml with json_native package for resolution

This commit is contained in:
Selfhosting Dev
2025-09-26 00:38:14 +09:00
parent 6ce06501e1
commit b3a96faccb
30 changed files with 135 additions and 295 deletions

View File

@ -12,7 +12,7 @@ impl NyashRunner {
Ok(s) => s,
Err(e) => { eprintln!("❌ Error reading file {}: {}", filename, e); process::exit(1); }
};
// Using preprocessing (legacy inline or AST-prelude merge when NYASH_USING_AST=1)
// Using preprocessing with AST-prelude merge (when NYASH_USING_AST=1)
let mut code2 = code;
let use_ast_prelude = crate::config::env::enable_using()
&& crate::config::env::using_ast_enabled();