Add keyed access to the parsed results

#3 · closed · 0 comments

View on GitHub ↗

7sharp9

For speed I just added: ``` let parse_to_Lists = toml_section .>>. (section_splitter |>> fun ls -> Array.ofList ls |> Array.Parallel.map parse_block) ``` But it would be nice is the returned results were dicts either a single dict of dicts or a top level dict and a dict or dicts for the tables. ``` myToplevel = 172 [one] hello = "53" [two] hello = 42 ``` A single dict would look like this: ``` dict[ myTopLevel:172 one:dict[hello:53] two:dict[hello:42] ] ``` etc

Comments