Peter Ljunglöf
01b9e8da8d
canonical GF: flatten several concatenations into one json array, and parse the array back into concatenations
2019-03-08 18:33:56 +01:00
Peter Ljunglöf
926a5cf414
added parsing of json into canonical GF
2019-03-08 17:58:24 +01:00
Peter Ljunglöf
21140fc0c0
remove case expressions (no particular reason)
2019-03-08 17:57:02 +01:00
Peter Ljunglöf
3328279120
corrected json printing
...
some object labels must be preceded by ".", to not be in conflict with GF records (which are stored as json objects)
plus some minor bugfixes and cleaning
2019-03-08 17:35:35 +01:00
Peter Ljunglöf
8cf4446e8c
Remove "canonical_yaml" from the option descriptions
2019-03-08 17:21:23 +01:00
Peter Ljunglöf
f8346c4557
added helper info about canonical grammar output
2019-02-08 09:22:08 +01:00
Peter Ljunglöf
47ac01e4b9
enable export of canonical grammars to JSON and YAML
2019-02-08 09:10:48 +01:00
Peter Ljunglöf
a0c1da2548
encoding/decoding canonical GF grammars to/from JSON and YAML
2019-02-08 09:10:04 +01:00
Peter Ljunglöf
4d34c7f66b
Fix deprecations from containers >= 0.4.0.0
...
E.g. `foldWithKey` has been deprecated since 0.4.0.0 (November 2010)[1] and has been removed in 0.6.0.1 (2018)[2]
[1]: https://github.com/haskell/containers/blob/master/changelog.md#0400--nov-2010
[2]: https://github.com/haskell/containers/blob/master/changelog.md#death-of-deprecated-functions
(commit originally by @fredefox)
2018-11-30 11:52:56 +01:00