1
0
forked from GitHub/gf-core
Commit Graph

20 Commits

Author SHA1 Message Date
peter.ljunglof 87260365c7 Added an O(n log n) version of nub
The new nub is called nub', and it replaces the old sortNub which was 
not lazy and did not retain the order between the elements.
2012-08-29 21:45:10 +00:00
kr.angelov fd5220038d A basic infrastructure for generating Teyjus bytecode from the GF abstract syntax 2012-08-29 11:43:02 +00:00
kr.angelov 54019c75ae merge GF.Infra.Modules and GF.Grammar.Grammar. This is a preparation for the separate PGF building 2011-11-02 13:57:11 +00:00
krasimir 1f1a0d7ada PGFToCFG should use the full production set because the lexicon is now split out 2010-12-14 21:25:43 +00:00
krasimir a9218ff45c simple refactoring in PGF.Macros and related 2010-12-06 14:19:51 +00:00
krasimir be9ad26aea refactor the API for random generation again. Now PGF contains probabilities in the abstract syntax 2010-10-02 13:03:57 +00:00
krasimir 9aa7c88c5a native representation for HOAS in PMCFG and incremental type checking of the parse forest 2010-08-09 10:10:08 +00:00
krasimir e92151caf8 redesign the open-literals API 2010-07-01 08:51:59 +00:00
krasimir 97a9ddb4a7 rename isLiteralFCat -> isPredefFId, fcat(String|Int|Float) -> fid(String|Int|Float) 2010-06-30 07:40:22 +00:00
krasimir 00a69cab3b forgot to fix the import in GF.Speech.CFG to get the Token type 2010-06-29 12:58:35 +00:00
krasimir 43736135ca introduce the type synonym Token=String in the PGF API 2010-06-29 09:00:41 +00:00
aarne cfd3afd2d8 case for pre in CF generation (ignores alternatives so far) 2010-06-03 21:43:35 +00:00
krasimir ce99935812 now for every category we store, in PGF, the list of functions for it in source-code order. The order matters for the termination of the exhaustive generation with dependent types. 2010-03-24 11:11:55 +00:00
krasimir 3685595ece cleanup the code of the PGF interpreter and polish the binary serialization to match the preliminary specification 2010-01-27 09:39:14 +00:00
krasimir a039808141 PGF is now real synchronous PMCFG 2010-01-17 21:35:36 +00:00
krasimir 362f333ebd now the linearization is completely based on PMCFG 2010-01-17 17:05:21 +00:00
krasimir 11218cdbca store the label names in PMCFG 2010-01-05 08:35:33 +00:00
krasimir f841b1ada5 printnames are now kept as String instead of Term in PGF 2010-01-05 07:05:41 +00:00
krasimir 76debee2c1 remove the old parsing code and the -erasing=on flag 2009-12-14 10:54:22 +00:00
krasimir c92f9d1c0c reorganize the directories under src, and rescue the JavaScript interpreter from deprecated 2009-12-13 18:50:29 +00:00