1
0
forked from GitHub/gf-core
Commit Graph

153 Commits

Author SHA1 Message Date
aarne
e9e80fc389 changed names of resource-1.3; added a note on homepage on release 2008-06-25 16:54:35 +00:00
aarne
b96b36f43d removed src for 2.9 2008-06-25 16:43:48 +00:00
meza
314f147bff JS.cf : Changed the JS grammar to support strings as property names in objects. Changed pretty much all the files in the same folder as well as GFCCToJS.hs and SISR.hs to reflect the changes. 2008-04-29 13:05:24 +00:00
krasimir
6550daf31c let the putPointE print the time in msec 2008-04-29 09:43:35 +00:00
krasimir
4e4734f5a3 remove the obsolete putCPU, putPoint and putPoint' functions 2008-04-29 09:22:57 +00:00
krasimir
e62c5b71c2 add ModEnv to CompileEnv. This removes the need to read one and the same time twice when multiple grammars are loaded. 2008-04-29 09:03:43 +00:00
krasimir
0b47519d44 use cannonicalizePath in getFilePathMsg. This returns an absolute path and removes the .. indirection 2008-04-25 15:53:02 +00:00
krasimir
d4832b4eeb completely rewriten readFiles implementation. Much simpler and more efficient 2008-04-25 15:50:54 +00:00
krasimir
955a5db693 fix the System.FilePath import for Posix 2008-04-22 20:06:05 +00:00
krasimir
d80c1b22ce fix complete pattern in isOldFile 2008-04-22 13:09:14 +00:00
krasimir
375754e106 move gfLibraryPath and gfGrammarPath to UseIO. Now they are accessible and there is only one place to change if you want to use different envVar 2008-04-22 12:12:29 +00:00
krasimir
fc111c1a79 use the standard System.FilePath module instead of our own broken file path manipulation functions 2008-04-22 11:39:46 +00:00
krasimir
7a6adbf359 isOldFile should use the real lexer instead of "words" this avoids the need for custom unComm function 2008-04-22 08:52:11 +00:00
krasimir
92917e6e5e Use Happy grammar for imports extraction instead of hand made shallow crapy grammar 2008-04-22 08:33:23 +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
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
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
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
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
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
b468482c3f Some work on gf3/gfc command-line options. 2008-02-19 20:59:01 +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
d2a5a88b18 Include parser in JS produced by gf3. 2008-02-06 17:08:50 +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
730a9905f3 UTF-8 encode in printGFCC. 2008-01-28 21:43:04 +00:00
aarne
c38f3da80b finnish Swadesh verbs 2008-01-07 15:59:17 +00:00
aarne
d550049873 finalizing experiments with Finnish nouns 2008-01-04 15:54:40 +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
bringert
ab7da811d2 Fixed indentation in generated haskell code for list categories. 2007-12-20 23:26:10 +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
5b01d912ce Replace all the different ErrM.hs modules with GF.Data.ErrM. 2007-12-20 17:34:12 +00:00
bringert
3d80cf6bf9 Use GF.GFCC.Raw.AbsGFCCRaw instead of GF.GFCC.AbsGFCC in code generated by gfc -haskell. 2007-12-20 16:57:16 +00:00
aarne
27602f4f82 took back smart type of Int ; Digits type in resource and some adjustments of Det syntax (not yet for romance and russian) 2007-12-17 18:12:46 +00:00
aarne
7551c70db6 restored Int size and last ; added lib/prelude to be the last in any grammar path 2007-12-16 22:24:36 +00:00
aarne
f85ba4bfa0 removed dep. on GFCCRaw 2007-12-14 09:25:18 +00:00
aarne
ab7d15ab38 added a module for testgf3 2007-12-14 07:42:56 +00:00