summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/PGF2.hsc
AgeCommit message (Collapse)Author
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
2017-01-26use throwIO instead of throw in a few placedkrasimir
2017-01-26type checking API in the Haskell bindingkrasimir
2017-01-26a better implementation for PGF2.categorieskrasimir
2017-01-26bring the Haskell binding a bit closer to the pure Haskell APIkrasimir
2017-01-26copy the types for BracketedString from the Haskell runtime to the Haskell ↵krasimir
bindings
2017-01-26added mkMeta and unMeta in the Haskell bindingkrasimir
2017-01-26added mkAbs and unAbs in the Haskell bindingkrasimir
2017-01-26more startCat to the Types section in the Haddock documentation for the ↵krasimir
Haskell binding
2017-01-26add unStr,unInt and unFloat in the Haskell bindingkrasimir
2017-01-25improve the documentation for PGF2krasimir
2017-01-25add functionsByCat in the Haskell bindingkrasimir
2017-01-25bugfix in the Haskell bindingkrasimir
2016-05-30fix in the Haskell binding: functionType should throw error if the function ↵krasimir
is not defined
2016-05-11the Literals API in Haskell no longer offers the sentence as an argument to ↵krasimir
the callbacks. It is just as easy to save the sentence in a closure and by doing that we save the repeated round about from C to Haskell strings
2016-05-11many of the uses of peekCString and withCString in the Haskell binding were ↵krasimir
incorrect since they encode the string in the system locale while the C runtime is always using UTF8
2016-05-10fix the offset for oracles in Haskellkrasimir
2016-05-10an API for oracles in the GF parserkrasimir
2015-12-20added a primitive full-text search index in libsg. This can be use for ↵krasimir
finding an abstract tree whose linearization matches given keywords
2015-11-19added mkInt and mkFloat in the Haskell binding to make it easy to create ↵krasimir
literal expressions