phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
15
apps/macros/expand_runner.hako
Normal file
15
apps/macros/expand_runner.hako
Normal file
@ -0,0 +1,15 @@
|
||||
// Macro Expand Runner (PyVM)
|
||||
// PoC: reads AST JSON v0 from args[0] and echoes it unchanged.
|
||||
// Later: call MacroBoxSpec.expand(ast_json) and print result.
|
||||
|
||||
function main(args) {
|
||||
if args.length() == 0 {
|
||||
print("{}")
|
||||
return 0
|
||||
}
|
||||
local j
|
||||
j = args.get(0)
|
||||
print(j)
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user