Commit Graph

1372 Commits

Author SHA1 Message Date
aarne
cccccd5ec1 switched to unmodified BNFC-generated components 2008-03-15 14:53:42 +00:00
meza
2a465eda93 GFCCtoJS.hs: added the full profile to parsing grammars. added linearization definitions for built-in categories Int, Float and String. 2008-03-14 08:29:05 +00:00
aarne
72891176a7 lincat can now be just Str 2008-03-09 12:17:42 +00:00
aarne
db0456d993 coding flag as pragma in files 2008-03-11 14:37:10 +00:00
aarne
2994111b95 new Finnish paradigms integrated 2008-03-07 14:47:10 +00:00
aarne
71d3221e12 option -mac to vt command (uses open with ps) 2008-03-06 21:27:14 +00:00
aarne
9779c35b8e debugging testgf3 2008-03-05 18:59:14 +00:00
aarne
d4f22b01bd added bnfc-generated testgf3 files 2008-03-01 14:29:47 +00:00
bjorn
ff4aea8a1a Build gf-embed with -O2. 2008-02-26 17:22:38 +00:00
bjorn
4aff65964e Replace fromJust with fromMaybe + error message when looking up lintype in SimpleToFCFG. This makes problems easier to debug. 2008-02-26 14:00:15 +00:00
aarne
621d3fdfd1 started a directory of grammars testing testgf3 features 2008-02-22 15:17:50 +00:00
aarne
6621290502 testgf3 in progress; fixed VP type in ExtraEng 2008-02-22 14:16:33 +00:00
krasimir
caad2dfe02 For Windows change the Console Code Page to the default ANSI code page. This fixes the problem with cyrilic. 2008-02-21 15:58:19 +00:00
krasimir
344d95293a For Windows get the default GF_LIB_PATH from the executable path 2008-02-21 15:56:09 +00:00
aarne
e17235893d documenting testgf3 2008-02-21 08:04:43 +00:00
bjorn
e494274c07 Treat pre tokens as variants in SimpleToFCFG. This should allow us to parse sentences with e.g. "an". 2008-02-19 22:09:56 +00:00
bjorn
70fae1e9fb Some work on gf3/gfc command-line options. 2008-02-19 20:59:01 +00:00
krasimir
27df450a26 add experimental incremental parser for FCFG 2008-02-18 16:58:27 +00:00
bjorn
17ede4013d Rename gfcats to startupcats in PGF. 2008-02-15 20:13:01 +00:00
krasimir
9fbed17125 fix the singleton selector generation 2008-02-14 12:48:41 +00:00
aarne
34037dbf3c kotus experiments; bindings in gfcc 2008-02-13 17:47:54 +00:00
'Moises Meza
c143bd7d10 GFCCtoJS.hs: added new Terminal to parser rules. Added a startcat to the Parser constructor. 2008-02-12 10:08:23 +00:00
bjorn
114f0d1ecc Use isAlpha instead of isLetter to compile with GHC 6.4. Reported by moises. 2008-02-08 09:20:32 +00:00
bjorn
08b9422cba Added PGF version numbers to GFCC file. 2008-02-07 13:48:41 +00:00
bjorn
6a739a7588 Include parser in JS produced by gf3. 2008-02-06 17:08:50 +00:00
bjorn
ff9f224242 Expand higher-order abstract syntax in SimpleToFCFG. 2008-02-05 14:33:22 +00:00
aarne
147926b1f5 added some new pattern forms, incl. pattern macros, to testgf3 2008-02-01 22:01:10 +00:00
aarne
72b81987d7 GFCC: TM with argument; fixed labels from bindings in gfc 2008-01-31 20:56:42 +00:00
aarne
db6e1de1ae gfcc generation with HOAS: var fields appended to records 2008-01-31 16:37:32 +00:00
bjorn
6bddc8df8a Standard format for floats and strings in GFCC. 2008-01-30 17:18:27 +00:00
bjorn
ec1322afae Changed GFCC parser format to only include the FCFG rules and the GF cat -> FCFG cat mapping. The other information is very easy to build on the fly. 2008-01-30 16:39:44 +00:00
bjorn
c4d89577f5 Merge AId and App forms in GFCCRaw. 2008-01-29 15:53:50 +00:00
bjorn
89371210eb UTF-8 encode in printGFCC. 2008-01-28 21:43:04 +00:00
aarne
2791eee7ff gt command in gf3 2008-01-08 12:22:05 +00:00
bjorn
6cc162e83c GFCCRaw printing: no space in App with no arguments. 2008-01-26 16:46:46 +00:00
bringert
590f095492 Better names for the parsing info components in GFCC. 2008-01-09 13:51:21 +00:00
bringert
a70a170c4b Change "proj" to "P" in GFCC parse rules to save space. 2008-01-07 21:31:45 +00:00
bringert
91acebea56 Replace BNFC-generated PrintGFCCRaw with smaller hand-written one. 2008-01-07 21:31:05 +00:00
aarne
1fa424ba1c finnish Swadesh verbs 2008-01-07 15:59:17 +00:00
aarne
1b05ba58b3 fixed bugs in optimization of multiple application 2008-01-06 21:27:26 +00:00
aarne
8fc4b28604 dictionary experiment with Finnish verbs 2008-01-06 21:05:56 +00:00
aarne
2d688f6bb4 tests for verbs in uusisuomi 2008-01-06 12:16:07 +00:00
bringert
409504a19e Remove LexGFCCRaw from GF-embed.cabal 2008-01-04 22:01:13 +00:00
bringert
14369ba9d2 Replace BNFC-generated GFCC-parser with a faster and smaller combinator version. 2008-01-04 17:42:28 +00:00
aarne
799fd2c3e5 finalizing experiments with Finnish nouns 2008-01-04 15:54:40 +00:00
bringert
1204d1972d Oops, I happend to record a temporary change for testing combinator parsing on GFCC. Reverting that. 2008-01-04 15:00:58 +00:00
bringert
203a6b62bc Added -noparse flag to gfc. In the process, I refactored GF.Devel.GFC and GF.Command.Importing to use a common source to gfcc compilation function in the new module GF.Compile.API. 2008-01-04 14:51:20 +00:00
bringert
ad991ef299 Store FCFPInfo (all information needed for FCFG parsing) in GFCC files, and in the internal DataGFCC.GFCC structure. The parsing information format is still in flux. 2008-01-03 17:10:05 +00:00
aarne
3e108b98dd subex elim in gfr generation 2008-01-01 23:31:12 +00:00
aarne
492df5c738 Updated version numbers. 2007-12-21 17:43:27 +00:00