summaryrefslogtreecommitdiff
path: root/src/compiler
AgeCommit message (Collapse)Author
2020-10-26Fix infinite recursion on errorAndreas Källberg
The implementation was meant to lift from SIO to IO, but instead it was just the identity function, which means that `fail = id . fail` and we have an infinite loop.
2020-10-08Fix syntax error problem for older versions of GHCAndreas Källberg
2020-09-18Fix bug where shell commands were ignored, introduced by #71John J. Camilleri
2020-09-12Remove MonadFail requirements for aeson codeAndreas Källberg
2020-09-12Fix incorrect type and update dependenciesAndreas Källberg
2020-09-09Import orphan instances of MonadFail for ghc<8Andreas Källberg
Also upgrade alex/happy so automatic install works
2020-09-05Merge remote-tracking branch 'origin/master' into fix-newer-cabalAndreas Källberg
2020-09-05Add two more missing MonadFail importsAndreas Källberg
2020-09-05Fix wrong indentAndreas Källberg
2020-09-05MonadFail: Make backwards-compatibleAndreas Källberg
2020-09-05Fix MonadFail for c-runtime as wellAndreas Källberg
2020-08-05Fix most build errorsAndreas Källberg
2020-08-05fix newer ghc: Don't try to be backwards compatibleAndreas Källberg
2020-08-05First attempt at fixing incompabilities with newer cabalAndreas Källberg
2020-08-03Replace deprecated pragma with up-to-date one. (#17)Inari Listenmaa
2020-07-31Remove accidentally added space character in deriving clause.Inari Listenmaa
2020-07-31Remove characters that aren't allowed in Haskell data types.Inari Listenmaa
GF allows more characters in its types, as long as they are inside single quotes. E.g. 'VP/Object' is a valid name for a GF category, but not for a Haskell data type.
2020-07-31Add option "data" to Haskell options.Inari Listenmaa
Imports Data.Data, all GF types derive Data, and uses DeriveDataTypeable.
2020-07-06an attempt to solve record extension overloading bug, commented out for the ↵aarneranta
moment
2020-07-06fixed issue #67 on order of record fields in overloadingaarneranta
2020-06-16Remove duplicate --gfo flagJohn J. Camilleri
Fixes #51
2020-06-05Condense the unsupported token gluing as per John's suggestionInari Listenmaa
2020-06-04Don't output "\n **" if helpfulMsg is empty.Inari Listenmaa
2020-06-04Add clarification to Internal error in GeneratePMCFGInari Listenmaa
2020-06-04Add clarification to Unsupported token gluing (both good and bad case)Inari Listenmaa
2020-06-04Add clarification to "expected foo, inferred bar" type of error msgsInari Listenmaa
2020-06-04Add clarification to "Pattern is not linear" error msg.Inari Listenmaa
2020-06-04Add suggestions to error messages that are caused by too few/many argsInari Listenmaa
2020-05-20allow literals in the C shellkrangelov
2020-03-15restore the sequence ordering after -optimize-pgfkrangelov
2020-02-18another bug related to mattern matching on multiword expressionkrangelov
2020-02-17fix: pattern matching on strings should reconstruct the tokens after matchingkrangelov
2020-02-17fix the compilation of case insensitive grammarskrangelov
2019-11-18PGFService: revert unlexing change in PGFService to restore &+ behaviourThomas Hallgren
2019-09-20more dead codekrangelov
2019-09-20removed more dead codekrangelov
2019-09-20remove obsolete codekrangelov
2019-09-10GrammarToCanonical: bug fix: add missing case for EmptyThomas Hallgren
2019-07-10Minor renamings in JSON formatJohn J. Camilleri
2019-07-10Address @heatherleaf's suggestionsJohn J. Camilleri
2019-07-07Whitespace fixesJohn J. Camilleri
2019-07-07Finish compile to PGF JSON, including JSON schema for resulting format.John J. Camilleri
2019-07-03Finish JSON conversion for abstractJohn J. Camilleri
2019-07-03Start work on PGFtoJSON module. Add compiler flag `-f json`.John J. Camilleri
2019-06-30fully supported case-insensitive parsing/lookupkrangelov
2019-05-20reordered error message for 'no overload'; might be even better to show ↵Aarne Ranta
complete types
2019-05-15Eliminate the dependency on time-compatThomas Hallgren
It was only needed for compatibility with directory<1.2, but directory>=1.2 has been shipped with ghc since ghc-7.6. Note: time-compat-1.9.* (the current version) is a completely different package, that does not provide the needed function toUTCTime, which was provided in time-compat-0.1.*.
2019-04-25GF.Compile.CheckGrammar: discard bad 'lincat C = …' with a warningThomas Hallgren
e.g. if C is a fun and not a cat in the abstract syntax. Discarding bad lincats prevents GF from generating malformed PGFs that are rejected by the C run-time system. I also added code to reject bad lincats with an error, but I left it commented out since it seems a bit pedantic compared to GF's otherwise rather sloppy grammar checking.
2019-04-12respect the probs option also when merging PGFskrangelov
2019-03-26Merge branch 'master' of https://github.com/GrammaticalFramework/gf-corekrangelov