Skip to content

Commit f165589

Browse files
author
ranga.code
committed
added TODO.
1 parent 0ad0e9e commit f165589

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

TODO

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Simplify specification
2+
======================
3+
4+
map:
5+
HEADER:
6+
map:
7+
name: [string: ]
8+
version: [string: ]
9+
sizeKB: [uint: ]
10+
11+
The format now is very explicit. I am specifying explicitly
12+
that I expect a map (first line) and then explicitly listing
13+
out the keys.
14+
15+
But by merely listing out the keys, am I not indicating that
16+
I expect a list? I can use this idea to condense the above
17+
tree specification to the one below:
18+
19+
HEADER:
20+
name: [string: ]
21+
version: [string: ]
22+
sizeKB: [uint: ]
23+
24+
Add richer set of checks
25+
========================
26+
27+
Check for signed int, int within ranges etc.

0 commit comments

Comments
 (0)