summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind
AgeCommit message (Collapse)Author
2017-04-13gu_string_buf -> gu_new_string_buf in libgukrasimir
2017-04-12update SG.hsckrasimir
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-26forgot to add src/runtime/haskell-bind/PGF2/Type.hsckrasimir
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
2016-04-29a prototype for complex queries over expressions in libsgkrasimir
2015-12-22added API for reading a list of tuples in the SG modulekrasimir
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-25added readTriple in libsg and its Haskell bindingkrasimir
2015-11-19added mkInt and mkFloat in the Haskell binding to make it easy to create ↵krasimir
literal expressions
2015-09-14haskell-bind/SG.hsc: fix unsafePerformIO import problem with ghc>=7.8hallgren
2015-09-10PGF2.Expr: a fix for ghc-7.6hallgren
Apparently Foreign.unsafePerformIO is not just a re-export of System.IO.Unsafe.unsafePerformIO (or vise versa), it is a different function, so you get an ambiguity if you import both.
2015-09-08add readTriple in the Haskell bindingkrasimir
2015-09-04the Haskell binding now covers everything in the libsg APIkrasimir
2015-09-03PGF2.Expr fixeshallgren
It needs to be listed in gf.cabal unsafePerformIO is only exported from System.IO.Unsafe, starting with ghc-7.8
2015-09-02added the minimal Haskell API for storing expressions/triples in the ↵krasimir
semantic graph
2015-08-20PGF2: export BindType(..) and two new functions: showType & categorieshallgren
showType :: Type -> String categories :: PGF -> [Cat] But both are implemented as quick hacks: categories is implemented by listing all functions and taking the target categories from their types. showType uses ppType copied & modified from PGF.Type, and needs a ppExpr, which is currently implemented by wrapping showExpr... TODO: need something correpsonding to PGF.categoryContext.
2015-08-10gf -cshell: preliminary support for the C run-time system in the GF shellhallgren
Some C run-time functionality is now available in the GF shell, by starting GF with 'gf -cshell' or 'gf -crun'. Only limited functionality is available when running the shell in these modes: - You can only import .pgf files, not source files. - The -retain flag can not be used and the commands that require it to work are not available. - Only 18 of the 40 commands available in the usual shell have been implemented. The 'linearize' and 'parse' commands are the only ones that call the C run-time system, and they support only a limited set of options and flags. Use the 'help' commmands for details. - A new command 'generate_all', that calls PGF2.generateAll, has been added. Unfortuntaly, using it causes 'segmentation fault'. This is implemented by adding two new modules: GF.Command.Commands2 and GF.Interactive2. They are copied and modified versions of GF.Command.Commands and GF.Interactive, respectively. Code for unimplemented commands and other code that has not been adapted to the C run-time system has been left in place, but commented out, pending further work.
2015-07-12fixed missing do in the Haskell bindingkrasimir
2015-07-03merge the states for reasoning and evaluation into a single structurekrasimir
2015-06-30add function 'functions' in the Haskell binding to the C runtimekrasimir
2015-05-19the NERC in C is now fully up-to-date with the other NERCs. In addition the ↵krasimir
NERC in Haskell and Java now refuses to recognize names that match words in the lexicon. The latest is useful for German
2015-05-18the callbacks in C now take the concrete syntax as a parameterkrasimir
2015-04-27use a temporary pool for linearizeAll in Haskell tookrasimir
2015-04-27make linearizeAll in the Haskell binding lazykrasimir
2015-04-21some translate.probs decreased ; fine-tuning in pgf-hsbind-transaarne
2015-04-20fix in the Haskell binding for Windowskrasimir
2015-04-17pgf-hsbind-trans now with linearizeAllaarne
2015-04-17pgf-shell.hs: remove call to performGC and document the 'i' commandhallgren
2015-04-17added linearizeAll in the Haskell bindingskrasimir
2015-04-16simplified the example translator and renamed it to pgf-hsbind-trans aarne
2015-04-15extended pgf-shell functionalities: batch translation with many trees, and ↵aarne
intervening context-dependent tree manipulation
2015-03-19haskell-bind: add bindings to graphviz rendering functions for ↵hallgren
abstract&parse trees