Python Bytecode and AST Explorer

on 24.01.2024 by Kuter Dinel.

I made a Python bytecode & AST (Abstract Syntaxt Tree) explorer, it's similar to Godbolt Compiler Explorer. Also all the parsing and bytecode compilation is done on browser using Pyodide!

Paste or type your code to the left side and you are going to be able to view the AST or bytecode on the right side.

# Type your code here, # the bytecode will be displayed on the right automatically. for i in range(5): print("Hello world")
Show Bytecode
Show AST
# Loading Pyodide ...