forked from psranga/yavl-cpp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
TODO
35 lines (25 loc) · 724 Bytes
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Simplify specification
======================
map:
HEADER:
map:
name: [string: ]
version: [string: ]
sizeKB: [uint: ]
The format now is very explicit. I am specifying explicitly
that I expect a map (first line) and then explicitly listing
out the keys.
But by merely listing out the keys, am I not indicating that
I expect a list? I can use this idea to condense the above
tree specification to the one below:
HEADER:
name: [string: ]
version: [string: ]
sizeKB: [uint: ]
Add richer set of checks
========================
Check for signed int, int within ranges etc.
Add examples for nested structures
==================================
lists withing maps, maps within lists etc.
eof