3 ms·
Interesting, but now you have to add in the possibility of having bugs in your YAML file. The YAML is probably less readable than the spec for the binary format
by secondcoming 5y ago
Interesting, but now you have to add in the possibility of having bugs in your YAML file. The YAML is probably less readable than the spec for the binary format itself.
Looking at the code-gen for utf8_string [0] and it's a case of 'thanks, but no thanks'
> std::unique_ptr<std::vector<std::unique_ptr<utf8_codepoint_t>>> m_codepoints;
This is a solution looking for a problem, but I bet it was fun to write.
[0] https://formats.kaitai.io/utf8_string/cpp_stl_11.html https://formats.kaitai.io/utf8_string/cpp_stl_11.html
- saagarjha 5y agoKaitai is usually used when dealing with blobs that have poorly defined or reverse engineered layout. It’s not particularly great at what you probably think it should be used for, which is why it seems strange to you n