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

Add syntax for version numbers #12

Open
brendanberg opened this issue Jun 24, 2022 · 1 comment
Open

Add syntax for version numbers #12

brendanberg opened this issue Jun 24, 2022 · 1 comment

Comments

@brendanberg
Copy link
Contributor

As part of the header separator?

1.0=
=1.0
@brendanberg
Copy link
Contributor Author

Alternately, the first line could specify the version info:

tablo/1.0
"Artist", "Album", "Song", "Downloads"
=

If a file does not have a version specifier, it is interpreted as the latest version the parser can read. If a file does have a version specifier, parser behavior depends on whether the file's version is newer or older than the parser's version. A parser with a version older than the file's version should not parse the file. (An optional flag to attempt parsing in a compatibility mode may be used.) A parser newer than the file's version should parse the file using the parsing rules from the older version of the format.

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