Commit Graph

8 Commits

Author SHA1 Message Date
lcdr
c4c0bad416 Added support for normal packets and reduced code duplication. 2015-06-14 12:16:57 +02:00
lcdr
bfa76cf704 Added the structure definition files for replica parsing. 2015-06-11 21:20:10 +02:00
lcdr
1e36774079 Added captureexplorer. 2015-06-08 21:22:58 +02:00
lcdr
651f0d05db Yielded structures now include the indentation level. 2015-06-03 20:36:11 +02:00
lcdr
780fd4e614 Backwards-incompatible changes.
Changed:

Structure definition syntax changes:

* The VAR: variable reference has been replaced by EVAL: which allows you to use any expression, even involving other variables. The result of the expression is used as the value (e.g. loop length).

* The "always ...?" syntax for defining fatal asserts has been changed to "assert ..."

* The "expect ..." syntax for non-fatal asserts has been introduced.

Parser changes:

* The Structure tuples yielded by parse now include a parameter "unexpected" that will be None if no expects are defined, True if any expects are False, or False if all expects are True.

* It is now possible to pass pre-defined variables to parse.
2015-06-02 20:09:11 +02:00
lcdr
993e2d3211 README.md edited online with Bitbucket 2015-04-21 20:01:26 +00:00
lcdr
f0a3521422 Minor updates! 2015-04-21 21:55:09 +02:00
lcdr
e7f20f3eaf Added structparser 2015-03-31 20:03:55 +02:00