Package lepl :: Package regexp :: Module binary
[hide private]
[frames] | no frames]

Module binary

source code

A proof-of-concept regexp implementation for binary data strings.

The hope is that one day we can parse binary data in the same way as text...

Classes [hide private]
  BinaryAlphabet
An alphabet for binary strings.
Functions [hide private]
 
binary_single_parser(label, text)
Parse a binary regular expression, returning the associated Regexp.
source code
 
binary_parser(*regexps)
Parse a set of binary regular expressions, returning the associated Regexp.
source code
Variables [hide private]
  BINARY = BinaryAlphabet()
  __compiled_binary_parser = make_str_parser(BINARY)
Cache the parser to allow efficient re-use.