3 ms·
So two people do this and, however principled their grammars, they aren't the same. And when two systems disagree on the meaning of something you get bugs and s
by ectopod 5y ago
So two people do this and, however principled their grammars, they aren't the same. And when two systems disagree on the meaning of something you get bugs and security holes.
- samatman 5y agoWell that's the point isn't it. I don't have to care about the second system's grammar, as long as it accepts at least valid JSON, since that's all I ever intend on emitting. Meanwhile, anyone who would like to check whether e.g. a `// comment \n` statement will be accepted by my parser is invited to check the grammar, which will make all such questions perfectly clear.