freeze: macro platform complete; default ON with profiles; env consolidation; docs + smokes\n\n- Profiles: --profile {lite|dev|ci|strict} (dev-like default for macros)\n- Macro paths: prefer NYASH_MACRO_PATHS (legacy envs deprecated with warnings)\n- Selfhost pre-expand: auto mode, PyVM-only, add smokes (array/map)\n- Docs: user-macros updated; new macro-profiles guide; AGENTS freeze note; CURRENT_TASK freeze\n- Compat: non-breaking; legacy envs print deprecation notices\n
This commit is contained in:
8
apps/macros/examples/invalid_json_macro.nyash
Normal file
8
apps/macros/examples/invalid_json_macro.nyash
Normal file
@ -0,0 +1,8 @@
|
||||
// invalid_json_macro.nyash
|
||||
// Macro that returns invalid JSON (for strict error test)
|
||||
|
||||
static box MacroBoxSpec {
|
||||
expand(json) {
|
||||
return "NOT_JSON!"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user