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 grammar for the list syntax #69

Open
ieugen opened this issue Jul 20, 2020 · 0 comments
Open

Provide a grammar for the list syntax #69

ieugen opened this issue Jul 20, 2020 · 0 comments

Comments

@ieugen
Copy link

ieugen commented Jul 20, 2020

Hi,

I've just discovered this app and I'm planning to use it.
One thing that would be nice is to provide a (working !?) grammar for parsing the file.
One option would be Antlr https://github.com/antlr/antlr4 .
This is to ensure that we can generate parsers our of the box and make compatible apps from this.

Having a grammar will allow using a custom list format, suitable for this specific task.
It will also allow building markdown or asciidoc representations (for view only) .

I've noticed #34 and I'm not convinced it is a great idea to force the list format to be markdown compatible.
They kind of serve different purposes IMO.

Some other plain text tools out there: https://plaintextaccounting.org/
A shopping list is a form of accounting (tracking items) and it can be integrated with an accounting software if you start recording pricing and other information.

I am a fan of Asciidoc, which seems to be more extensible than Markdown https://asciidoctor.org/docs/extensions/ https://asciidoctor.org/docs/asciidoc-writers-guide/#lists-lists-lists

and has begun a process of creating a spec inside the Eclipse foundation https://asciidoctor.org/news/2019/01/07/asciidoc-spec-proposal/

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

No branches or pull requests

1 participant