using: safer seam defaults (fix_braces OFF by default) + path-alias handling; json_native: robust integer parse + EscapeUtils unquote; add JsonCompat layer; builder: preindex static methods + fallback for bare calls; diagnostics: seam dump + function-call trace
This commit is contained in:
11
nyash.toml
11
nyash.toml
@ -8,6 +8,15 @@ NYASH_DEV_AT_LOCAL = "1"
|
||||
[using]
|
||||
paths = ["apps", "lib", "."]
|
||||
|
||||
# Optional package-style entries (opt-in via using resolver)
|
||||
[using.json_native]
|
||||
path = "apps/lib/json_native/"
|
||||
main = "parser/parser.nyash"
|
||||
|
||||
[using.aliases]
|
||||
# Resolve `using json as ...` to json_native when desired
|
||||
json = "json_native"
|
||||
|
||||
[modules]
|
||||
# Map logical namespaces to Nyash source paths (consumed by runner)
|
||||
selfhost.compiler.debug = "apps/selfhost/compiler/boxes/debug_box.nyash"
|
||||
@ -376,4 +385,4 @@ singleton = false
|
||||
birth = { method_id = 0 }
|
||||
get = { method_id = 1 }
|
||||
set = { method_id = 2 }
|
||||
fini = { method_id = 4294967295 }
|
||||
fini = { method_id = 4294967295 }
|
||||
|
||||
Reference in New Issue
Block a user