naigama
Kaitai Struct
naigama | Kaitai Struct | |
---|---|---|
4 | 44 | |
0 | 3,844 | |
- | 1.2% | |
6.0 | 7.5 | |
5 months ago | 28 days ago | |
C | Shell | |
GNU General Public License v3.0 or later | GPL-3.0-or-later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
naigama
-
Show off your (side) projects!
A PEG parser library, in generations (parses its own grammar specification using the previous generation's parser): https://github.com/kjhermans/naigama
-
Design Patterns
And, of course, I use it in my projects (always eat your own dogfood). For example, here: https://github.com/kjhermans/naigama/blob/master/src/gen3/include/naigama/naig_defines.h (not complete, as in this project this concept is spread out over multiple include files).
- What projects are you working on or planning to do this year?
-
Is there a definition of perl regex in perl regex
I have a project called naigama (it's here: https://github.com/kjhermans/naigama); it's the implementation of a PEG parser system in C, perl, java, rust. My purpose is to see if I can get to a definition of a regular expression that is comparably powerful to perl regex (which is indeed very powerful), but also parseable through a relatively secure, formal definition (my parsing system).
Kaitai Struct
- Reverse-engineering an encrypted IoT protocol
-
Parsing an Undocumented File Format
- ImHex [2], which has a pattern language [3] which allows parsing, and it seems more powerful than what Kaitai offers. I stumbled upon some limitations with it but it was still useful.
[1]: https://kaitai.io/
- Kaitai Struct – a declarative language used to describe binary data structures
-
HTTPie Desktop: cross-platform API testing client for humans
Beautiful. Didn't know something like this exists. Reminds me of Katai[0]
[0]. https://kaitai.io/
-
Hacking the LG Monitor's EDID
An EDID override like this would be helpful for macOS as well, where the monitors swapping around after standby is a real annoyance [0] [1]
EDID rewrites are 99% of the time blocked by the monitor firmware: https://notes.alinpanaitiu.com/Decoding-monitor-EDID-on-macO...
By the way, one helpful tool that helped me navigate the EDID dump was Kaitai Struct [2]. It shows a side by side view with the hex view and the EDID structure, and it highlights the hex values in real time as you navigate the structure. Unfortunately [3] it doesn't support the extension blocks that the author needs.
[0] https://notes.alinpanaitiu.com/Weird-monitor-bugs
[1] https://forums.macrumors.com/threads/external-displays-swapp...
[2] https://kaitai.io/
[3] https://github.com/kaitai-io/edid.ksy
- Kaitai Struct: new way to develop parsers for binary structures
-
Fq: Jq for Binary Formats
Kaitai Struct might be a good choice for that: https://kaitai.io/
-
Ingesting, parsing and making sense of device log data
For binary log format, there's the excellent Kaitai Struct frameworks, that make it very easy to generate parsers from a declarative schema
-
What is this tool? More info in comments
kaitai
-
Visual Programming with Elixir: Learning to Write Binary Parsers (2019)
https://kaitai.io/
Worth a look if you are writing binary parsers.
What are some alternatives?
mk_clib - My C stuff.
Protobuf - Protocol Buffers - Google's data interchange format
Dupfinder
csvkit - A suite of utilities for converting to and working with CSV, the king of tabular file formats.
huffman-c - huffman coding in C
Camelot - A Python library to extract tabular data from PDFs
sdbm_tree - This code implements a binary, self-balancing tree in a potentially limited resource, currently but not limited to, memory and the filesystem. BSD License.
tablib - Python Module for Tabular Datasets in XLS, CSV, JSON, YAML, &c.
mk_crypto
PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.
libdither - A C library for black-and-white image dithering
PyYAML