1
0
forked from GitHub/gf-core
Commit Graph

1357 Commits

Author SHA1 Message Date
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
bringert
8b1b228ce7 update syntax.txt with the flags and grammar name changes 2007-12-21 17:26:41 +00:00
bringert
6296609baf Merge abstract and global flags and put them at the top level in GFCC files. 2007-12-21 17:25:35 +00:00
bringert
4b02f93eb2 Fixed bug in toGFCC: cflags where mistakenly taken from aflags. 2007-12-21 17:24:59 +00:00
bringert
b10fab6bfb gfcc files now start with (grammar absname cncname1 ... cncnameN). 2007-12-21 17:18:36 +00:00
bringert
8ef4cf6f2b Fixed indentation in generated haskell code for list categories. 2007-12-20 23:26:10 +00:00
bringert
3cc9cba65c in gf-embed.cabal: expose GF.GFCC.CId and hide GF.GFCC.Raw.AbsGFCCRaw 2007-12-20 23:20:53 +00:00
aarne
422e1b68ba changed AbsGFCC to CId in GFCCtoHaskell 2007-12-20 22:38:16 +00:00
aarne
d46f4c49e1 merged Gf and Fg classes in generated Haskell 2007-12-20 15:11:18 +00:00
bringert
d88071c37c Moved Err definition to GF.Data.ErrM from GF.Data.Operations. This means the GF-embed does not have to include GF.Data.Operations. 2007-12-20 17:41:31 +00:00
bringert
073c217b58 Update GF-embed.cabal to use GFCC.Raw 2007-12-20 17:35:18 +00:00
bringert
3eba035691 Replace all the different ErrM.hs modules with GF.Data.ErrM. 2007-12-20 17:34:12 +00:00
bringert
070ccd045d Added newlines and ends of some files. This makes sed happy. 2007-12-20 17:07:56 +00:00
bringert
597dce020d Use GF.GFCC.Raw.AbsGFCCRaw instead of GF.GFCC.AbsGFCC in code generated by gfc -haskell. 2007-12-20 16:57:16 +00:00
bringert
56b9e17203 Added missing BNFC-generated alex and happy files, and alex-generated lexer for GFCCRaw. 2007-12-20 16:32:39 +00:00
bringert
9999634574 Handle giving several options in LDFLAGS and CPPFLAGS correctly. 2007-12-20 15:55:26 +00:00