-
Notifications
You must be signed in to change notification settings - Fork 22
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
Adds glossary and consolidates grammar #359
Conversation
_books/ion-1-1/src/glossary.md
Outdated
|
||
**segment**<br/> | ||
A contiguous partition of a _document_ that uses the same _active encoding module_. Segment boundaries | ||
are caused by directives: an IVM starts a new segment, while `$ion_symbol_table` and `$ion_encoding` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An IVM ends the previous segment (if any) and starts a new one, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, a few small comments that can be TODOs
**active encoding module**<br/> | ||
The _encoding module_ whose symbol table and macro table are available in the current _segment_ of an Ion _document_. | ||
The active encoding module is set by a _directive_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking out loud, it would be really nice to incorporate something like this pre-processor to make phrases in the spec show their definition on hover.
Having a glossary is great, but not having to leave the page to define a term would be even better.
EDIT: I just saw that preprocessor's first and only issue. 😆
Co-authored-by: Zack Slayton <[email protected]>
Co-authored-by: Zack Slayton <[email protected]>
Issue #, if available:
Description of changes:
defining_macros.md
and adds a missing linktrue
,false
,null
,nan
) are not identifier symbols.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.