summaryrefslogtreecommitdiff
path: root/src/runtime/haskell/PGF/Generate.hs
AgeCommit message (Collapse)Author
2017-04-05added generateOntology & generateOntologyDepthkrasimir
2013-11-05Eliminate mutual dependencies between the GF compiler and the PGF libraryhallgren
+ References to modules under src/compiler have been eliminated from the PGF library (under src/runtime/haskell). Only two functions had to be moved (from GF.Data.Utilities to PGF.Utilities) to make this possible, other apparent dependencies turned out to be vacuous. + In gf.cabal, the GF executable no longer directly depends on the PGF library source directory, but only on the exposed library modules. This means that there is less duplication in gf.cabal and that the 30 modules in the PGF library will no longer be compiled twice while building GF. To make this possible, additional PGF library modules have been exposed, even though they should probably be considered for internal use only. They could be collected in a PGF.Internal module, or marked as "unstable", to make this explicit. + Also, by using the -fwarn-unused-imports flag, ~220 redundant imports were found and removed, reducing the total number of imports by ~15%.
2013-01-29Avoid crash in random generation with probabilitieshallgren
2011-08-30bugfixes in the typechecker and the tree generatorkr.angelov
2010-11-12operations in the abstract syntaxkrasimir
2010-10-21change the TcM monad to continuation passing style. The old monad caused ↵krasimir
stack overflow for large search spaces
2010-10-21support for proof search with high-order functionskrasimir
2010-10-20bugfix in the term generationkrasimir
2010-10-18now we use the GF reasoner to fillin meta variables in the abstract trees ↵krasimir
generated from the parser
2010-10-14now since the type checking monad TcM is nondeterministic we can use the ↵krasimir
same monad in PGF.Forest.getAbsTrees
2010-10-13fix PGF.Generate.restart. The restart should be done only if there are some ↵krasimir
solutions found
2010-10-11the exhaustive/random generator now knows how to handle computable functions ↵krasimir
in the types
2010-10-11now the generation from template with meta-variables respects the dependent ↵krasimir
types
2010-10-02backtracking for random generation is not enough. we must restart the search ↵krasimir
after each solution
2010-10-02refactor the API for random generation again. Now PGF contains probabilities ↵krasimir
in the abstract syntax
2010-09-22the first revision of exhaustive and random generation with dependent types. ↵krasimir
Still not quite stable.
2010-05-06fixed two bugs in gtaarne
2010-02-02gr for several metas fixed ; commented out one alternative in SammieGer to ↵aarne
make it compile
2010-02-01commands mq and tq can take a tree with metas to guide generationaarne
2010-01-30gt and gr can start from a tree with metavariables, just filling themaarne
2010-01-26bug fixes in biased generation ; example probs file in lib/srcaarne
2010-01-26added probabilities to trees and random gen; not yet in shellaarne
2009-12-13reorganize the directories under src, and rescue the JavaScript interpreter ↵krasimir
from deprecated