view python/tests/ppcitest.py @ 157:8f3924b6076e

Added some code generator things
author Windel Bouwman
date Sun, 03 Mar 2013 18:14:35 +0100
parents fe145e42259d
children
line wrap: on
line source


from core import BitReader

with open('main.s.bc', 'rb') as f:
   br = BitReader(f)
   br.parseModule()
   print(br)