summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Grammar/CanonicalJSON.hs
AgeCommit message (Collapse)Author
2021-06-30Make GF.Grammar.Canonical.Id a type synonym for GF.Infra.Ident.RawIdentJohn J. Camilleri
This avoids a lot of conversion back and forth between Strings and ByteStrings This commit was cherry-picked from d0c27cdaae78c670b098740bfb49b428d900e640 (lpgf branch)
2020-09-12Remove MonadFail requirements for aeson codeAndreas Källberg
2019-03-13GF.Grammar.Canonical: some Functor/Foldable/Traversable instancesThomas Hallgren
2019-03-08canonical GF: flatten several concatenations into one json array, and parse ↵Peter Ljunglöf
the array back into concatenations
2019-03-08added parsing of json into canonical GFPeter Ljunglöf
2019-03-08remove case expressions (no particular reason)Peter Ljunglöf
2019-03-08corrected json printingPeter Ljunglöf
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-07Expose GF.Grammar.Canonical + some refactoringThomas Hallgren
to make it available in other tools by depending on the gf package and importing it
2019-02-26replace aeson with jsonkrangelov
2019-02-08encoding/decoding canonical GF grammars to/from JSON and YAMLPeter Ljunglöf