-
Notifications
You must be signed in to change notification settings - Fork 235
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
Update 0064-token-data-standard.md #96
base: master
Are you sure you want to change the base?
Conversation
Added description of the data serialization dict and array, and added standard for attributes and traits
Added description of data serialization dict and array, and a standard has been added for attributes and traits
|
||
## Informal TL-B scheme: | ||
``` | ||
text#_ {n:#} data:(SnakeData ~n) = Text; | ||
snake#00 data:(SnakeData ~n) = ContentData; | ||
chunks#01 data:ChunkedData = ContentData; | ||
array#02 data:(HashMapE 32 ^ContentData) = ContentData | ||
dict#03 data:(HashMapE 256 ^ContentData) = ContentData; |
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.
I oppose the introduction of dict
(or hashmap) type without listing some expected value: it leaves developer without understanding what to implement. However, since dict
can be presented in any place of ContentData tree it is probably hard to make list of keys.
What about PfxHashmapE?
Added description of data serialization dict and array, and a standard has been added for attributes and traits