Ozark

Ozark is currently in beta. If you run into anything unexpected, feel free to file an issue on GitHub.

Powered by Memphis.

Success!
{
"name":string"<module>"
"bytecode":[
0:string"LOAD_CONST 0 (42)"
1:string"STORE_GLOBAL 0 (y)"
2:string"LOAD_CONST 1 (<code foo>)"
3:string"MAKE_FUNCTION"
4:string"STORE_GLOBAL 1 (foo)"
5:string"LOAD_GLOBAL 1 (foo)"
6:string"LOAD_CONST 2 (12)"
7:string"LOAD_CONST 3 (11)"
8:string"CALL 2"
9:string"POP_TOP"
10:string"HALT"
]
"varnames":[]
"freevars":[]
"names":[
0:string"y"
1:string"foo"
]
"constants":[
0:{
"type":string"Int"
"value":int42
}
1:{
"type":string"Code"
"value":{
"name":string"foo"
"bytecode":[
0:string"LOAD_FAST 0 (x)"
1:string"LOAD_GLOBAL 0 (y)"
2:string"ADD"
3:string"LOAD_FAST 1 (z)"
4:string"ADD"
5:string"RETURN_VALUE"
]
"varnames":[
0:string"x"
1:string"z"
]
"freevars":[]
"names":[
0:string"y"
]
"constants":[]
}
}
2:{
"type":string"Int"
"value":int12
}
3:{
"type":string"Int"
"value":int11
}
]
}