annotate doc/utils.rst @ 318:e84047f29c78

Add burg and yacc initial attempts
author Windel Bouwman
date Tue, 31 Dec 2013 12:38:15 +0100
parents e95e5572cd6d
children 8d07a4254f04
rev   line source
310
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
1
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
2 Utilities
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
3 =========
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
4
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
5 Hexfile manipulation
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
6 --------------------
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
7
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
8
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
9 .. autoclass:: utils.HexFile
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
10
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
11
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
12 >>> from utils import HexFile
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
13 >>> h = HexFile()
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
14 >>> h.dump()
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
15 Hexfile containing 0 bytes
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
16 >>> h.addRegion(0, bytes([1,2,3]))
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
17 >>> h
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
18 Hexfile containing 3 bytes
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
19
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
20