hammer/examples
Alex Willmer 59ba68ef84 Use byte literals in examples and unit tests
In Python 2.x an unprefixed string literal produces a byte string.
In Python 3.x an unprefixed string literal produces a textual string.

To produce a byte string in both a b prefix is needed, e.g. b'foo'.
Since I believe Hammer works predominantly with byte strings I have used
b prefixes throughout.
2019-05-10 21:59:03 +01:00
..
base64.c Ditch longs and long longs in favor of stdint.h types, which has cascading 2013-11-15 00:12:57 -05:00
base64.py Use byte literals in examples and unit tests 2019-05-10 21:59:03 +01:00
base64_sem1.c Remove vacuous states in base64_sem?.c 2014-12-07 00:16:57 -05:00
base64_sem1.py Use byte literals in examples and unit tests 2019-05-10 21:59:03 +01:00
base64_sem2.c Remove vacuous states in base64_sem?.c 2014-12-07 00:16:57 -05:00
base64_sem2.py Use byte literals in examples and unit tests 2019-05-10 21:59:03 +01:00
dns.c Added a void* user_data pointer to HPredicate 2013-11-23 13:01:55 -06:00
dns.h make actions for the remaining RDATA types 2013-01-17 21:58:17 +01:00
dns_common.c Added a void* user_data pointer to HPredicate 2013-11-23 13:01:55 -06:00
dns_common.h Added a void* user_data pointer to HAction 2013-11-23 12:53:11 -06:00
grammar.c Reactivate examples that can build on windows 2016-01-31 18:11:27 +01:00
grammar.h refactored out the grammar handling. handles epsilons better 2015-04-08 17:32:12 +02:00
Makefile fix linking of base64 example 2013-02-17 15:47:18 +01:00
rr.c Added a void* user_data pointer to HPredicate 2013-11-23 13:01:55 -06:00
rr.h All tests pass; lots of stuff is no longer const 2013-05-24 15:07:47 +02:00
SConscript Enable absolute imports, true division, & print() 2019-05-10 21:13:32 +01:00
ties.c Changed generating functions printouts to be copy-paste-able into SageMath. 2015-04-10 10:05:19 +02:00