1
0
forked from GitHub/gf-core
Commit Graph

2860 Commits

Author SHA1 Message Date
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
bringert ff9e6404b8 Replace BNFC-generated PrintGFCCRaw with smaller hand-written one. 2008-01-07 21:31:05 +00:00
aarne c38f3da80b finnish Swadesh verbs 2008-01-07 15:59:17 +00:00
aarne e1dda4b5d8 fixed bugs in optimization of multiple application 2008-01-06 21:27:26 +00:00
aarne fc65b10e0f dictionary experiment with Finnish verbs 2008-01-06 21:05:56 +00:00
aarne 330350325f tests for verbs in uusisuomi 2008-01-06 12:16:07 +00:00
bringert 238dba6264 Remove LexGFCCRaw from GF-embed.cabal 2008-01-04 22:01:13 +00:00
bringert 90e8f433cf Replace BNFC-generated GFCC-parser with a faster and smaller combinator version. 2008-01-04 17:42:28 +00:00
aarne d550049873 finalizing experiments with Finnish nouns 2008-01-04 15:54:40 +00:00
bringert 934d4dbd7c 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 a68b2850e7 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 af1a3a2473 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 b3da2791fd subex elim in gfr generation 2008-01-01 23:31:12 +00:00
aarne e7611aefb4 Updated version numbers. 2007-12-21 17:43:27 +00:00
bringert 6eb575d55c update syntax.txt with the flags and grammar name changes 2007-12-21 17:26:41 +00:00
bringert 093633a216 Merge abstract and global flags and put them at the top level in GFCC files. 2007-12-21 17:25:35 +00:00
bringert 24c456cadf Fixed bug in toGFCC: cflags where mistakenly taken from aflags. 2007-12-21 17:24:59 +00:00
bringert 645a7db1e2 gfcc files now start with (grammar absname cncname1 ... cncnameN). 2007-12-21 17:18:36 +00:00
bringert ab7da811d2 Fixed indentation in generated haskell code for list categories. 2007-12-20 23:26:10 +00:00
bringert 176abb51d1 in gf-embed.cabal: expose GF.GFCC.CId and hide GF.GFCC.Raw.AbsGFCCRaw 2007-12-20 23:20:53 +00:00
aarne 8e3f63d7fa changed AbsGFCC to CId in GFCCtoHaskell 2007-12-20 22:38:16 +00:00
aarne d14358ff8b merged Gf and Fg classes in generated Haskell 2007-12-20 15:11:18 +00:00
bringert e4ffd51797 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 6bab46fbb2 Update GF-embed.cabal to use GFCC.Raw 2007-12-20 17:35:18 +00:00
bringert 5b01d912ce Replace all the different ErrM.hs modules with GF.Data.ErrM. 2007-12-20 17:34:12 +00:00
bringert 4ab0df67c5 Added newlines and ends of some files. This makes sed happy. 2007-12-20 17:07:56 +00:00