On Sun, 30 Oct 2016, leledumbo wrote:
In comparison to Go, no it isn't. I guess we have some work to do.
I mean, if fcl-json wants to be on top. In comparison with others, we're
among the second top lines (good cases mostly correct, bad cases a bit
behind). At least fcl-json is way above 3 of Perl's parsers and Haskell
which crashes even on good cases. Here's the complete comparison:
parsing.html
<http://free-pascal-general.1045716.n5.nabble.com/file/n5726718/parsing.html>
Ehm. This is not parsing anything parametrizable?
My bad, I copy-paste-d the modified program for ensuring that it's the
parser that really accepts the broken JSON. I think you could easily
understand that the hardcoded parameter should be Input.Text :p
No problem. What about the false positive I demonstrated ?
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal