Simply Parse in C
Cute, now do it with UTF-8 support.<p>&gt; People are terrified of parsers and parsing<p>And rightfully so. People who aren&#x27;t afraid of them generally fail to understand all of the ways in which parsing can show fractal complexity, and will mostly stick to toy examples like this INI parser to justify their positions.<p>If you&#x27;re gonna argue that parsing is simple, the bare minimum I&#x27;d want to see implemented is a context-sensitive grammar with unbounded lookaheads (or at the very least, that is capable of handling more than one token of lookahead), with proper support for Unicode, and actual error resilience (not what this article calls error resilience)<p>If you manage to do all that and can still call what you did &quot;simple&quot; without having completely deluded yourself, congratulations, I hope to be on your level some day.<p>PS1: I won&#x27;t even go into the plethora of security issues originating from crappy parsers, especially those written in C<p>PS2: Let&#x27;s also leave aside any matters related to correctness and validation of parsers, which are notoriously not by any means &quot;simple&quot;.<p>PS3: Or generating decent errors for that matter.