krasimir
|
8184dc5512
|
use cannonicalizePath in getFilePathMsg. This returns an absolute path and removes the .. indirection
|
2008-04-25 15:53:02 +00:00 |
|
krasimir
|
3aeb52b2b4
|
completely rewriten readFiles implementation. Much simpler and more efficient
|
2008-04-25 15:50:54 +00:00 |
|
krasimir
|
3efe9ea55d
|
use putStrLn instead of print to dump error messages. This avoids the double quotes
|
2008-04-25 15:49:53 +00:00 |
|
krasimir
|
e332bd6214
|
fix the System.FilePath import for Posix
|
2008-04-22 20:06:05 +00:00 |
|
krasimir
|
b5e4b73273
|
fix complete pattern in isOldFile
|
2008-04-22 13:09:14 +00:00 |
|
krasimir
|
30f221cbb4
|
gfLibraryPath is actually an environment variable not a file path. Use the current directory instead.
|
2008-04-22 12:18:39 +00:00 |
|
krasimir
|
2a7c68ad65
|
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
|
e16215940e
|
use the standard System.FilePath module instead of our own broken file path manipulation functions
|
2008-04-22 11:39:46 +00:00 |
|
krasimir
|
caa6082b82
|
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
|
082668f182
|
Use Happy grammar for imports extraction instead of hand made shallow crapy grammar
|
2008-04-22 08:33:23 +00:00 |
|
krasimir
|
1858db942c
|
Some more ByteString related chandes in GF2
|
2008-04-17 13:22:10 +00:00 |
|
krasimir
|
4a8346086d
|
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
|
07900af066
|
gf3 should not exit if there is a syntax error in the file
|
2008-04-17 12:50:51 +00:00 |
|
meza
|
04da53c7e8
|
Changed JS generation to avoid grammar reference files. Removed grammar reference file generation.
|
2008-04-11 13:52:13 +00:00 |
|
bringert
|
6cf8790989
|
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
|
a4818eca6d
|
GF.GFCC.API is for .gfcc, not.gfcm
|
2008-04-07 15:40:41 +00:00 |
|
krasimir
|
da5200f02a
|
optimized incremental algorithm
|
2008-03-30 19:57:05 +00:00 |
|
aarne
|
f7b3e6d69d
|
miising ErrM added...
|
2008-03-18 15:42:51 +00:00 |
|
aarne
|
3dd5eea49d
|
merging recent changes in Finnish
|
2008-03-17 12:46:53 +00:00 |
|
aarne
|
c5268ded64
|
debugging GFCC generation
|
2008-03-16 13:42:32 +00:00 |
|
aarne
|
2a314b679d
|
putting pattern macros in place (not properly tested yet)
|
2008-03-15 21:02:59 +00:00 |
|
aarne
|
1196bbe21f
|
fixed bug leading to looping in Devel.Compute
|
2008-03-15 19:00:09 +00:00 |
|
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 |
|