-
Notifications
You must be signed in to change notification settings - Fork 1
Khaotica
Say Hi to the Khaotica: Universal generic bitestream analyzer inspired by FLAVOR. More information about FLAVOR is available at its home page
Khaotica uses Flavor description to parse bitstream. Parsed information could be dumped to text, edited and be written back to bitstream. Don't need to make from scratch bitstream reader taking care about byteendian, bit order, codes Exp-Golomb etc. Just copy or write flavor description and Khaotica will do the rest for you.
Khaotica uses Bison\Flex grammar from origin Flavor package to do lexical and syntax parsing of Flavor script. Abstract Syntax Tree is being traversed with bitstream reading to actual values. Keeping actual values separately from AST gives ability to mutate values later or reuse AST multiple times while bitstream data is available.
There are a lot of place to improve:
- SDK to extend functionality
- Graphical User Interface
- Dynamic bitstream viewer: parsing on the fly, editing\writing on the fly
- Meta language to define primitive types to generalize parsing and go away from ISO specific.