view python/tests/ppcitest.py @ 192:6cd6260789a1

Added more tests for parser generator
author Windel Bouwman
date Sun, 26 May 2013 23:19:27 +0200
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)