summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/PGF2.hsc
AgeCommit message (Collapse)Author
2022-07-16support for BIND tokens in the Python bindingsKrasimir Angelov
2021-05-03Manage to get completion working in PGF2John J. Camilleri
2021-05-03Add proper error handling in completeJohn J. Camilleri
2021-05-03Second attempt. Reading enum is closer to working but all strings are empty.John J. Camilleri
2021-05-03First attempt at adding support for complete in PGF2 (gives segmentation faults)John J. Camilleri
2021-04-30Add note about type-checking dynamic expressions in PGF2 HaddockJohn J. Camilleri
Closes #72
2020-08-14added an API for cloning expressions/types/literalskrangelov
2020-07-26parseToChart also returns the categorykrangelov
2020-07-22the if is actually unnecessarykrangelov
2020-07-22bugfix in bracketedLinearizekrangelov
2020-05-14lookupCohorts now detects and reports unknown words. Also:krangelov
- added added two filtering functions: filterLongest and filterBest - updated the PGF service to work with the new API
2020-03-06an API to access the names of all fields withing a categorykrangelov
2020-03-05fix the build after the change in the morphological APIkrangelov
2020-03-05The APIs for callbacks and the bracketed strings now use a string for the ↵krangelov
analysis intead of an integer. This is now consistent with lookupMorpho and friends
2019-12-07a version of the parser which returns a chart rather than a list of expressionskrangelov
2019-08-07Remove wrong Haddock comment in PGF2John J. Camilleri
Clearly just a copy-paste error
2019-05-28bits of documentationkrangelov
2019-05-28API for scanning for cohorts in an arbitrary textkrangelov
2019-02-27strip empty phrases in bracketedLinearizekrangelov
2018-06-20added bracketedLinearizeAllKrasimir Angelov
2018-06-20bracketedLinearize in Haskell now emits the BIND constructor like in JavaKrasimir Angelov
2018-04-18Fixes for GHC 8.4.1 compatibilityThomas Hallgren
* In GHC 8.4.1, the operator <> has become a method of the Semigroup class and is exported from the Prelude. This is unfortunate, since <> is also exported from the standard library module Text.PrettyPrint, so in any module that defines a pretty printer, there is likely to be an ambiguity. This affects ~18 modules in GF. Solution: import Prelude hiding (<>) This works also in older versions of GHC, since GHC does't complain if you hide something that doesn't exists. * In GHC 8.4.1, Semigroup has become a superclass of Monoid. This means that anywhere you define an instance of the Monoid class you also have to define an instance in the Semigroup class. This affects Data.Binary.Builder in GF. Solution: conditionally define a Semigroup instance if compiling with base>=4.11 (ghc>=8.4.1)
2018-04-12bugfix in the Haskell bindingKrasimir Angelov
2017-10-04further extend the API of the C runtimeKrasimir Angelov
2017-10-03in the PGF2 api: remove showCategory. add categoryContext and ↵Krasimir Angelov
functionIsConstructor
2017-09-28added exprSubstitute in the C runtime for substituting meta variablesKrasimir Angelov
2017-09-28the parser for abstract expressions in the C runtime now supports partial parsesKrasimir Angelov
2017-09-25added showPGF in the Haskell APIKrasimir Angelov
2017-09-06the parser in the C runtime can now detect incomplete sentences just like ↵Krasimir Angelov
the parser in the Haskell runtime. This is also reflected in all bindings.
2017-09-05added function printName in the Haskell bindingKrasimir Angelov
2017-09-05added languageCode in the Haskell bindingKrasimir Angelov
2017-09-05fix the type signature for exprSizeKrasimir Angelov
2017-09-05added exprFunctions in the Haskell bindingKrasimir Angelov
2017-09-05added exprSize in the Haskell bindingKrasimir Angelov
2017-09-05added exprHash in the Haskell bindingKrasimir Angelov
2017-09-01complete details for the "ai" command in the C shellKrasimir Angelov
2017-09-01added function treeProbability in the Haskell bindingKrasimir Angelov
2017-08-31graphvizWordAlignment in the C runtimeKrasimir Angelov
2017-08-31the C runtime now supports the same customizations for GraphViz as the ↵Krasimir Angelov
Haskell runtime
2017-08-30bugfix for hasLinearization in the Haskell bindingKrasimir Angelov
2017-08-30"ma" command in the C shellKrasimir Angelov
2017-08-30added tabularLinearizeAll in the Haskell bindingKrasimir Angelov
2017-08-30change tabularLinearize in the Haskell binding to return a list instead of ↵Krasimir Angelov
map this preserves the order
2017-08-30added the concreteName function in the Haskell bindingKrasimir Angelov
2017-08-29the embedded grammars now work with both the pure Haskell and the Haskell ↵Krasimir Angelov
binding API
2017-08-29added bracketedLinearize in the Haskell bindingKrasimir Angelov
2017-08-28tabularLinearize in the Haskell bindingKrasimir Angelov
2017-05-12a binding to the sentence lookup from Haskellkrasimir
2017-02-10safer memory management in the Haskell bindingkrasimir
2017-01-26API for computing the Haskell bindingkrasimir