vm/router: minimal special-method extension (equals/1); toString mapping kept

mir: add TypeCertainty to Callee::Method (diagnostic only); plumb through builder/JSON/printer; backends ignore behaviorally

using: confirm unified prelude resolver entry for all runner modes

docs: update Callee architecture with certainty; update call-instructions; CURRENT_TASK note

tests: quick 40/40 PASS; integration (LLVM) 17/17 PASS
This commit is contained in:
nyash-codex
2025-09-28 01:33:58 +09:00
parent 8ea95c9d76
commit 34be7d2d79
63 changed files with 5008 additions and 356 deletions

View File

@ -213,6 +213,10 @@ pub fn from_matches(matches: &ArgMatches) -> CliConfig {
std::env::set_var("NYASH_USING_PROFILE", "dev");
// AST prelude merge
std::env::set_var("NYASH_USING_AST", "1");
// Using grammar is mainline; keep explicit enable for clarity (default is ON; this makes intent obvious in dev)
std::env::set_var("NYASH_ENABLE_USING", "1");
// Allow top-level main resolution in dev for convenience (prod default remains OFF)
std::env::set_var("NYASH_ENTRY_ALLOW_TOPLEVEL_MAIN", "1");
// Ensure project root is available for prelude injection
if std::env::var("NYASH_ROOT").is_err() {
if let Ok(cwd) = std::env::current_dir() {