-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would you help to compare my parser? #12
Comments
I'll give it a go! |
@LongTengDao The benchmarks are failing out pretty early with parse errors, for example:
Throws I'll make a branch that includes your parser and you can try them out yourself! I would encourage you to get your parser passing BurntSushi's tests (https://github.com/BurntSushi/toml-test) and/or mine (https://github.com/iarna/toml-spec-tests/tree/0.5.0) before trying to move into benchmarks. |
It doesn't have to be passing everything for me to include it, but… there are some tests that it seems to infinite loop on, and I can't run it through its paces till you at least fix those bugs. Specifically, this benchmark The branch |
@iarna Really thanks for your help! I fixed a data type classification bug. It treated I found the infinite-loop-like status comes from a very slow Then I use the tests to check over my parser (v0.5.42), now it looks good. Wish you run a good result, thank you! |
@LongTengDao I've updated both the spec compliance test results and the benchmarks with your parser. It still can't complete all the tests, but it's running well enough that I can include it. It's very impressively fast for large strings! |
@iarna Wow! Thank you! |
Hello! Would you mind to add my parser to the compare table, after @iarna/toml@1.6.0, toml-j0.4@1.1.1, toml@2.3.3, @sgarciac/bombadil@2.0.0? My parser is https://GitHub.com/LongTengDao/j-toml/, it was published at https://www.npmjs.com/package/@ltd/j-toml.
The text was updated successfully, but these errors were encountered: