rustpython-codegen 0.5.0

Compiler for python code into bytecode for the rustpython VM.
Documentation
---
source: crates/codegen/src/compile.rs
assertion_line: 9688
expression: "compile_exec(\"\\\nx = Test() and False or False\n\")"
---
  1           0 RESUME               (0)
              1 LOAD_NAME            (0, Test)
              2 PUSH_NULL
        >>    3 CALL                 (0)
              4 CACHE
              5 CACHE
              6 CACHE
              7 COPY                 (1)
              8 TO_BOOL
              9 CACHE
             10 CACHE
        >>   11 CACHE
             12 POP_JUMP_IF_FALSE    (11)
             13 CACHE
             14 NOT_TAKEN
             15 POP_TOP
             16 LOAD_CONST           (False)
             17 COPY                 (1)
             18 TO_BOOL
             19 CACHE
             20 CACHE
             21 CACHE
             22 POP_JUMP_IF_TRUE     (3)
             23 CACHE
             24 NOT_TAKEN
             25 POP_TOP
             26 LOAD_CONST           (False)
             27 STORE_NAME           (1, x)
             28 LOAD_CONST           (None)
             29 RETURN_VALUE