-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the spec to better explain the semantic model
The semantic model is a much more important concept now that we have two representations for models (the AST and IDL), and these representations are meant to build up the same graph of shapes regardless of their different syntactic features. The spec is also now laid out in an easier to understand way since it explains the high-level concepts, shapes, and traits before diving into the details of the IDL ABNF. Various aspects of the model have been clarified: * Applying traits externally is the same as applying them inline in the semantic model. * Simplifications to the documentation_comment ABNF so that it is now just one of the two kinds of `comment` productions. * A broader overview of the model, including transformations. * More information on namespaces, including that there can be multiple namespaces loaded into the semantic model. * More information on how and why models would be merged together (it's left up to tooling to combine and merge models, but the semantics of merging models are described in the spec). * Lots of minor error corrections in the spec. * The special behavior around resolving relative shape IDs in the "conflicts" property of the `trait` trait have been removed since that is at odds with the rest of the model. This commit moves various headings around and removes some pages, but redirects are issued when a removed page is visited. This commit also ensures that requirements.txt is used for docs. Since we're using a github repo for the redirects package, we need to install it using a special syntax. There some docs around how to pull this off with setup.py, but I couldn't get it to work: https://python-packaging.readthedocs.io/en/latest/dependencies.html#packages-not-on-pypi
- Loading branch information
Showing
32 changed files
with
4,839 additions
and
4,090 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
sphinx>=1.7.0,<1.8.0 | ||
pygments==2.4.2 | ||
sphinx-tabs==1.1.7 | ||
|
||
# This package has not been published to pypi | ||
-e git+https://github.com/munnerz/redirects.git#egg=sphinxcontrib-redirects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.