annotate 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
rev   line source
94
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
1
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
2 from core import BitReader
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
3
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
4 with open('main.s.bc', 'rb') as f:
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
5 br = BitReader(f)
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
6 br.parseModule()
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
7 print(br)
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
8