Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

goreactdev
Copy link

@goreactdev goreactdev commented Sep 21, 2022

Added description of data serialization dict and array, and a standard has been added for attributes and traits

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;
Copy link
Member

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?

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.

3 participants