Commit Graph
20 Commits
Author SHA1 Message Date
peter.ljunglof a7de16c34b 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 f8fe23fda7 A basic infrastructure for generating Teyjus bytecode from the GF abstract syntax 2012-08-29 11:43:02 +00:00
kr.angelov 734c66710e 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 505e34aea7 PGFToCFG should use the full production set because the lexicon is now split out 2010-12-14 21:25:43 +00:00
krasimir b6446ec36d simple refactoring in PGF.Macros and related 2010-12-06 14:19:51 +00:00
krasimir cb8795c222 refactor the API for random generation again. Now PGF contains probabilities in the abstract syntax 2010-10-02 13:03:57 +00:00
krasimir b0e110cf4f native representation for HOAS in PMCFG and incremental type checking of the parse forest 2010-08-09 10:10:08 +00:00
krasimir 5ae7be358d redesign the open-literals API 2010-07-01 08:51:59 +00:00
krasimir eb0bd54e68 rename isLiteralFCat -> isPredefFId, fcat(String|Int|Float) -> fid(String|Int|Float) 2010-06-30 07:40:22 +00:00
krasimir 4c576ebbc9 forgot to fix the import in GF.Speech.CFG to get the Token type 2010-06-29 12:58:35 +00:00
krasimir 272dcf6917 introduce the type synonym Token=String in the PGF API 2010-06-29 09:00:41 +00:00
aarne 74811193ed case for pre in CF generation (ignores alternatives so far) 2010-06-03 21:43:35 +00:00
krasimir 68482aa7e9 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 890d455793 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 9b362ff231 PGF is now real synchronous PMCFG 2010-01-17 21:35:36 +00:00
krasimir af13bae2df now the linearization is completely based on PMCFG 2010-01-17 17:05:21 +00:00
krasimir ee3ce9694c store the label names in PMCFG 2010-01-05 08:35:33 +00:00
krasimir 3ed19a482e printnames are now kept as String instead of Term in PGF 2010-01-05 07:05:41 +00:00
krasimir c036459214 remove the old parsing code and the -erasing=on flag 2009-12-14 10:54:22 +00:00
krasimir f85232947e reorganize the directories under src, and rescue the JavaScript interpreter from deprecated 2009-12-13 18:50:29 +00:00