Files
cell/parse.ce
2026-02-20 15:33:46 -06:00

8 lines
210 B
Plaintext

// cell parse - Parse a source file and output AST as JSON
var json = use("json")
var shop = use("internal/shop")
var filename = args[0]
var ast = shop.parse_file(filename)
log.compile(json.encode(ast, true))