Commit Graph

1385 Commits

Author SHA1 Message Date
krasimir
92917e6e5e Use Happy grammar for imports extraction instead of hand made shallow crapy grammar 2008-04-22 08:33:23 +00:00
krasimir
4c73735de9 Some more ByteString related chandes in GF2 2008-04-17 13:22:10 +00:00
krasimir
21e5a60ce2 ByteString.readFile should be used instead of readFileStrict. This fixes the problem with the open files 2008-04-17 12:56:46 +00:00
krasimir
0ea2798b3c gf3 should not exit if there is a syntax error in the file 2008-04-17 12:50:51 +00:00
meza
08f92cd180 Changed JS generation to avoid grammar reference files. Removed grammar reference file generation. 2008-04-11 13:52:13 +00:00
bringert
f439895ef9 Added GF.GFCC.Macros.lookStartCat. Changed GF.GFCC:API to use it (before, startCat always returned "S"!). GFCCtoJS has not been changed, Moises will do that. 2008-04-07 15:57:04 +00:00
bringert
898c079d84 GF.GFCC.API is for .gfcc, not.gfcm 2008-04-07 15:40:41 +00:00
krasimir
6bb28bcec4 optimized incremental algorithm 2008-03-30 19:57:05 +00:00
aarne
9a6f1720a9 miising ErrM added... 2008-03-18 15:42:51 +00:00
aarne
ca7bcf91ca merging recent changes in Finnish 2008-03-17 12:46:53 +00:00
aarne
bae424218f debugging GFCC generation 2008-03-16 13:42:32 +00:00
aarne
6cbb8086c8 putting pattern macros in place (not properly tested yet) 2008-03-15 21:02:59 +00:00
aarne
e60237136b fixed bug leading to looping in Devel.Compute 2008-03-15 19:00:09 +00:00
aarne
c73bc4f996 switched to unmodified BNFC-generated components 2008-03-15 14:53:42 +00:00
meza
eff08dfe88 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
a34eed5189 lincat can now be just Str 2008-03-09 12:17:42 +00:00
aarne
aa94e34098 coding flag as pragma in files 2008-03-11 14:37:10 +00:00
aarne
5f731b3ad6 new Finnish paradigms integrated 2008-03-07 14:47:10 +00:00
aarne
27508654c0 option -mac to vt command (uses open with ps) 2008-03-06 21:27:14 +00:00
aarne
fe86395853 debugging testgf3 2008-03-05 18:59:14 +00:00
aarne
674b4765e6 added bnfc-generated testgf3 files 2008-03-01 14:29:47 +00:00
bjorn
44454a93ab Build gf-embed with -O2. 2008-02-26 17:22:38 +00:00
bjorn
c430d88a09 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
2faba90119 started a directory of grammars testing testgf3 features 2008-02-22 15:17:50 +00:00
aarne
9e6064709f testgf3 in progress; fixed VP type in ExtraEng 2008-02-22 14:16:33 +00:00
krasimir
389ba6058d 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
671b6b4dff For Windows get the default GF_LIB_PATH from the executable path 2008-02-21 15:56:09 +00:00
aarne
c764a758e1 documenting testgf3 2008-02-21 08:04:43 +00:00
bjorn
7412c24267 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
b468482c3f Some work on gf3/gfc command-line options. 2008-02-19 20:59:01 +00:00
krasimir
a4bded9f3a add experimental incremental parser for FCFG 2008-02-18 16:58:27 +00:00
bjorn
8873196f84 Rename gfcats to startupcats in PGF. 2008-02-15 20:13:01 +00:00
krasimir
5b4a228215 fix the singleton selector generation 2008-02-14 12:48:41 +00:00
aarne
c399f4f80a kotus experiments; bindings in gfcc 2008-02-13 17:47:54 +00:00
Moises Meza
0fc72dda44 GFCCtoJS.hs: added new Terminal to parser rules. Added a startcat to the Parser constructor. 2008-02-12 10:08:23 +00:00
bjorn
18b2205d0d Use isAlpha instead of isLetter to compile with GHC 6.4. Reported by moises. 2008-02-08 09:20:32 +00:00
bjorn
53106abf7e Added PGF version numbers to GFCC file. 2008-02-07 13:48:41 +00:00
bjorn
d2a5a88b18 Include parser in JS produced by gf3. 2008-02-06 17:08:50 +00:00
bjorn
ef50209983 Expand higher-order abstract syntax in SimpleToFCFG. 2008-02-05 14:33:22 +00:00
aarne
4889558137 added some new pattern forms, incl. pattern macros, to testgf3 2008-02-01 22:01:10 +00:00
aarne
3addf256bc GFCC: TM with argument; fixed labels from bindings in gfc 2008-01-31 20:56:42 +00:00
aarne
8f8aac4d24 gfcc generation with HOAS: var fields appended to records 2008-01-31 16:37:32 +00:00
bjorn
c6137229eb Standard format for floats and strings in GFCC. 2008-01-30 17:18:27 +00:00
bjorn
76bfc8e98d 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
42382d6f93 Merge AId and App forms in GFCCRaw. 2008-01-29 15:53:50 +00:00
bjorn
730a9905f3 UTF-8 encode in printGFCC. 2008-01-28 21:43:04 +00:00
aarne
327c63eb74 gt command in gf3 2008-01-08 12:22:05 +00:00
bjorn
f52c19d4da GFCCRaw printing: no space in App with no arguments. 2008-01-26 16:46:46 +00:00
bringert
10a9e25ceb Better names for the parsing info components in GFCC. 2008-01-09 13:51:21 +00:00
bringert
ad355515b0 Change "proj" to "P" in GFCC parse rules to save space. 2008-01-07 21:31:45 +00:00