Skip to content

descriptor: Formal ABNF for digest values#655

Closed
wking wants to merge 1 commit into
opencontainers:masterfrom
wking:explicit-abnf
Closed

descriptor: Formal ABNF for digest values#655
wking wants to merge 1 commit into
opencontainers:masterfrom
wking:explicit-abnf

Conversation

@wking
Copy link
Copy Markdown
Contributor

@wking wking commented Apr 25, 2017

I'm not sure what the grammar language was before, but this commit converts it to ABNF and references the defining RFC.

The ABNF highlighting comes from here and here.

I'm not sure what the grammar language was before, but this commit
converts it to ABNF and references the defining RFC.

The ABNF highlighting comes from [1,2].

[1]: https://help.github.com/articles/creating-and-highlighting-code-blocks/#syntax-highlighting
[2]: https://github.com/github/linguist/blob/v5.0.8/lib/linguist/languages.yml#L50-L56

Signed-off-by: W. Trevor King <wking@tremily.us>
@AkihiroSuda
Copy link
Copy Markdown
Member

I prefer current notation over ABNF for readability, although little a bit informal

@wking
Copy link
Copy Markdown
Contributor Author

wking commented Apr 25, 2017 via email

@stevvooe
Copy link
Copy Markdown
Contributor

stevvooe commented Apr 26, 2017

@wking Could you please stop filing PRs that invalidate others? Please submit an issue and discuss the change before submitting.

@stevvooe
Copy link
Copy Markdown
Contributor

Enforcing a MUST based on informal notation seems like more trouble
than reading the ABNF ;).

Also, there is nothing informal about the syntax here. Regular expressions are well-defined and understood by a broader group of readers than ABNF.

@vbatts
Copy link
Copy Markdown
Member

vbatts commented May 1, 2017

this seems to be coming from left field and not needed. closing.

@vbatts vbatts closed this May 1, 2017
@wking
Copy link
Copy Markdown
Contributor Author

wking commented May 1, 2017

Also, there is nothing informal about the syntax here. Regular expressions are well-defined…

The syntax grammar is informal because the current grammar language is undefined. If we wanted to formally use a known regex language (for example), we'd need to link to the spec defining it.

@erikh
Copy link
Copy Markdown
Contributor

erikh commented May 1, 2017 via email

@wking
Copy link
Copy Markdown
Contributor Author

wking commented May 1, 2017 via email

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.

5 participants