Commit ff004d8b311c4dd2068258de02621ea6dfb55ea6

Authored by Julien Verneuil
1 parent 8bc205ab

add known issues

Showing 1 changed file with 32 additions and 0 deletions   Show diff stats
file_processor_io/yaml/yaml_parser.anubis
... ... @@ -6,6 +6,38 @@
6 6 * © Calexium
7 7 */
8 8  
  9 +/*
  10 + * YAML parser
  11 + *
  12 + * Known issues:
  13 + * - A list at the same level of a key which is not in a root node is ignored
  14 + * Example ("Key" value will be of type "null"):
  15 + * RootNode:
  16 + * Key:
  17 + * - ignored list item
  18 + * - ignored list item
  19 + *
  20 + * - The parser fail to parse correctly this sort of list :
  21 + * RootNode:
  22 + * - Key1: value
  23 + * Key2: value
  24 + * Key3: value
  25 + * - Key4: value
  26 + *
  27 + * Key1, Key2, Key3 will be parsed as list items independently and not as a single list item made of multiple keys
  28 + *
  29 + * - Lists and "objects" which are not in a block are not implemented yet
  30 + * Example :
  31 + * Node: [item1, item2]
  32 + * or :
  33 + * Node: {key1: value, key2: value}
  34 + *
  35 + * - Double quoted and single quoted nodes are not implemented yet
  36 + * Example :
  37 + * "Node": value
  38 + * 'Node': value
  39 + */
  40 +
9 41  
10 42 read yaml_type.anubis
11 43 read tools/streams.anubis
... ...