Skip to content
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

Provide a reference parser implementation #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bricef
Copy link

@bricef bricef commented Jul 4, 2018

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.

@dessalines
Copy link

This is a really good idea, I'd like to see this merged.

@samuelallan72
Copy link

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. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants