2 <h2>Hierarchical Data Format (HDF)</h2>
4 Please use bin/hdf.el for syntax coloring that can help identify syntax errors.
10 Where, [node] can be an alphanumeric name, and [value] can be
12 - booleans: true, false, on, off, yes, no, 1, 0
14 - strings: without any quoting
26 [subsubnode1] = [value]
27 [subsubnode2] = [value]
36 [subsubnode] = [value2]
42 [node].[subnode] = [value1]
43 [node].[subnode].[subsubnode] = [value2]
45 These dotted node names and paths can appear anywhere a node can be at.
49 Use '*' for automatically generated node names that you don't care
56 This is fine, too, except it's harder to maintain if one needs to add/delete:
67 Watch out, this makes those two nodes symbolic linking to each other, so this
68 will modify [another] as well:
77 To avoid the above accidental modification when aliasing a node, one can do,
84 Now, [node] is a different node than [another] and the modification doesn't
101 Sometimes it's easier and clearer to write node copying in inheritance format:
109 8. Special shell commands
113 This will execute shell command and use its return as the node's value.
117 #include "another.hdf"
121 # only one format of comment is supported
122 # it has to start from line beginning
124 Watch out, this is NOT comment:
126 [node] = [value] # this will become part of node's value
128 11. Multiple-line strings