Closed Catya3 closed 7 months ago
Allows easily debugging the IR using JSON.
Example usage:
$ go run ../cmd/neva/ build --target json 0_do_nothing/without_net_kw $ cat program.json { "ports": [ { "port_addr": { "path": "in", "port": "start" } }, { "port_addr": { "path": "out", "port": "stop" } } ], "connections": [ { "sender_side": { "path": "in", "port": "start" }, "receiver_sides": [ { "port_addr": { "path": "out", "port": "stop" } } ] } ] }
Allows easily debugging the IR using JSON.
Example usage: