Parsing TOML

Tom Preston-Werner launched the spec for TOML this Weekend.

No implementation, just a neat little specification in a readme.

Writing parsers can be fun and a clean, short spec with some examples makes for quite the temptation. Too much of a temptation for me: I ended up spending a few hours at the end of my Sunday on hacking together a CoffeeScript parser.

It handles all of the examples from the spec and comes with a decent test-suite that might be of help to other implementors.

Fork away on Github!

comments powered by Disqus