Skip to content

Add design for inline operation input/output shapes#962

Merged
JordonPhillips merged 4 commits intosmithy-lang:idl-2.0from
JordonPhillips:inline-io
Nov 5, 2021
Merged

Add design for inline operation input/output shapes#962
JordonPhillips merged 4 commits intosmithy-lang:idl-2.0from
JordonPhillips:inline-io

Conversation

@JordonPhillips
Copy link
Copy Markdown
Contributor

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@JordonPhillips JordonPhillips requested a review from a team as a code owner October 27, 2021 10:34
This updates the ABNF to be more simplified and generic. This makes
it more consistent with the rest of the ABNF where things like what
property keys are allowed aren't defined. This makes writing a
generic parser easier, though it does impose more on validation.
@JordonPhillips
Copy link
Copy Markdown
Contributor Author

Updated. In the update I also included an updated ABNF that is simpler and less prescriptive. The rest of our ABNF is fairly generic, technically permitting invalid properties. I think that's actually better in that it makes it easy to write a generic parser that conforms to the ABNF. Applications like syntax highlighters, for instance, don't need to care about that level of detail.

@JordonPhillips JordonPhillips merged commit 7dd8711 into smithy-lang:idl-2.0 Nov 5, 2021
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.

2 participants