Open bricef opened 6 years ago
This is a really good idea, I'd like to see this merged.
A reference parser grammar in some standardised format would be a real nice to have actually. Something like EBNF for example.
This is nice, but I'm not sure a language-specific parser fits in the spec. It would be cool as a linked project however. :+1:
It is useful for implementers of tools that work with the todo.txt format to have a formal grammar and reference implementation to implement the format correctly.
I just had to write a parser, and while incomplete and likely incorrect (whitespace includes newlines, parser is for line, not file, etc...) it would be a good starting point and will very likely be useful for future implementers.
I would recommend that this is followed up by a formal grammar specification for the format.