15 lines
410 B
Plaintext
15 lines
410 B
Plaintext
|
|
// tools/hako_parser/ast_emit.hako — HakoAstEmitBox (MVP skeleton)
|
||
|
|
using selfhost.shared.common.string_helpers as Str
|
||
|
|
|
||
|
|
static box HakoAstEmitBox {
|
||
|
|
// Emit minimal AST JSON v0 from MapBox
|
||
|
|
to_json(ast) {
|
||
|
|
// NOTE: MVP naive stringify; replace with proper JsonEmitBox if needed
|
||
|
|
local s = "{\"boxes\":[],\"uses\":[]}"
|
||
|
|
return s
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
static box HakoAstEmitMain { method main(args) { return 0 } }
|
||
|
|
|