10 lines
221 B
Plaintext
10 lines
221 B
Plaintext
// Example user macro: echo (identity)
|
|
// Contract: expand(json: string) -> string (AST JSON v0)
|
|
|
|
static box MacroBoxSpec {
|
|
expand(json) {
|
|
// In real macros, parse and transform AST JSON here.
|
|
return json
|
|
}
|
|
}
|