Compare commits

..

3884 Commits

Author SHA1 Message Date
krasimir
37d0200c7f added testsuite for the parser 2011-01-10 10:34:09 +00:00
hallgren
5d8d1999d8 The name of the fastcgi executable has changed back to pgf-service 2011-01-09 15:32:17 +00:00
krasimir
5941995c59 fix the computation of abstract expressions in the presence of implicit arguments 2011-01-08 20:55:58 +00:00
krasimir
f7a740d1bd fix the definition of functor composition in category theory 2011-01-08 20:43:45 +00:00
krasimir
d465292fde bugfix in the handling of implicit arguments in the typechecker 2011-01-08 12:55:50 +00:00
hallgren
a985ea56ef Download page: some more details on how to install the from darcs repository 2011-01-03 14:42:11 +00:00
hallgren
aa290678d6 Download page: add .deb package for easy installation in Ubuntu 2011-01-03 14:41:27 +00:00
krasimir
c8b6192128 The GF editor now lets the user to upload his/her own grammars 2010-12-28 16:26:10 +00:00
hallgren
3f34dee15b Fix to compile GF with GHC>=7.0 2010-12-28 13:54:18 +00:00
hallgren
55c2b7a083 Switch over start page and download page to version 3.2! 2010-12-23 20:35:36 +00:00
hallgren
ac6a3eace9 Somewhat better release notes, but more things could be added and some thing could be explained better. 2010-12-23 19:57:41 +00:00
hallgren
345d737e63 download: add 64-bit Linux version + more details in the instructions for building from source 2010-12-23 17:03:40 +00:00
hallgren
730bfd6c11 gf-server.cabal: changes to stop cabal from demanding hsql even when content-server is not going to be built 2010-12-23 17:02:13 +00:00
hallgren
bbc90b70f8 Got release not from Olga's notes. They need to be fleshed out, though. 2010-12-23 15:12:31 +00:00
aarne
084a0c8dde updated quick start 2010-12-23 15:09:31 +00:00
hallgren
37dc9fac42 build-binary-dsit.sh: make paths relative to /usr/local in the final tar file. 2010-12-23 12:40:04 +00:00
hallgren
231ce72bb4 Use i386 rather than i486 in binary package names 2010-12-23 12:18:11 +00:00
hallgren
bde22eadb5 Include Urd in the default set of languages to compile 2010-12-23 11:44:40 +00:00
hallgren
46ac2b60e7 Update version number to 3.2.
Code freeze for generation of binary distribution packages is imminent.
2010-12-23 11:26:33 +00:00
hallgren
9a8c660f5e Add release notes file download/release-3.2.t2t. Someone should fill it in. 2010-12-23 11:21:19 +00:00
hallgren
96c1a86e75 Apply stylesheet to GF quickstart 2010-12-23 10:32:39 +00:00
aarne
c3071113b3 word alignment ex in tutorial 2010-12-23 10:05:27 +00:00
aarne
706f3c89b5 fixed corrupted character in tutorial FoodIta 2010-12-23 10:04:50 +00:00
aarne
3036881d20 updated tutorial and quickstart for 3.2 2010-12-23 09:33:11 +00:00
hallgren
0b4aad88f6 Setup.hs: build both alltenses and present by default
Now you can specify more than one mode when building and installing the RGL.
For example to build all modes, run

        runhaskell Setup.hs build alltenses present minimal

The default is to build alltenses and present, which means that a single
command,

        cabal install

is enough to obtain a normal installation of GF. Without this change, additional
build and install commands would be required before you can compile example
grammars, like Foods and Phrasebook.

The build-binary-dist.sh script has been simplified accordingly.
2010-12-22 21:18:47 +00:00
aarne
4abd042759 FoodsPes and Sofy in status 2010-12-22 14:47:54 +00:00
hallgren
40b84d25e3 Documentation fixes
+ Rename some txt2tags file from .txt to .t2t and remove abandoned .txt files.
+ Add program update_html that finds all .t2t documents and updates the
  corresponding .html file. It can be invoked with 'make html'.
+ Add style to some .html documents
2010-12-22 16:57:53 +00:00
hallgren
59b36e0e4a PGF web service: make the generated index.html for pgf-http a bit more informative 2010-12-22 15:06:02 +00:00
hallgren
6eb3d8ae9c gf-server.cabal: update description of fastcgi flag 2010-12-22 15:05:10 +00:00
hallgren
ee018154c8 gf-server.cabal: make hsql-mysql optional like fastcgi
content-service depends on hsql-mysql, which depends on a C library, so like
fastcgi, only compile it if you ask for it explicitly with -ffastcgi.
2010-12-22 14:59:49 +00:00
hallgren
5b68ac537f gf-server.cabal: Change the default for the flag fastcgi to False
If you want the fastcgi server, use cabal install -ffastcgi.

This is to avoid problems when you only want to compile pgf-http and the
fastcgi library fails to install, which it usually does, since it depends on
a C library which is not installed automatically with cabal.
2010-12-22 14:49:17 +00:00
hallgren
505d99ec37 PGF web service: Use Content-Type text/javascript from JSON output
The Content-Type used to be text/json, but this caused warning messages in
some web browers.
2010-12-22 14:47:35 +00:00
aarne
c5b9637695 removed GF/deprecated 2010-12-22 14:11:55 +00:00
aarne
ce15ec7b78 moved parts of doc to deprecated/doc 2010-12-22 14:08:42 +00:00
krasimir
fb722fe8e2 added GrammarsPanel in the GF editor 2010-12-22 13:51:26 +00:00
aarne
5cd1dc9f88 updated GF/index.html 2010-12-22 13:06:03 +00:00
krasimir
d28242c03e tweak gf-server.cabal 2010-12-22 12:32:13 +00:00
aarne
eb478cecb6 refined synopsis 2010-12-22 09:57:16 +00:00
aarne
27664de321 making synopsis work for structural words, etc 2010-12-21 23:23:20 +00:00
hallgren
4bab82398c Add build-binary-dist.sh 2010-12-21 22:18:48 +00:00
krasimir
0aab9833f7 more clear LICENSE file for GF 2010-12-21 10:57:54 +00:00
aarne
e1e0bf1a22 remove -src from Setup; simplified str2numeral; bug fix in Finnish ordinal inflection 2010-12-21 09:58:12 +00:00
hallgren
ad736fc7b1 download/index-3.2.t2t: first version of download page for GF release 3.2 2010-12-20 21:56:10 +00:00
hallgren
82d32af410 css/style.css: a style sheet for GF web pages 2010-12-20 21:54:51 +00:00
hallgren
721fae10a2 index.html: changes for release 3.1.6
It's a bit late. I don't know why these changes haven't been recorded before...
2010-12-20 21:35:38 +00:00
hallgren
74fe9d1352 New demo: translation quiz. Remove outdated demos/index.txt 2010-12-20 17:33:34 +00:00
hallgren
9cb4b5db83 gf.cabal: version 3.1.91, remove pgf-http
The version of cabal distributed with Ubuntu 10.10 is too old to handle
executables that refer to the library in the same package, so to not make it
too complicated for Ubuntu users to compile GF from source, pgf-http is no
longer part of the main gf.cabal. :-(
2010-12-17 16:59:35 +00:00
hallgren
e8e13a6315 Add -optimize-pgf to Makefile for Foods.pgf 2010-12-17 16:47:25 +00:00
hallgren
65b717c362 minibar.html: omit explicit grammars_url option
The grammars will then by default be fetched from the same server as
minibar.html. This means that everything will be served locally when accessing
minibar through a locally running pgf-http.
2010-12-17 16:43:11 +00:00
hallgren
9ad094577a minibar/support.js: fix comment typos and add links 2010-12-17 16:42:08 +00:00
hallgren
2e6269ddb4 pgf-http now uses $datadir/www instead of ./www as the document root
Along with the changes to Setup.hs it should now be enough to do

	cabal install
	pgf-http
	open http://localhost:41296/

to run the PGF service locally and play with some example grammars in minibar.
2010-12-17 16:35:59 +00:00
hallgren
7ebdacc884 RunHTTP.hs: remove hardcoded document root
The document root is now part of the arguments passed to runHTTP.
2010-12-17 16:33:54 +00:00
hallgren
c51d1f9833 Install minibar and some example grammars along with pgf-http
Together with the changes to pgf-http, this should make it much easier to run
the PGF service and minibar locally.
2010-12-17 16:29:22 +00:00
krasimir
71e0ec4d41 bugfix: GeneratePMCFG should initialize the lexicon to empty 2010-12-17 09:11:04 +00:00
krasimir
e4b2b8541f bugfix: setProbabilities should be more robust when there are missing probabilities for some functions or categories 2010-12-17 09:09:07 +00:00
aarne
2057c9f284 fixes in QueryFre 2010-12-16 16:27:13 +00:00
aarne
f390b2a338 some fixes in QuerySwe; a first version of QueryFre 2010-12-16 15:53:07 +00:00
aarne
61e4e9ac20 updated documentation of pg -printer formats 2010-12-14 22:05:53 +00:00
aarne
9c86b62212 documented the pgf -printer values for help 2010-12-14 20:40:17 +00:00
aarne
4a5d8d9f55 option cc -list added 2010-12-14 17:42:42 +00:00
krasimir
505e34aea7 PGFToCFG should use the full production set because the lexicon is now split out 2010-12-14 21:25:43 +00:00
krasimir
c571e6ef33 now every parse state keeps reference only to the concrete and the abstract syntaxes but not to the whole PGF 2010-12-14 17:20:53 +00:00
hallgren
13bddae588 numerals: add language flags
to help minibar pick the right default language
2010-12-14 16:41:28 +00:00
hallgren
42259d2957 Update version number to 3.1.90 to indicate that we are getting close to the 3.2 release 2010-12-14 15:43:35 +00:00
aarne
e7fbe756a3 work-around in Tree.expr2tree to make Paraphrase work 2010-12-14 14:36:05 +00:00
aarne
a8a3c62f60 type checking of oper types with let expressions 2010-12-14 14:35:41 +00:00
krasimir
7d58efb660 optimization in the parser for large lexicons. Now, the parser is slightly slower for grammars with a small lexicon but 3-4 times faster for the English Resource Grammar used in combination with Oxford Advanced Learners Dictionary 2010-12-14 08:46:22 +00:00
krasimir
0c4f5030c7 update the testsuite for the parser to the latest API 2010-12-13 17:53:06 +00:00
aarne
9b5223a06b fixed the failure to partial-evaluate pre in right-associative context 2010-12-11 16:27:35 +00:00
gdetrez
1ed5b52a03 In the haskell code, we make the binary representation of the doubles compliant with IEEE 754.
The default binary representation in haskell's Data.Binary package is
homemade and quite complicated. Making it compliant with IEEE 754 will
make it easyer for the java runtimes (and probably others) to load the
PGF.
2010-10-19 18:34:29 +00:00
aarne
96433c2914 preparing resource api for multilingual documentation 2010-12-10 08:48:26 +00:00
hallgren
8bb09fd64a minibar/support.js: add an errorcallback parameter to ajax_http_get 2010-12-09 16:38:16 +00:00
aarne
9adfac7ff1 no pro drop for polite forms in PhrasebookPol 2010-12-08 15:26:25 +00:00
aarne
f6e088770f ProDrop in PhrasebookPol 2010-12-08 14:01:34 +00:00
krasimir
73a10e1a66 some more functions in GF.Data.TrieMap 2010-12-08 12:51:37 +00:00
aarne
55bd1cb8d0 CompCN in Hindustani and Pnb by Shafqat 2010-12-08 10:59:48 +00:00
krasimir
0f4927dd40 fixed typos in the documentation for PGF.Parse 2010-12-08 10:32:18 +00:00
krasimir
b6446ec36d simple refactoring in PGF.Macros and related 2010-12-06 14:19:51 +00:00
aarne
0f444d8893 optimize-pgf and file flag in pg -pgf 2010-12-07 19:28:40 +00:00
aarne
dd6e0b1730 moved PGF.ToApi to GF.Compile.ToAPI 2010-12-07 18:05:13 +00:00
aarne
978e2e4241 shell command pg -pgf writes current pgf into a file 2010-12-07 16:05:37 +00:00
hallgren
b39d69eeae minibar.js: restore start_miniabr function for backward compatibility 2010-12-07 13:00:36 +00:00
aarne
550c90e93e wir without capitals in PhrasebookGer 2010-12-07 12:54:05 +00:00
aarne
e8adb69e3d slight refactoring of Phrasebook, with less start words 2010-12-07 12:32:57 +00:00
aarne
cb0a1ede45 changed animals so that it compiles, after manual removal of duplicated api functions (to be fixed in ToAPI) 2010-12-06 11:03:00 +00:00
aarne
1f75143d6c printing option -api in the eb command 2010-12-06 10:49:38 +00:00
ra.monique
7fba8c338d no more IO in the syntax to API translator 2010-12-06 10:15:14 +00:00
aarne
00111b10c1 vt -api with conversion to resource API names 2010-12-06 09:53:04 +00:00
ra.monique
6268c2d7d9 added syntax to api translation module 2010-12-05 19:51:19 +00:00
hallgren
18e3687832 minibar: rewrite minibar.js in a more idiomatic JS OOP style
This provides easier access to minibar internals for people who want to extend
it, but probably also reveals too much of the internal machinery...
2010-12-01 16:37:14 +00:00
hallgren
b0027c3305 Let minibar keep its own copy of tree-btn.png 2010-12-01 16:28:27 +00:00
hallgren
a2b9a684c0 support.js: add function bind (JS OOP trick) 2010-12-01 16:20:28 +00:00
aarne
9b6f775b76 documentation in gfm-format examples (dir renamed from multi) 2010-12-01 08:10:23 +00:00
hallgren
acfa9722e2 Setup.hs: improved langs=... option
Instead of just giving an explicit list of languages to compile, you can
now also add and remove languages from the default list by using langs=+...
or langs=-...

Examples:

	cabal build langs=Eng,Swe,Ger   -- as before, compile the given 3 langs
	cabal build langs=-Fin          -- use default languages, but omit Fin 
	cabal build langs=+Urd		-- use default languages + Urd

("cabal build ..." is the same as "runhaskell Setup.hs build ...")
2010-11-30 16:49:15 +00:00
hallgren
47c276a656 Setup.hs: omit urdu when compiling the rgl, for now. 2010-11-30 16:29:36 +00:00
aarne
1b5fa37a26 two examples of the .gfm format 2010-11-30 14:54:03 +00:00
aarne
752a7b8030 format .gfm for multiple modules in the same file; includes lines with ;-separated words 2010-11-30 14:50:24 +00:00
ra.monique
667e7e67d3 fixed SUMOEng with open instead of import for the Extension module 2010-11-28 19:38:56 +00:00
hallgren
8e6421a03e minibar/about.html: minor adjustments 2010-11-28 11:52:48 +00:00
hallgren
4b45cc6b48 Use the internal preprocessors mkPresent and mkMinimal 2010-11-26 18:49:01 +00:00
hallgren
52eb1dcc37 Add builtin preprocessors. Avoid creating tmp file. Fix multipreprocessor bug.
* The gf command line options -preproc=mkPresent and -preproc=mkMinimal now
  refer to internal preprocessors equivalent to lib/src/mkPresent
  and lib/src/mkMinimal.

* The temporary file _gf_preproc.tmp is not created when running an
  internal preprocessor, unless there is an error, since errors messages
  refer to locations in the preprocessed file. (Possibly allowing the rgl
  build to be parallelized.)

* After running an external preprocessor, the temporary file is deleted,
  unless there was an error.

* (Bug fix) Before, when running more than one preprocessor, the same file name
  would be used for both input and output, e.g.,

	mkPresent _gf_preproc.tmp > _gf_preproc.tmp

  which would result in an empty file being processed. Now, the input and
  output files will always be different.
2010-11-26 18:25:29 +00:00
hallgren
4c6b772934 Adding rules for pgf-http to main gf.cabal file
pgf-http is now part of the standard GF build & install.
2010-11-26 15:44:43 +00:00
hallgren
72d2d9b204 Split pgf-server into pgf-fcgi and pgf-http.
The dependency on the fastcgi package made pgf-server difficult to compile, so
it is now split into

  - pgf-fgci (main module in pgf-fcgi.hs), which is built only if fastcgi is
    already installed or if you turn on the fastcgi flag (e.g. by doing
    'cabal install -f fastcgi').

  - pgf-http (main module in pgf-http.hs) which is always built (and hopefully
    has no problematic dependencies.) 

The modules FastCGIUtils and PGFService no longer depend on fastcgi.
2010-11-26 14:30:51 +00:00
hallgren
75ad59b121 pgf-server: more useful JSON output from lineraizeAll
Example:

Request: http://www.grammaticalframework.org:41296/grammars/Quiz.pgf?command=linearizeAll&tree=Run+YouPl

Response: [{"to":"QuizEng","texts":["you run"]},
           {"to":"QuizSwe","texts":["ni l??per","ni springer"]}]

Compared to the old command linearize:

Request: http://www.grammaticalframework.org:41296/grammars/Quiz.pgf?command=linearize&tree=Run+YouPl'

Response: [{"to":"QuizEng","text":"you run"},
           {"to":"QuizSwe","text":"ni l??per"}]
2010-11-25 18:30:30 +00:00
aarne
243a0b3659 DiffUrd and Hin; updated Transliteration.hs 2010-11-25 12:22:58 +00:00
aarne
6734572aaf linearizeAll in PGFService 2010-11-24 21:17:29 +00:00
aarne
153568c17f lang flag in align_words sets the list of languages 2010-11-22 22:41:29 +00:00
krasimir
0b80b3ef0a command ai in the shell now shows the probability of the tree 2010-11-24 12:51:54 +00:00
hallgren
ee85111d38 minibar/about.html: document recent development 2010-11-23 12:26:32 +00:00
aarne
67176f1520 completed book examples 2010-11-22 15:48:52 +00:00
aarne
76ba03b545 started a subdir for the book 2010-11-22 12:55:37 +00:00
aarne
0bf4179369 tools/Multi, a script for generating multilingual lexicon grammars with the minimum of effort 2010-11-19 16:50:32 +00:00
aarne
2acb125f6f fixed some bugs in translation quiz 2010-11-17 08:30:02 +00:00
krasimir
7a2ab26f9f forgot to add ContentService.java in the GF Editor 2010-11-17 10:46:00 +00:00
aarne
cf8e1850bd query language versions merged 2010-11-15 17:28:39 +00:00
krasimir
f6a7292ad2 bugfix for the abstract operations 2010-11-15 09:38:31 +00:00
aarne
75570c9820 flags in Setup.hs to speed up library compilation 2010-11-13 22:18:41 +00:00
krasimir
115b4213d5 operations in the abstract syntax 2010-11-12 19:37:19 +00:00
hallgren
b46442ab0b examples/numerals: adapt to current GF syntax 2010-11-12 16:46:44 +00:00
aarne
bad36015d2 lib/amharic by Markos Kassa Gobena 2010-11-10 17:01:12 +00:00
hallgren
41df4e00ff Some pgf-server API documentation 2010-11-09 21:02:07 +00:00
hallgren
b0594eb545 pgf_online.js: if a grammar list is supplied, you don't have to call switch_grammar. 2010-11-09 16:29:04 +00:00
hallgren
61837063a1 Make PGFService.hs compile again
+ PGFService.hs: add Nothing arguments in calls to PGF.parse_ and
  PGF.getPArseOutput
+ gf-server.cabal: mark content-server as not buildable, since required source
  files are missing.
2010-11-09 15:08:37 +00:00
hallgren
91ba2c01bf minibar.js: code simplification 2010-11-09 11:58:38 +00:00
hallgren
e07098e31f support.js: two new functions: commonPrefix & insertFirst 2010-11-05 15:41:06 +00:00
krasimir
f86ed9677a fix the history management in the editor 2010-11-07 16:17:15 +00:00
aarne
c5334613c5 trying to find some inefficiencies in Finnish resource 2010-10-25 19:56:47 +00:00
krasimir
ad28e99f35 preliminary UI for storage/retrieval/search of documents in the GF editor 2010-11-01 09:25:22 +00:00
ramona.enache
1f8a0f0876 added giza Alignments with command ga and merged the rendering algorithm for graphviz and giza alignments 2010-10-31 13:39:01 +00:00
hallgren
524fb1a6bc minibar.js: bug fix: when not using group translation, and a particular language is chosen in the To: menu, the translation would not be displayed 2010-10-28 12:39:56 +00:00
hallgren
7fac5dc089 minibar.js: bug fix: the To: menu wasn't updated properly when switching grammars 2010-10-28 11:53:50 +00:00
krasimir
119f7bc78a update the testsuite. Now we can typecheck more programs than before 2010-10-27 17:58:40 +00:00
hallgren
5fc0e059c5 minibar: restructured code and improved user interface
* Keyboard input and completion should now work much more smoothly:
  + When you press space, the current word will be completed (if incomplete)
    and a new magnet will be created. If there is more than one possible
    completion, no magnet is created, but the common prefix of the possible
    completions is added to the text box.
  + Instead of asking the server for possible completions every time a new
    letter is added to the curent word, minibar only ask for completions for
    whole words and then filters the list locally when more letters are entered,
    speeding things up when server responses are slow.

* Code restructuring:
  + The PGF server API has been moved to its own file: pgf_online.js. This
    allows it to be reused in other applicaitons without importing the entire
    minibar. It also allows minibar to be used with different server interfaces.
  + The minibar code has been rewritten to avoid storing state information
    in the document tree and accessing it by referring to named document
    elements. The code now also avoids using string literals contaning
    the names of top-level functions to specify event handlers for buttons
    and menus. (The code is no longer introspective, so alpha conversion will
    not change its meaning.)
2010-10-26 12:42:33 +00:00
hallgren
1e51a2e9e5 support.js: some enhancements and new functions
+ ajax_http_get(url,callback) now checks the HTTP response status and shows an
  error message if the status is not OK (is not 200)
+ New function node(tag,attrs,children) to create document nodes with arbitraty
  attributes and children. The functions node() and text() should now be enough
  to construct arbitrary document trees in an easy, functional way, and many of
  the more specialized functions could be removed.
+ When calling the function button(label,action,key), the action can be a
  function instead of a string, so you can use local/anonymous functions.
+ New function debug(str) adds text to the element with id=debug, if it
  exists.
2010-10-26 11:52:04 +00:00
aarne
092c75bb5f new numerals/amharic.gf by Markos 2010-10-26 09:56:48 +00:00
krasimir
0ba1daf5eb when faced with hard unification problem the type checker should just postpone the decision instead of failing immediately. added test case as well 2010-10-25 15:47:33 +00:00
krasimir
aa6b07afdb when we print the bracketed string it is useful to print the attached metavariables as well 2010-10-25 12:21:12 +00:00
krasimir
2aea03a614 update the testsuite to the latest state of the compiler/interpreter 2010-10-25 11:50:41 +00:00
krasimir
84736e5712 fixed typo in GeneratePMCFG.hs. fidFloat -> fidVar 2010-10-25 11:48:17 +00:00
krasimir
2d3340b48a During the compilation, the final message "OK" should be displayed only if we are not in silent mode. This was changed incidentally on the way. 2010-10-25 11:31:16 +00:00
krasimir
822a70cf7a change the TcM monad to continuation passing style. The old monad caused stack overflow for large search spaces 2010-10-21 15:01:52 +00:00
krasimir
4f3b4bb19f added week day's names in SUMO for Bulgarian and Swedish 2010-10-21 14:48:04 +00:00
krasimir
82edf7bebb support for proof search with high-order functions 2010-10-21 12:47:26 +00:00
aarne
8bffe71cd4 functorized Query and added Swe 2010-10-20 16:22:23 +00:00
krasimir
2991b7acef bugfix in the term generation 2010-10-20 13:36:39 +00:00
krasimir
d45b4ae426 fixed typo which broke the parsing with -openclass 2010-10-20 09:04:48 +00:00
krasimir
4ac1cf4970 in the type checker monad we should use lazy pattern matching because otherwise we force the exhaustive tree generation to be strict 2010-10-19 13:04:41 +00:00
krasimir
e36cc73b0f in tutorial/smart remove the hack that forced the proof object to be resolved 2010-10-18 12:28:39 +00:00
krasimir
775e59dabe added explicit depth parameter to the parsing API and the corresponding command in the shell 2010-10-18 16:51:25 +00:00
krasimir
205ac48ac3 typo in PGF.TypeCheck which spoiled the previous patch 2010-10-18 16:50:55 +00:00
krasimir
702b4aad3b now we use the GF reasoner to fillin meta variables in the abstract trees generated from the parser 2010-10-18 15:55:14 +00:00
krasimir
9723055350 forgot Birds.gf 2010-10-18 13:03:43 +00:00
krasimir
4e382e3306 translation to English of the Birds dictionary 2010-10-18 11:41:39 +00:00
hallgren
57f0124f2a minibar.html: add a <noscript> element with a note that the page doesn't work unless JavaScript is enabled 2010-10-23 14:56:10 +00:00
hallgren
d803d2a925 minibar.js: show the type error messages that can occur for grammars with dependent types 2010-10-18 12:15:30 +00:00
krasimir
ca0214d6a1 small Swedish/Bulgarian dictionary of birds in SUMO 2010-10-18 08:55:51 +00:00
hallgren
26da60d0a9 minibar.js: add an option to enable/disable the Random button 2010-10-17 16:48:21 +00:00
krasimir
9acd33f878 added .authorspellings file in the root directory 2010-10-16 13:10:06 +00:00
krasimir
05a52d6937 now since the type checking monad TcM is nondeterministic we can use the same monad in PGF.Forest.getAbsTrees 2010-10-14 14:28:40 +00:00
krasimir
82214f0be5 generalize the nqueens function in NQueens.gf 2010-10-13 17:53:44 +00:00
krasimir
95713b9489 add start category S in NQueens. This helps the EditorApp to find the start category 2010-10-13 13:53:29 +00:00
krasimir
354838807f use "-" and ";" instead of "_" and "\n" in NQueens 2010-10-13 13:47:22 +00:00
krasimir
7fc638e030 bugfix in PGF.VisualizeTree for handling trees with implicit arguments 2010-10-13 13:32:48 +00:00
krasimir
5ff6489013 WebUI: show error when depth/limit has invalid value 2010-10-13 12:53:42 +00:00
krasimir
09ce38742c fix PGF.Generate.restart. The restart should be done only if there are some solutions found 2010-10-13 12:38:51 +00:00
krasimir
cecf94d729 the PGF service now can do both random and exhaustive generation. these functions now return both the generated tree and its linearization 2010-10-13 12:32:49 +00:00
krasimir
63ac5f5db6 improved Web UI for queries 2010-10-13 12:31:38 +00:00
krasimir
8970184578 added option -depth to command gr 2010-10-12 13:36:37 +00:00
krasimir
de0354f991 the exhaustive/random generator now knows how to handle computable functions in the types 2010-10-11 17:18:28 +00:00
krasimir
3ac637ddcb update NQueens to use: 1) lists i.e. [Nat]; 2) implicit arguments 2010-10-11 17:17:04 +00:00
krasimir
f305587a62 now the generation from template with meta-variables respects the dependent types 2010-10-11 09:59:57 +00:00
krasimir
d8aa316588 extended CountriesAndRegionsRon.gf 2010-10-10 13:10:21 +00:00
krasimir
52cd3d5cbd added dummy search box for documents 2010-10-07 16:18:45 +00:00
krasimir
339de4c281 use TabBar for the links in the upper-left corner of the editor 2010-10-07 15:09:59 +00:00
krasimir
5f84c53681 dummy UI for documents saving/loading in the editor 2010-10-07 14:09:08 +00:00
krasimir
89ae7a3ac4 forgot to remove a trace message 2010-10-02 13:38:00 +00:00
krasimir
7200244605 backtracking for random generation is not enough. we must restart the search after each solution 2010-10-02 13:34:58 +00:00
krasimir
cb8795c222 refactor the API for random generation again. Now PGF contains probabilities in the abstract syntax 2010-10-02 13:03:57 +00:00
krasimir
72cc4ddb59 fixes in FridgeApp. now it is compatible with EditorApp 2010-09-30 08:08:57 +00:00
krasimir
c200232bfd update PGFService to work after the extensions in the random generation API 2010-09-30 07:35:54 +00:00
krasimir
3c3082f8ee fix the compilation of FridgeApp 2010-09-29 14:15:36 +00:00
krasimir
35b14d26f3 restore the method BracketedString.render which was needed for TranslateApp 2010-09-29 13:53:13 +00:00
krasimir
fdcec4273c add Magnet.getWord() 2010-09-29 13:47:51 +00:00
krasimir
8d37ed015e added compilation scripts for the editor 2010-09-29 13:32:23 +00:00
krasimir
3b11f81c6b initial import of the new GF editor. Note: the FridgeApp is temporary broken. It will be fixed with the next patch 2010-09-29 13:17:48 +00:00
hallgren
8b7d27fe4c minibar: work on adding back support for typing multiple words without pressing enter in between
It mostly works now, but some minor issues still need to be fixed.
2010-09-29 13:03:40 +00:00
aarne
fe15579b31 extended Attempto with some constructs 2010-09-29 07:16:33 +00:00
aarne
8fa5a50728 fixes in French morpho quiz grammar 2010-09-28 16:52:48 +00:00
hallgren
66672d8af1 minibar: update about.html with description of recent changes 2010-09-28 11:46:32 +00:00
hallgren
1ac7a8bd7c minibar/about.html: fix typos and formatting 2010-09-24 12:57:16 +00:00
hallgren
72fe93a8c4 minibar.html: specify charset, move initialization
Added a meta tag to specify that the file is in UTF-8. This makes the browser
(at least Firefox) assume that the JavaScript files are also in UTF-8, it seems.

Moved the call to start_minibar() from the <body onload="..."> to the end of
the file. The onload action is not executed until all images in the document
has been loaded, while javascipt at the end of the file is executed as soon
as the HTML file has been loaded. (Calling start_minibar() from the head of
the document would be too soon, since it refers to elements in the body,
which hasn't been loaded yet.)
2010-09-24 12:47:18 +00:00
hallgren
8ce7ef3bdd pgf-server HTTP mode: omit charset from ContentType for static files
When pfg-server servers a static file in HTTP mode, it is output as is, so
specifying charset="iso-8859-1" could be wrong. 

Note: the a charset can be specified with a meta tag in HTML files,
e.g. for files in UTF-8:

<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
2010-09-24 12:34:38 +00:00
aarne
709b0518fa restored the .ebnf grammar format 2010-09-24 12:39:49 +00:00
krasimir
617ce3cce6 the first revision of exhaustive and random generation with dependent types. Still not quite stable. 2010-09-22 15:49:16 +00:00
krasimir
1c9305e7a3 cleanup and export the Probabilistic API from PGF 2010-09-22 09:06:19 +00:00
krasimir
fb15e95a07 rename BucharestIndia to BucharestRomania. Agreed with Adam Pease 2010-09-21 18:42:39 +00:00
krasimir
ef1a4ebc6e added GeographyEng 2010-09-21 18:40:11 +00:00
krasimir
70d8765418 fixes in Basic.gf to avoid loops in the reasoner 2010-09-21 18:38:06 +00:00
krasimir
197c377c6d since Satellite is already subclass of AstronomicalBody we could simplify the signature of NaturalSatellite_Class 2010-09-20 15:21:13 +00:00
krasimir
ef3f1c3883 few more fixes in CountriesAndRegionsEng.gf 2010-09-18 17:29:02 +00:00
krasimir
21445f9fea fix the linearization of GuineaBissau 2010-09-18 17:12:52 +00:00
krasimir
f2051c33e6 cleanup CountriesAndRegions and Mondial. For some reasonthe abstract syntax for all countries was moved from CountriesAndRegions to Mondial. It is even more odd that there was a linearization for them both in CountriesAndRegions and Mondial 2010-09-18 08:57:50 +00:00
krasimir
905aeb9904 fix typo: the linearization of Iraq was Iran 2010-09-17 18:32:34 +00:00
krasimir
e30f2212b9 added MondialRon and CountriesAndRegionsRon with data imported from geonames.org 2010-09-17 16:22:10 +00:00
krasimir
e1ed8277a9 fix the compilation of CountriesAndRegionsEng.gf 2010-09-17 16:20:47 +00:00
krasimir
d2a17f02d7 some comments in Mondial.gf 2010-09-17 16:19:40 +00:00
krasimir
18e09d6483 remove Model and ProcessTask from MergeRon because they were already moved 2010-09-17 16:16:36 +00:00
krasimir
f1078b44b6 remove SubClassC and subClassCStm from BasicEng, BasicRon and BasicFre 2010-09-17 15:53:58 +00:00
krasimir
d09f62b0b1 bugfix in PGF.Type.pType: Agda style types like {x : A} -> B should not be supported in GF 2010-09-12 12:26:38 +00:00
hallgren
1b6d9ee29d minibar.js: server API code cleanup 2010-09-14 17:15:37 +00:00
hallgren
1f06415774 minibar.js: bug fix: the current word should be accepted when you press enter if it matches one of the possible completions exactly
The current word is also accepted if there is only one remaining possible
completion.
2010-09-14 16:48:20 +00:00
hallgren
7581451852 minibar.js: add access keys to some of the buttons 2010-09-14 16:45:48 +00:00
hallgren
17cf4e1276 support.js: create buttons with access keys 2010-09-10 12:20:07 +00:00
hallgren
2d75820da4 pgf-server HTTP mode: support the Accept-Language header
It is needed for the userLanguage field in the grammar info from pgf-server
2010-09-10 11:20:49 +00:00
hallgren
e13e47be8a minibar: default input language is now the user's preferred language, if possible
This is implemented using the userLanguage field in the grammar info output by
pgf-server.
2010-09-10 11:03:46 +00:00
hallgren
46da64cc72 minibar: use AJAX instead of JSONP when possible
Using AJAX instead of JSONP can give better caching in the browser, since the
URL doesn't need to contain a (dynamically generated) callback function name.
But because of the same origin policy in JavaScript, AJAX can only be used when
the HTML file is served from the same server as the PGF. The new function
http_get_json in support.js uses AJAX if this is the case, and falls back to
JSONP otherwise.
2010-09-10 08:38:11 +00:00
krasimir
e099336afa add QoSontologyEng and linearization for ProcessTask 2010-09-06 09:12:49 +00:00
ramona.enache
8c2e696f27 added Model and ProcessTask in SumoFre and SumoRon 2010-09-06 08:58:30 +00:00
ramona.enache
4143834e69 changed SUMOFre encodings 2010-09-06 08:30:22 +00:00
ramona.enache
1edd84c21a added basic concepts of the SUMO ontology for French and Romanian 2010-09-04 21:19:03 +00:00
hallgren
5290659c2c Minibar: PGF server API: pass callback functions directly instead of passing function names as strings. 2010-09-05 18:06:45 +00:00
hallgren
c85c1e1c11 minibar: fix broken link to brushed-metal background
Solution: include a local copy of brushed-metal.png
2010-09-05 18:01:44 +00:00
aarne
d62c7b8dc1 added Urd to Setup 2010-09-03 14:05:07 +00:00
hallgren
5b09b82f31 pgf-server HTTP mode: workaround for bugs in the httpd-shed package that prevented the fridge and translate web apps from working
queryToArguments "?&input=bla+bla"
           returns [("&input","bla+bla")]
 but should return [("input","bla bla")]
2010-09-03 13:12:08 +00:00
aarne
9fc58ce0e7 kein Deutsch and some other Phrasebook fixes 2010-09-03 09:02:00 +00:00
aarne
1527d470ec prepared German for kein Deutsch 2010-09-02 16:48:22 +00:00
aarne
952fb7685b word order in indirect 'how far' questions in Eng and Dan 2010-09-02 16:18:35 +00:00
hallgren
b1bf971066 pgf-server HTTP mode feature: return the contents of index.html when the URL refers to a directory 2010-09-02 14:10:07 +00:00
hallgren
daa726d742 Bug fix: add missing error handler for statically served files in pgf-server HTTP mode 2010-09-02 13:54:16 +00:00
jordi.saludes
1fd51c0580 Autocompute python version in py-binds. 2010-09-01 12:49:47 +00:00
jordi.saludes
f0c0648905 Fixing assertion in py-binds test. 2010-09-01 11:10:24 +00:00
jordi.saludes
e3e525ff6e Removing obsolete code in py-bindings. 2010-07-28 14:21:43 +00:00
jordi.saludes
c3e35728eb Changed calling style in py-bindings. 2010-07-28 14:15:06 +00:00
jordi.saludes
dcac7254f3 Added 'functions' and 'functionType' to py-bindings. 2010-07-27 15:42:48 +00:00
jordi.saludes
b9de5c36c0 Added inferExpr to py-bindings. 2010-07-27 07:50:48 +00:00
jordi.saludes
1209cd8f9e Added testing of Expr unapplying in py-bindings. 2010-07-25 17:07:14 +00:00
jordi.saludes
23eb7b6df6 Added unapplying of Expr in py-bindings. 2010-07-25 14:48:25 +00:00
hallgren
ac23280320 Standalone HTTP version of pgf-server
pgf-server can now act as a standalone HTTP server. To activate this mode,
start it with

	pfg-server http

to use the default port number (41296), or give an explicit port number, e.g.,

	pgf-server http 8080

The HTTP server serves PGF files in the same way as the old FastCGI interface.
In addition, it also serves static files. The document root for static files
is the www subdirectory of the current directory where pgf-server is started.

In spite of these addition, backwards compatibility is maintaned. The old
FastCGI interface continues to work as before. (It is activated when
pgf-server is started without arguments.)
2010-09-01 14:08:52 +00:00
krasimir
31ee0bc804 linearization for PrimaryColor in SUMO 2010-08-31 09:52:30 +00:00
krasimir
fad0512c94 added missing case for GF.Compile.GeneratePMCFG.evalTerm 2010-08-30 07:54:53 +00:00
krasimir
ab9d27f995 PGF.Expr.normalForm does variable renaming 2010-08-30 07:37:12 +00:00
hallgren
509ccb0db0 Adapt minibar.js to the current GF web service API
Quick fix. More work needed for correct behaviour when multiple words are
entered at once.
2010-08-27 16:46:14 +00:00
aarne
db06000701 embedded questions in phrasebook 2010-08-27 15:14:06 +00:00
krasimir
b0e110cf4f native representation for HOAS in PMCFG and incremental type checking of the parse forest 2010-08-09 10:10:08 +00:00
aarne
68d04c9136 typo (?) in Dutch "cost" 2010-08-25 11:56:23 +00:00
aarne
f6b7d46892 verbosity in make phrasebook ; removed own hacks in LexiconBul 2010-08-25 11:30:16 +00:00
aarne
c67a50b869 updates in Phrasebook and resources 2010-08-25 09:08:31 +00:00
krasimir
d3a6866277 more advanced complete function in the PGFService 2010-08-24 15:58:22 +00:00
krasimir
4df7b04935 revert the TranslateApp to its classical simple variant 2010-08-24 15:17:11 +00:00
krasimir
34c252d974 remove Editor.css as well 2010-08-24 15:04:34 +00:00
krasimir
bd3c833b14 remove the canParse flag from the GWT applications 2010-08-24 14:59:59 +00:00
krasimir
af137d65a5 remove the experimental GWT EditorApp 2010-08-24 14:41:37 +00:00
krasimir
545cd9396e exclude two redundant modules from the cabal desciption of the compiler 2010-08-24 14:19:08 +00:00
aarne
acb838eb79 silence in Compile in phrasebook 2010-08-24 14:17:09 +00:00
aarne
bf6857f43e adjective forms fixed in Phrasebook 2010-08-23 07:47:05 +00:00
aarne
30071b8046 GF emacs mode 2010-08-19 11:36:24 +00:00
krasimir
a4cf8b2a52 linearizations for few class names in SUMO 2010-08-08 10:38:31 +00:00
krasimir
94bd76df72 two new functions in the PGF API: mkAbs, unAbs 2010-07-31 16:40:16 +00:00
krasimir
98c22ef92b bugfix in the PGF browser 2010-07-31 16:04:15 +00:00
krasimir
6a1dbd0a53 the PGF service now generates samples of the syntax in the browsing information 2010-07-31 15:54:03 +00:00
krasimir
f5fb69d3cd add coding=utf8 to BasicRon.gf 2010-07-31 14:27:57 +00:00
krasimir
c033bbccff fix: FastCGIUtils.outputHTML should do UTF8 encoding 2010-07-31 13:56:55 +00:00
krasimir
d78aaf18da move class Apple from MidLevelOntology to Economy for French and Romanian 2010-07-31 13:54:01 +00:00
krasimir
067d908aa3 now the meta id of the meta variables is accessible via the PGF API 2010-07-31 12:52:20 +00:00
krasimir
b351c9d9dd added function unType in PGF 2010-07-31 12:47:10 +00:00
krasimir
c8acc8fe11 fix: PGFService should type-check the trees that comes from the user 2010-07-31 10:45:59 +00:00
kevin.kofler
f2619d010d Setup.hs: Increase stack size for gf runs, fixes TryFin.gf build on Fedora 13 x86_64 2010-05-16 16:58:09 +00:00
kevin.kofler
b4db65d942 Fix Makefile for case-sensitive file systems 2010-05-16 16:38:03 +00:00
kevin.kofler
eea0555888 Add missing newline at the end of gf_lexing.h. 2010-06-07 10:28:18 +00:00
kevin.kofler
1d24fee897 gf_lexing.c (unlexText): properly nul-terminate result. 2010-06-07 10:29:09 +00:00
jordi.saludes
5ad233e0ef Code cleaning in py-bindings. 2010-07-22 15:13:00 +00:00
jordi.saludes
75322d5904 Refactoring py object constructors. 2010-07-22 15:03:49 +00:00
jordi.saludes
0a053b3ddc PGFModule rename to PGF in py-bindings. 2010-07-22 15:02:49 +00:00
jordi.saludes
888f6b5ca9 Code cleaning in py-bindings. 2010-07-22 14:21:19 +00:00
jordi.saludes
63a4c97e18 Checking args passed to gf functions. 2010-07-22 14:19:55 +00:00
jordi.saludes
aff9f220c9 Refactored py-bindings using Storable. 2010-07-22 13:23:27 +00:00
jordi.saludes
f715e053b9 Freeing StablePtr's in PyGF. 2010-07-16 13:17:49 +00:00
jordi.saludes
5b14dd8da5 Setting Query.pgf as separate dependency in py-bindings. 2010-07-16 12:40:41 +00:00
jordi.saludes
9fbf680d1b Removing intermediaries in py-bindings Makefile. 2010-07-16 12:28:22 +00:00
jordi.saludes
9608af8423 New interface to gf based in Storable. 2010-07-15 08:15:41 +00:00
krasimir
b128872e2d declare Provice as subclass of StateOrProvince in Mondial.gf 2010-07-21 11:58:51 +00:00
krasimir
712b113c9a fix the algorithm for items cutting in the partial parser 2010-07-15 14:01:51 +00:00
jordi.saludes
2d77104e9e Added atribution. 2010-06-18 18:23:21 +00:00
jordi.saludes
bbfb69181e Added showPrintName to py-bindings. 2010-06-18 18:18:20 +00:00
jordi.saludes
f641b0c572 Really adding QuerySpa to embedded. 2010-06-18 15:53:47 +00:00
jordi.saludes
9e2c360ffb Added 'languageCode' to py-bindings. 2010-06-18 15:34:08 +00:00
jordi.saludes
7bee8ce0c7 Added CId and categories to py-bindings. 2010-06-18 15:33:08 +00:00
jordi.saludes
33eebe698d Added unit test from translation. 2010-06-18 11:51:24 +00:00
jordi.saludes
ea5c3baa7f Added methods to PGFModule. 2010-06-18 11:50:05 +00:00
jordi.saludes
2007b75ab8 Added QuerySpa to tutorial/embedded. 2010-06-18 11:48:36 +00:00
jordi.saludes
d313f22d72 DEBUG is off. 2010-06-18 11:47:14 +00:00
jordi.saludes
606a880720 Added LGPL license text. 2010-06-18 09:59:10 +00:00
jordi.saludes
7a485dfc5c Added linearization to py-bindings. 2010-06-17 07:59:00 +00:00
jordi.saludes
3ea00a7331 Added unit test. 2010-06-13 19:15:19 +00:00
jordi.saludes
d8c65b9732 DEBUG mode added. 2010-06-13 17:07:49 +00:00
jordi.saludes
ccbbd4e848 Code cleaning on gfmodule 2010-06-13 16:53:33 +00:00
jordi.saludes
0b1ea70bb6 Defined Tree type and moved parsed elements type to Tree 2010-06-13 15:55:25 +00:00
jordi.saludes
3e5d4381a0 Added destuctor for python types. 2010-06-13 11:42:48 +00:00
jordi.saludes
cd0e383187 Type methods for pgf type. 2010-06-12 22:19:27 +00:00
jordi.saludes
b8a022e3a8 More sophisticated python types 2010-06-12 20:28:22 +00:00
jordi.saludes
b8bbb57b85 polishing py-bindings make file. 2010-06-10 14:57:51 +00:00
jordi.saludes
0aedd7b218 Created py-bindings. 2010-06-10 14:54:18 +00:00
krasimir
4fdd21f127 detailed information for the type errors from PGFService 2010-07-13 15:33:54 +00:00
krasimir
3ca0b6a976 fix the loopchecking in PGF.Forest.bracketedTokn 2010-07-13 12:04:06 +00:00
hallgren
a2fa22ed74 Add missing <td> tags in the HTML constructed by functio show_groupedtranslations 2010-07-13 11:54:42 +00:00
krasimir
8cdb33031d solve the ambiguity for double negation in SUMO 2010-07-13 11:43:24 +00:00
hallgren
2e2d190fd4 Bug fix in minibar.js: no translations where shown when using option show_grouped_translations: false
This affected minibar.html but not phrasebook.html and was
caused by accidental shadowing of function tr in function show_translations.
2010-07-13 11:35:28 +00:00
hallgren
d0954d2f20 Make minibar.js work again after backwards incompatible changes to the data structures output by pgf-server.
The canParse field was removed without notice.
2010-07-13 10:22:03 +00:00
krasimir
647b5ffff2 bugfix in the decoding of literals in PGF.Binary 2010-07-13 08:24:03 +00:00
krasimir
d7f76c6d62 for some reason the concrete syntax for MidLevelOntology was not in darcs 2010-07-13 08:04:53 +00:00
krasimir
3c10d0ce44 updates in the Eclipse project for GWT UI 2010-07-08 16:50:51 +00:00
krasimir
c671399014 update the shell scripts and some other configuration files for GWT 2.0.4 2010-07-08 12:03:36 +00:00
krasimir
c0cccb26cb update the package name for the Android UI 2010-07-08 10:26:10 +00:00
krasimir
9953091888 add src/ui folder for both Android and GWT UIs 2010-07-08 10:06:26 +00:00
krasimir
be06bc8a09 change the package name of the GWT Apps to org.grammaticalframework.ui.gwt 2010-07-08 09:55:09 +00:00
krasimir
faf816dbac upgrade to GWT 2.0.4 2010-07-08 09:32:17 +00:00
krasimir
027c14dcbb FridgeApp and TranslateApp now show the type errors 2010-07-08 07:57:36 +00:00
krasimir
ef4b068902 fix PGFService after the change in the parser API 2010-07-07 14:46:24 +00:00
krasimir
95f1d40c56 report type errors in the shell from command "p" 2010-07-07 12:23:21 +00:00
krasimir
c066721dd1 fix in example/tutorial/smart/SmartFre.gf to make the dependent types work nicely 2010-07-07 10:12:08 +00:00
krasimir
2cd3523d04 simplify the monad TcM 2010-07-07 07:19:56 +00:00
hallgren
c1245d53cd Access keys for input fields in minibar and feedback form 2010-07-06 13:36:42 +00:00
krasimir
710b8f1bf7 the abstract syntax for Predef.gf is now hard-coded in AppPredefined.hs 2010-07-01 15:38:16 +00:00
krasimir
e0231cbf5b reorganize the modules in GF.Compile.* 2010-07-01 14:19:32 +00:00
krasimir
1b9169960a reorder the modules in gf.cabal 2010-07-01 14:03:35 +00:00
krasimir
5ae7be358d redesign the open-literals API 2010-07-01 08:51:59 +00:00
krasimir
706b215fce compilation of pattern matching using the algorithm of Lennart Augustsson. Not used yet 2010-06-30 16:00:47 +00:00
krasimir
eb0bd54e68 rename isLiteralFCat -> isPredefFId, fcat(String|Int|Float) -> fid(String|Int|Float) 2010-06-30 07:40:22 +00:00
krasimir
4c576ebbc9 forgot to fix the import in GF.Speech.CFG to get the Token type 2010-06-29 12:58:35 +00:00
krasimir
1d33665c93 add PGF.Optimize in gf.cabal 2010-06-29 12:48:58 +00:00
krasimir
5428049d80 in PGF.Printer special output format for SymLit 2010-06-29 09:05:07 +00:00
krasimir
272dcf6917 introduce the type synonym Token=String in the PGF API 2010-06-29 09:00:41 +00:00
krasimir
88d7631b62 preliminary version of API for Open Literals 2010-06-22 12:31:04 +00:00
krasimir
a6b8c11905 fix the compilation of literal categories in GeneratePMCFG.hs 2010-06-22 11:29:20 +00:00
aarne
3714a7e3b4 grammar for messages started 2010-06-21 16:50:40 +00:00
krasimir
e94a1c7408 GF.Grammar.Printer: print expressions with lincat and lin 2010-06-21 15:23:49 +00:00
krasimir
7e9b1ebfa4 addFCoercion -> addCoercion in GeneratePMCFG 2010-06-20 08:53:25 +00:00
krasimir
9995a834ae getFCats -> getFIds in GeneratePMCFG 2010-06-20 08:45:31 +00:00
krasimir
a77815e35a removed debugging code in GeneratePMCFG.hs 2010-06-20 08:30:00 +00:00
aarne
041e5e2a33 query language generalized and extended ; added README 2010-06-19 16:24:48 +00:00
aarne
a0f2ff0772 query language extended and generalized 2010-06-19 10:29:06 +00:00
aarne
0493f640d3 test script for query 2010-06-18 07:07:32 +00:00
krasimir
992a7ffb38 Yay!! Direct generation of PMCFG from GF grammar 2010-06-18 12:55:58 +00:00
krasimir
5dfc9bbc0b the automatically generated printnames were just junks. Now we store printnames only if they are explicitly specified. 2010-06-18 10:19:05 +00:00
krasimir
fd3cddcf5e PGF.Printer now dumps the printnames as well 2010-06-18 10:04:10 +00:00
krasimir
ad814e12c5 add Dutch to the list of languages in Setup.hs 2010-06-17 15:34:41 +00:00
krasimir
d8b049fdf8 rename GF.Grammar.Predef.isPredefCat to isLiteralCat 2010-06-17 15:08:12 +00:00
krasimir
183c878173 GF.Grammar.Lookup.allParamValues now works for table types as well 2010-06-17 09:51:10 +00:00
aarne
d8284f61bf starting query language for MOLTO 2010-06-16 20:00:46 +00:00
aarne
74811193ed case for pre in CF generation (ignores alternatives so far) 2010-06-03 21:43:35 +00:00
krasimir
c760c52223 grammar loader and unloader in C. Abstract Syntax only! 2010-06-16 15:14:34 +00:00
hallgren
106d056f54 Update demo links
- Added link to the Prasebook demo. The older demos are no longer labelled NEW.
- Point to www.grammaticalframework.org instead of tournesol.cs.chalmers.se
- Update links to www.cs.chalmers.se to new pages on www.cse.chalmers.se, since
  there is no working autmatic redirection.
- got rid of some HTML clutter.
- index.txt was out of sync with index.html. It is now even more out of sync.
2010-06-17 15:14:00 +00:00
krasimir
b2a0adf969 added equality proof in the constructor for natural trasformations 2010-06-14 11:21:52 +00:00
krasimir
07da5a43c9 AndroidUI: implemented search in the bag of words 2010-06-10 13:38:15 +00:00
krasimir
d6f32b3bcd dead code elimination for PGF. Note: the produced grammars will not work well with metavariables and high-order abstract syntax 2010-06-09 11:32:59 +00:00
krasimir
4e35f7e5ec filter the duplications when doing 'l -table' 2010-06-09 10:21:13 +00:00
jordi.saludes
2ca3b57ecf Fixing gf executable in build-gfctest 2010-06-08 11:19:33 +00:00
krasimir
31cd91e67e fixed bug in the recompilation checker which caused the phrasebook to be recompiled each time 2010-06-08 18:57:50 +00:00
krasimir
002965336a bugfix for flag -no-recomp 2010-06-08 15:40:47 +00:00
krasimir
e8428b3d67 revert change in GF.Grammar.Printer that was intended for debugging only 2010-06-08 09:53:13 +00:00
krasimir
7d71704b3c fix typo in category theory 2010-06-07 12:56:05 +00:00
jordi.saludes
7d9349271b Added gf-lexing.* to c-bindings. 2010-06-05 11:57:55 +00:00
jordi.saludes
4061674fae Changing rec to rec_ in PGF
To make glasgow extensions happy we had to rename 'rec' to 'rec_' in sources
from PGF folder.
2010-06-05 11:02:51 +00:00
jordi.saludes
aa7a254f69 Fixed c-bindings gfctest 2010-06-05 11:01:09 +00:00
kevin.kofler
df98e9b442 Build Query.pgf in build-gfctest.sh and look for it in the current directory 2010-05-16 21:12:01 +00:00
kevin.kofler
ee1c419979 Reimplement a lexer in C for the C bindings not to depend on GF.Text.Lexing for now. 2010-05-16 19:43:44 +00:00
kevin.kofler
2e6512e3fd Update the C bindings to build with the current PGF API 2010-05-16 21:09:51 +00:00
krasimir
218beec02c definitions for some high-order predicates that were missing 2010-06-06 12:10:49 +00:00
krasimir
54f40a135f SUMO: remove the uggly SubClassC and use KappaFn instead 2010-06-06 11:44:51 +00:00
krasimir
455d955841 changes in SUMO: formatting and fixes for lots of lots of small problems 2010-06-06 11:06:44 +00:00
aarne
ae79d4e4b2 word for Shop in Swedish 2010-06-03 14:50:54 +00:00
aarne
618daab89f changed preposition in romance phrasebooks 2010-06-02 15:51:37 +00:00
hallgren
8bca574509 Added MacOS X installed package to download page. 2010-06-15 11:01:39 +00:00
hallgren
5fb77eb0fe feedback list styling 2010-06-02 16:50:46 +00:00
hallgren
9976477272 minibar feedback: save user_agent, simple feedback viewer 2010-06-02 16:23:52 +00:00
hallgren
1e5984fe2d Feedback form for phrasebook/minibar 2010-06-02 14:36:09 +00:00
hallgren
e5bc4328cb New minibar option: default_source_language 2010-06-02 13:59:38 +00:00
hallgren
86da023392 Some minibar/phrasebook button and style changes
* Add help button at top of page.
* Change style of word buttons to look like fridge magnets again.
* New options to specify locations of other pages: feedback_url, help_url. If
  they are left undefined, no Help/Feedback buttons will be created.
* Shorter test in Google Translate button.
2010-06-02 13:40:41 +00:00
hallgren
365e8e2310 Remove "Back to phrasebook link" from the help page, since it opens in a new window. 2010-06-02 13:36:10 +00:00
hallgren
0c67946362 Improved Goolge Translate button 2010-06-02 10:39:25 +00:00
aarne
5fbdcfef0e more edits in doc-phrasebook 2010-06-02 08:37:04 +00:00
aarne
a0e972ab69 finishing phrasebook documentation ; changed doc name 2010-06-02 08:27:48 +00:00
krasimir
707608a25c added word "to" in the fake Android Fridge 2010-06-02 08:21:42 +00:00
krasimir
b473284f81 brushed_metal background in the Android app 2010-06-02 08:20:30 +00:00
krasimir
094f75068e forgot some files for android 2010-06-02 08:02:48 +00:00
krasimir
ad0d8cd288 fake Fridge like app for Android 2010-06-02 07:54:43 +00:00
aarne
b3c302ca6f updated phrasebook doc 2010-06-01 22:48:43 +00:00
hallgren
83015a8018 Work on the feedback button for the minibar 2010-06-01 20:20:17 +00:00
aarne
dae72f9cb7 corrections in PhrasebookNor 2010-06-01 16:30:15 +00:00
adam.slaski
b6b3e0141a bugfix part2 2010-05-30 09:12:22 +00:00
adam.slaski
6794d44aea bugfix for Polish Phrasebook 2010-05-30 09:05:48 +00:00
krasimir
d73ed8ba2e some comments in the code for category theory 2010-06-01 06:56:34 +00:00
krasimir
5e0d04d0f5 El -> Obj in category theory 2010-06-01 06:12:30 +00:00
krasimir
19851031e6 cleanup the code for category theory 2010-06-01 06:03:19 +00:00
krasimir
7f3cfb3e95 GCongratulations, GHappyBirthday and GGoodLuck in Bulgarian 2010-06-01 05:49:06 +00:00
aarne
88d8f888f0 fixes in PhrasebookGer and the inAcc_Prep 2010-05-29 21:14:13 +00:00
hallgren
f2bf7f188f Always show link to Google Translate, and open it in a new window. 2010-05-29 15:42:27 +00:00
krasimir
d3effb1c7d I switched back to the old algorithm for generating dependency trees. This required an ugly hack but there is no easy and quick other way :-( 2010-05-29 12:49:54 +00:00
aarne
8b3dcb53a9 non ho birra in Italian phrasebook 2010-05-29 10:38:12 +00:00
aarne
e9ec8c69aa preposition for toilet in PhrasebookSwe 2010-05-29 10:22:49 +00:00
aarne
510a404467 more accurate treatment of negative "have" clauses in Phrasebook 2010-05-29 09:18:20 +00:00
hallgren
deacb02195 updated documentation 2010-05-28 16:19:06 +00:00
hallgren
4436a454ef Add link to Google Translate 2010-05-28 16:17:54 +00:00
hallgren
8317f02279 Changes for publication of SALDO demo web apps
Published at http://spraakbanken.gu.se/swe/forskning/saldo/ordspel
2010-05-28 14:47:38 +00:00
hallgren
f46bfb67b6 support.js: new function span_id, bug fix in function sort 2010-05-28 14:41:30 +00:00
aarne
4fe295b910 est-ce qu'il y a in PhrasebookFra 2010-05-28 14:36:00 +00:00
krasimir
c3f4c3eba7 refactoring in GF.Grammar.Grammar 2010-05-28 14:15:15 +00:00
aarne
b3d6f01f40 lexical corrections in PhrasebookNor 2010-05-28 13:29:35 +00:00
ramona.enache
8f9eb4f7f3 added inherent number to places, fixed places in French 2010-05-28 12:15:28 +00:00
ramona.enache
2d44390bbf fixed prepositions and distance questions in the French Phrasebook 2010-05-28 09:15:01 +00:00
ramona.enache
bba6a3829a removed warning from the English Phrasebook 2010-05-28 09:14:17 +00:00
ramona.enache
337e697998 final fixes in the German Phrasebook 2010-05-28 09:12:44 +00:00
aarne
b23640c769 genitive s in Nor possessives ; some Nor words in Phrasebook 2010-05-28 12:25:26 +00:00
krasimir
f9f2491fcc composOp should iterate under ImplArg 2010-05-28 12:19:04 +00:00
krasimir
ee6fdbf68f bugfix in GF.Grammar.Printer 2010-05-28 09:43:58 +00:00
krasimir
6eda1118fc since now we don't do common subexpression elimination for PGF we could simplify the PMCFG generation 2010-05-26 09:37:32 +00:00
aarne
b1441f2807 prodrop in Finnish Phrasebook possessives 2010-05-28 09:33:15 +00:00
aarne
a0c82640e6 disambiguation of partitive mass terms in ENglish 2010-05-28 09:08:35 +00:00
aarne
dc00e7ea3a disambiguation in Phrasebook: show Eng instead of AST if DisambL is missing; show all alternative disambiguations for each alternative translation 2010-05-28 03:40:35 +00:00
aarne
cc3e43cba7 forms of PhrasebookSwe.Cinema 2010-05-28 03:40:12 +00:00
aarne
d156c5bccf adjustments in Phrasebook 2010-05-27 20:44:39 +00:00
aarne
857c9e83a0 Danish crown in PhrasebookPol 2010-05-27 11:39:26 +00:00
aarne
a0ce8b0863 phrasebook doc updated to Pol 2010-05-27 05:44:04 +00:00
adam.slaski
d6eb762651 polish demo 2010-05-26 22:34:20 +00:00
ramona.enache
06d4a9241f fixed AHasAge in English to "I am ten years old" 2010-05-26 22:15:52 +00:00
ramona.enache
79c8c7b3e3 added first version of PhrasebookRus 2010-05-26 22:11:52 +00:00
aarne
48070392e8 fixes in partitives in Phrasebook 2010-05-26 21:30:04 +00:00
jordi.saludes
26fad2dfe2 Cleaning PhrasebookCat 2010-05-26 15:58:12 +00:00
jordi.saludes
d1f0b24145 Put 'dative' in all Place's 2010-05-26 15:39:32 +00:00
jordi.saludes
5001bc6e18 Completing WordsCat 2010-05-26 15:31:03 +00:00
hallgren
c54d21ea2c Add meta tag to avoid horizontal scrolling in Mobile Safari
With thanks to codinggeekette,
http://www.codinggeekette.com/post/Mobile-Safari-40-2b-Horizontal-Scrolling-3d-SUX.aspx
2010-05-26 21:03:57 +00:00
hallgren
1e379b4953 Improved keyboard input handling in minibar/phrasebook
1. The text input field is shown form the start, no need to click.
2. The text input field is removed when no more words can be added to the
   sentence.
3. When you press Enter, a word is added to the sentence (1) if there is only
   one possible completion left (e.g. if you typed "airp" and the only
   completion is "airport"), or (2) if what you typed exactly matches one
   of the completions (e.g. if you typed "the" and the completions are
   "the", "theatre" and "these").
2010-05-26 15:49:08 +00:00
hallgren
296463fc05 Enable display of abstract syntax in minibar 2010-05-26 15:48:06 +00:00
aarne
231c63aa41 Ita and Fre superlatives, Ita possessives, in Phrasebook 2010-05-26 14:11:23 +00:00
hallgren
0f82695c31 Use <input type=button ...> instead of <div ...> tags for the word magnets. This should make them clickable in more browsers and could improve layout. 2010-05-26 11:47:15 +00:00
hallgren
0d77f24f02 Change server to http://www.grammaticalframework.org:41296 2010-05-26 11:46:25 +00:00
aarne
399f13f9e3 preposition zu in PhrasebookGer 2010-05-26 09:43:39 +00:00
caprotti
635bc20cc6 "fixes to Ita" 2010-05-26 07:51:55 +00:00
caprotti
4bbdba94a1 "Rise corrections to Danish" 2010-05-26 07:48:09 +00:00
jordi.saludes
cc49c5e027 Change 'estar' to 'ser' for places 2010-05-25 20:19:59 +00:00
jordi.saludes
495c4f94fe WordsCat compiles 2010-05-25 20:09:23 +00:00
jordi.saludes
00d150a1f0 WordsCat in_Prep problem 2010-05-25 18:30:42 +00:00
jordi.saludes
afb41457f1 'PersonName' comes back after fixing StructuralCat 2010-05-25 18:12:11 +00:00
jordi.saludes
54c5dd5796 Uncommented SentenceCat 2010-05-25 18:00:39 +00:00
krasimir
49aa8d20fc some fixes for graphvizDependencyTree 2010-05-25 13:01:59 +00:00
aarne
e7ea103597 new version of missing in phrasebook 2010-05-25 11:31:42 +00:00
aarne
c099cda676 remade phrasebook doc 2010-05-25 11:31:08 +00:00
aarne
c473621651 mass terms and yes/si/doch in Phrasebook 2010-05-25 11:30:09 +00:00
krasimir
cada06eab7 bugfix in the linearization algorithm 2010-05-25 10:27:48 +00:00
aarne
bc20f0a0a8 corrections in Dutch 2010-05-24 16:36:35 +00:00
aarne
5a611b32ca started Koen's fixes in PhrasebookDut 2010-05-24 14:50:07 +00:00
aarne
20c5bff4ea corrections in PhrasebookNor 2010-05-24 13:57:02 +00:00
krasimir
94f7e17035 fix the paradigms for bar/pub in WordsBul 2010-05-21 13:07:45 +00:00
hallgren
9f42474b16 hide the language code if translating to only one target language 2010-05-21 10:43:19 +00:00
hallgren
14d26b03d8 smaller input field 2010-05-21 10:42:30 +00:00
hallgren
96aa20c3c8 Putting automatically generated files in the *source* repository is a bad idea... 2010-05-21 10:34:17 +00:00
hallgren
ce07f4dd37 make upload 2010-05-21 10:29:11 +00:00
krasimir
4ddb3cade3 fix the translation of QWhatAge in WordsBul.gf 2010-05-21 06:46:39 +00:00
krasimir
c6afc7b740 use better word for Toilet in WordsBul 2010-05-21 06:43:44 +00:00
krasimir
be6d053997 fix: use with_Prep and in_Prep from RGL in WordsBul.gf 2010-05-21 06:38:23 +00:00
aarne
d37d8cb55c updated Phrasebook doc 2010-05-20 17:15:10 +00:00
krasimir
956f177241 complete Bulgarian phrasebook 2010-05-20 16:54:50 +00:00
aarne
9c1e4a2d8b Spa in Phrasebook makefile 2010-05-20 15:48:10 +00:00
aarne
3723ae33ed Spanish Phrasebook by Inari Listenmaa 2010-05-20 15:44:51 +00:00
krasimir
854e468854 bugfix in ExtraBul.gf - youPol for feminine is the same as for masculine 2010-05-20 13:40:54 +00:00
krasimir
c08649adeb days of the week - WordsBul 2010-05-20 13:23:49 +00:00
krasimir
af4cfd5b9d family relations in PhrasebookBul 2010-05-20 13:11:02 +00:00
krasimir
bc7d8f75c3 transport in WordsBul.gf 2010-05-20 12:07:27 +00:00
krasimir
694b0a61ac nationalities and languages in WordsBul and SentencesBul 2010-05-20 11:51:49 +00:00
krasimir
a3df8b9962 some more words in WordsBul.gf 2010-05-20 09:38:28 +00:00
krasimir
e0dc9c80a6 now every BracketedString also has reference to the source expression(s) 2010-05-19 13:32:39 +00:00
krasimir
1743e88192 added function lengthBracketedString 2010-05-19 12:40:07 +00:00
krasimir
31856ebb4c now the parser could return partial parse results 2010-05-19 12:31:36 +00:00
aarne
ec227abe43 fixed how far in PhrasebookSwe 2010-05-18 08:15:18 +00:00
ramona.enache
d1748049aa q 2010-05-15 13:35:50 +00:00
krasimir
77fb23fdbc simple refactoring: use ActiveKey in PGF.Parse.getParseResult instead of plain pair of FId and LIndex 2010-05-17 06:12:45 +00:00
aarne
7e7564adaa fixes in PhrasebookDan 2010-05-15 11:32:18 +00:00
ramona.enache
44d2a8b2ed fixed WordsDan according to first test 2010-05-14 22:57:58 +00:00
ramona.enache
230d8d47f4 added more greetings to Phrasebook 2010-05-14 19:40:27 +00:00
krasimir
e8099d1f51 in PGF, when printing function and category definitions, add semicolon 2010-05-11 12:50:51 +00:00
aarne
922713d7c0 doc with Dan and Nor phrasebook 2010-05-09 14:23:00 +00:00
ramona.enache
8d58d079b7 Norwegian phrasebook 2010-05-08 15:34:27 +00:00
aarne
79cd5b8dc6 correction of Cheapest in WordsDan 2010-05-08 14:32:38 +00:00
ramona.enache
b0f7db3270 added script for testing the phrasebooks 2010-05-08 13:49:41 +00:00
ramona.enache
204614a76d fixed SUMORon according to changes in the resource grammar 2010-05-08 13:39:44 +00:00
ramona.enache
9afeae5154 added Danish phrasebook, completed German one 2010-05-07 12:03:44 +00:00
aarne
abfda7dd48 spacing of German numerals 2010-05-08 13:54:38 +00:00
caprotti
4ecc586a2d Ita-Spa_Words 2010-05-06 16:36:53 +00:00
aarne
c3fbcf910b Amharic Foood grammar by Markos 2010-05-07 12:25:16 +00:00
aarne
c5b3de8825 Amharic transliteration by Markos 2010-05-07 12:23:57 +00:00
aarne
c265c5f8c3 fixed two bugs in gt 2010-05-06 18:56:18 +00:00
aarne
a8f56c61ff used en/par without article in WordsFre.mkTransport 2010-05-03 15:30:43 +00:00
aarne
c7653c25ab updates in phrasebook doc and in resource status doc 2010-05-03 09:46:56 +00:00
aarne
9326db54e4 fixed encoding of WOrdsFre; added HowFar constructs 2010-05-03 09:31:42 +00:00
ramona.enache
608b3264fe fixed English, Dutch, French and Romanian phrasebooks 2010-05-02 11:14:27 +00:00
krasimir
4e85f8ada3 refactor BracketedString 2010-05-01 21:02:32 +00:00
krasimir
029fbec8f3 test for bracketedLinearize 2010-05-01 20:54:31 +00:00
krasimir
c1406bdcdf bug fix for bracketedLinearize with HOAS and meta variables 2010-05-01 20:51:07 +00:00
krasimir
0f1cce53c6 fixes in unStr,unInt,unDouble,isMeta 2010-05-01 07:29:41 +00:00
krasimir
9e7b914c3c for backward compatibility we have the old parse function again. the old functionality is exposed by parse_ 2010-04-30 20:18:26 +00:00
krasimir
1c590e41f4 optimize/simplify the error reporting in the new API 2010-04-30 20:16:16 +00:00
krasimir
af5f12d672 upgrade the testsuite to work with GHC 6.12 2010-04-30 19:27:53 +00:00
hallgren
329c39b4d4 Merge phrasebook.js into minibar.js 2010-04-30 14:55:56 +00:00
hallgren
593f104bc1 Some work on the Saldo game 2010-04-28 12:58:17 +00:00
krasimir
c757e914cd fix PGFService after the change in the API 2010-04-30 15:09:21 +00:00
krasimir
8460598801 first incarnation of the bracketed string API 2010-04-30 14:36:06 +00:00
aarne
7a4cb3c271 small fixes in Phrasebook, particularly PSeeYouPlaceDate 2010-04-30 06:55:15 +00:00
ramona.enache
e3c883fdb3 Phrasebook grammars for English, Romanian and Dutch 2010-04-29 21:56:53 +00:00
aarne
3d9d3a1811 completed PhrasebookFin with new abstract 2010-04-29 14:13:15 +00:00
aarne
ff95528799 added Words.Pound and Sentences.AHaveCurr 2010-04-29 14:12:46 +00:00
aarne
78df7dae66 better implementation of "how far" in Swedish; harmonized the type of HowFarBy 2010-04-29 12:21:35 +00:00
aarne
62d1a95748 used AdvIAdv to complete PhrasebookSwe 2010-04-29 06:05:45 +00:00
aarne
f23a031257 extended phrasebook for Swedish (almost complete) 2010-04-28 20:37:51 +00:00
aarne
3148bc3d90 new option pg -funs 2010-04-28 19:09:59 +00:00
krasimir
68de1cead3 wf,vt,vp,vd,aw should store files in utf8 2010-04-28 17:37:53 +00:00
aarne
6e7bbf3aa8 some moving around of new phrasebook entries 2010-04-28 16:53:20 +00:00
ramona.enache
b47098f14f category definitions added to phrasebook 2010-04-28 15:02:27 +00:00
ramona.enache
65a10ddb13 abstract syntax for the phrasebook - extended version 2010-04-28 14:56:07 +00:00
krasimir
c87bbcb8e4 fix the -view option for vt,vp,vd,aw to work on Windows 2010-04-27 20:01:54 +00:00
ramona.enache
9c73777a4c FixedRon 2010-04-26 09:32:05 +00:00
ramona.enache
ca6075ab77 FixedRon 2010-04-25 00:47:15 +00:00
hallgren
fd0f602b48 Add MacOS X binary to the download page 2010-04-24 12:08:28 +00:00
aarne
2b21e7fae7 lrec tutorial examples 2010-04-24 11:34:04 +00:00
krasimir
2f62ab26e6 convert GF.Data.SortedList to UTF8 2010-04-24 09:13:26 +00:00
krasimir
9253ee6010 fix parsing of literals 2010-04-23 20:46:14 +00:00
krasimir
cc4d5d1d39 change the developers link directly in index.html 2010-04-23 18:58:46 +00:00
krasimir
acbc41ef97 added link to the bugtracker from gf.cabal 2010-04-23 14:40:20 +00:00
hallgren
d67cbcffdc Manually updating automatically generated files 2010-04-23 17:39:14 +00:00
krasimir
4800cd7159 tweak gf.cabal to be more Hackage friendly 2010-04-23 14:13:36 +00:00
krasimir
c440199cd8 redirect the developers link to the GF wiki 2010-04-23 13:59:23 +00:00
krasimir
bafbd7a814 link to Hackage from download/index.txt 2010-04-23 13:56:32 +00:00
krasimir
16b1fb4959 update index.txt 2010-04-23 13:44:18 +00:00
krasimir
f204723fdb more in the release notes for 3.1.6 2010-04-23 13:26:57 +00:00
hallgren
36bba54a8f Correct release date in download/index.txt 2010-04-23 13:45:55 +00:00
aarne
7ba951d8c8 release notes as html; links to linux bin, lib, src 2010-04-23 11:42:29 +00:00
aarne
81e5620540 release notes and new download page for 3.1.6 2010-04-22 17:24:15 +00:00
aarne
9c844dd7f2 release notes for 3.1.6 2010-04-22 17:06:41 +00:00
olga.caprotti
918190f4cd olga_patch1 2010-04-19 15:23:33 +00:00
hallgren
d4be36d218 Update version numbers for build-depends in gf-server.cabal 2010-04-22 14:22:55 +00:00
krasimir
e3a279e457 now the PGF service communicates with Graphviz using UTF8 for the input and binary for the output 2010-04-22 14:01:08 +00:00
hallgren
ba7467a550 Require GHC >=6.12, and add a homepage field in GF.cabal
I assume checking for base>=4.2 is a good way to test for the presence of the
new Unicode-aware I/O libraries (first shipped with GHC 6.12) that GF now
relies on.
2010-04-22 13:09:27 +00:00
krasimir
9db279b24b the pgf service now compiles with the latest CGI package 2010-04-22 12:37:36 +00:00
krasimir
007f501f05 bump GF version to 3.1.6 2010-04-22 08:41:51 +00:00
aarne
dc971bd051 removed mention of 2.9 welcome, and some traces in visualization 2010-04-22 06:36:37 +00:00
aarne
a17f3d4262 Urdu bronzeage 2010-04-21 08:37:19 +00:00
krasimir
50a7512c1b fix command cc for Unicode 2010-04-19 15:41:23 +00:00
krasimir
7c67a90327 always use Haskeline. drop Readline & Editline 2010-04-19 15:12:52 +00:00
krasimir
6313244eac use the native unicode support from GHC 6.12 2010-04-19 09:38:36 +00:00
hallgren
8b5827fc89 Changes to lighttpd.conf to allow grammars.cgi to work 2010-04-20 14:46:36 +00:00
hallgren
d4ffc3a88a Commented out faulty coding flag
FoodsIce.gf contained coding=utf8, but the file is in the latin1 encoding. This
confused GF.
2010-04-20 13:54:10 +00:00
aarne
9b4849b5e2 changed the name of example-based examples 2010-04-20 09:34:38 +00:00
aarne
66ab9700f6 example of example-based grammar writing 2010-04-20 09:28:24 +00:00
hallgren
d1088d12bc Some work on minibar:
1. Menu for choosing target language.
2. Pass options when calling start_minibar.
See about.html for more details.
2010-04-19 16:48:26 +00:00
krasimir
bc504835d2 add Bul to the list of languages in Setup.hs that have API 2010-04-19 09:43:58 +00:00
aarne
8c036d4234 paths in SUMO 2010-04-19 07:06:36 +00:00
aarne
15e4c25ebe include ExtraRon in AllRon 2010-04-19 06:50:54 +00:00
ramona.enache
f58e96382c WordsRonSumoFre 2010-04-18 13:55:44 +00:00
krasimir
f194326f62 add the easy words and phrases in PhrasebookBul 2010-04-16 16:32:45 +00:00
aarne
727b3bf626 conjunction of Object in Phrasebook 2010-04-16 09:57:10 +00:00
aarne
03c64d9f3d DemoUrd added to resource demo 2010-04-16 07:12:15 +00:00
hallgren
1baa90a0ff Work in progress on keyboard input in minibar 2010-04-15 15:42:18 +00:00
hallgren
d711c7da09 Code simplification 2010-04-15 15:41:30 +00:00
hallgren
96758752e6 Omit redundant trailing "&" in jsonp url 2010-04-15 13:48:28 +00:00
hallgren
355c1a7a69 Fix bug in get_grammarlist. Some code simplificaiton. 2010-04-15 13:33:21 +00:00
aarne
c5874ab1ae small adjustments in Make.hs and some resources to make the lib compile with less warnings and without errors 2010-04-14 16:25:17 +00:00
aarne
6dda3d2ebf completions of PhrasebookGer 2010-04-12 21:26:36 +00:00
aarne
c46b81d872 restored table3 in Coordination; completed PhrasebookFre 2010-04-12 21:06:11 +00:00
aarne
0b224424a6 a module to compile Phrasebook in different lang combinations 2010-04-12 20:10:48 +00:00
krasimir
24d2acf097 fix the molto-molto-molto problem 2010-04-12 13:55:40 +00:00
aarne
71d9cd53d4 4-arg coordination by Shafqat 2010-04-12 10:04:29 +00:00
ramona.enache
ec80e12435 PhraseBookRon 2010-04-10 23:17:58 +00:00
aarne
50a2e2ea93 regenerated clones with complete abstract and ready-maked Lexicon-based words in Phrasebook 2010-04-10 08:18:03 +00:00
aarne
d505fa5b67 generalized the Person category in Phrasebook to plurals, added some new Words 2010-04-09 14:37:25 +00:00
hallgren
1903fe8bf9 Some documentation 2010-04-09 14:04:18 +00:00
hallgren
984d67a79b Abstract out grammar access method 2010-04-09 14:00:38 +00:00
hallgren
e7073c1575 Adding the Minibar files to the darcs repository. 2010-04-09 13:51:34 +00:00
aarne
0138e6bba1 German phrasebook; ontology document; ignoring single lines in gfdoc 2010-04-08 20:31:32 +00:00
aarne
e98d1238f4 started a script and format for updating a set of gf files 2010-04-08 11:52:44 +00:00
aarne
242670a6cb cloned the rest of resource languages in Phrasebook 2010-04-07 21:05:29 +00:00
aarne
8171bb0ea2 reordered phrasebook sources so that they are easier to clone; cloned Ger,Spa,Cat,Bul 2010-04-07 19:39:48 +00:00
aarne
aeb0a5b7e0 a script for cloning (Phrasebook) grammars 2010-04-07 14:59:55 +00:00
aarne
1f4f43748a New FoodsHin by Vikas 2010-04-07 14:20:24 +00:00
aarne
b9fcba00cf improved the performance of Romance while retaining correct agreement ; removed Diff modules from Phrasebook 2010-04-06 20:35:12 +00:00
aarne
a66d2186fe comments in phrasebook abstract syntax 2010-04-06 15:45:16 +00:00
aarne
114cdd78d3 change in Romance agreement to produce correct number for polite singular pronouns ; linking functions that involve mkClause now takes a long time and should be revised 2010-04-06 14:08:01 +00:00
aarne
dc35b0a82b fixed Finnish youPol complement number to Sg ; some encoding things in French 2010-04-06 12:24:41 +00:00
aarne
ba13052d31 dependency graph can be restricted to some modules; added help dg 2010-04-06 08:53:44 +00:00
aarne
2ced613d81 generalized and extended Phrasebook in many ways 2010-04-05 16:36:38 +00:00
aarne
c87fe6f0f6 DisambPhrasebookRon added 2010-04-04 21:22:20 +00:00
aarne
7a14507189 in the shell, permit 3-letter lang codes as concrete syntax names 2010-04-04 20:46:36 +00:00
aarne
95d4adac99 in PGFService disambiguation, show tree if there's no disamb grammar 2010-04-04 20:45:50 +00:00
aarne
09171eecb4 reduced overgeneration by only allowing one AdA in Phrasebook 2010-04-04 20:44:37 +00:00
aarne
cdd9efa559 Urdu transliteration fixed (by Shafqat) 2010-04-01 12:24:04 +00:00
aarne
5dfda62ad1 fixed a deep bug in TypeCheck due to swap of arguments; print empty record as <> instead of {} to distinguish from empty record type 2010-03-31 22:05:12 +00:00
aarne
fb0f77b6f1 Olga's etc corrections in Phrasebook 2010-03-31 14:58:32 +00:00
krasimir
d83c2d01d8 export fullFormLexicon from PGF 2010-03-31 11:09:12 +00:00
aarne
5e2d2e61c3 moved phrases like 'I am hungry' from Greetings to Words to make them more general 2010-03-30 21:48:24 +00:00
aarne
61c82fa40e removed Roles; updated Phrasebook doc 2010-03-30 20:10:36 +00:00
aarne
5cb147fa19 simplified the treatment of politeness in Phrasebook 2010-03-30 18:48:59 +00:00
aarne
de909a4e44 disambiguation in Phrasebook grammars, PGF server, and the GUI 2010-03-30 15:39:11 +00:00
aarne
4bae49c634 information on missing words; fix in PhraseDut 2010-03-29 21:19:50 +00:00
aarne
bec718d49d AttemptoUrd added 2010-03-29 13:59:46 +00:00
aarne
04784b7c31 fine tuning phrasebook 2010-03-28 21:13:29 +00:00
aarne
ccac96eaa0 catching initial bind symbol in PGFServer 2010-03-28 20:32:03 +00:00
aarne
55f8a80df7 version 0.2 of phrasebook 2010-03-28 20:13:46 +00:00
aarne
93daaabf3d Action category, more doc in Phrasebook 2010-03-28 19:29:06 +00:00
aarne
3903b6b852 short-phrase translation; added Swe; started doc in Phrasebook 2010-03-28 15:28:02 +00:00
aarne
2925edd088 text-like unlexer for phrasebook web service 2010-03-26 22:08:48 +00:00
aarne
691620346c change Food to Words in Phrasebook, since it's unpractical to have many small modules; added syntactic forms and words 2010-03-26 22:07:17 +00:00
aarne
c24440d134 fixes for webdemos, including bug in StructuralIta 2010-03-26 17:38:20 +00:00
aarne
1d41c587ac FoodsRon in utf-8 2010-03-25 14:47:19 +00:00
krasimir
887a552497 even simpler version of NQueens 2010-03-24 21:04:37 +00:00
krasimir
9a1d0e8d11 bugfix in the lProlog generator 2010-03-24 20:54:20 +00:00
krasimir
fdd68f9040 the Plus predicate from NQueens is replaced with definition for function plus 2010-03-24 16:14:36 +00:00
krasimir
14f19b9865 partial support for def-rules in the Lambda Prolog generation 2010-03-24 16:12:58 +00:00
aarne
3ff870dcd6 politeness and disambiguation in Phrasebook (not visible yet) 2010-03-24 08:18:54 +00:00
krasimir
68482aa7e9 now for every category we store, in PGF, the list of functions for it in source-code order. The order matters for the termination of the exhaustive generation with dependent types. 2010-03-24 11:11:55 +00:00
krasimir
76d155af0e typo in CheckGrammar 2010-03-23 15:35:32 +00:00
krasimir
c80c403da2 use the new more accurate location information for some error messages 2010-03-23 15:24:48 +00:00
krasimir
1e51690b71 added codepage for Turkish 2010-03-23 13:44:17 +00:00
krasimir
850b897f08 added comment to every GF.Text.CPxxxx module about the purpose of the codepage 2010-03-23 12:19:34 +00:00
krasimir
472c5e8ee7 add JavaScript API for completion. contributed by John J. Camilleri 2010-03-23 08:55:56 +00:00
krasimir
e7f01aa5f0 fix checkInfoType in Parser.y 2010-03-22 23:49:15 +00:00
aarne
5f6f4cdea3 www api command translategroup, which uses groupResults 2010-03-22 22:04:36 +00:00
krasimir
bf74f50733 store and propagate the exact source location for all judgements in the grammar. It may not be used accurately in the error messages yet 2010-03-22 21:15:29 +00:00
aarne
716a209f65 PGF.groupResults and the option l -groups, to show ambiguities grouped by laguage 2010-03-22 19:03:06 +00:00
krasimir
2ac96a7643 transliteration for Urdu 2010-03-22 09:29:43 +00:00
krasimir
0da54cdf64 produce optimized Lambda Prolog code 2010-03-22 08:56:42 +00:00
aarne
9d98177e65 French phrasebook 2010-03-21 19:57:53 +00:00
aarne
df0c6fb8d3 English version of Phrasebook 2010-03-21 17:42:11 +00:00
krasimir
f4574a4cfa the NQueens algorithm written in GF 2010-03-21 19:01:57 +00:00
aarne
68840a3d6a Diff interface for Phrasebook 2010-03-21 03:37:02 +00:00
aarne
5584415807 started Phrasebook with Finnish and Romanian 2010-03-20 21:21:50 +00:00
krasimir
fba592ecf8 added experimental generation of Lambda Prolog code. Could be used for exhaustive generation with dependent types. Doesn't support def rules yet but supports high-order syntax and lambda expressions. 2010-03-20 07:26:53 +00:00
krasimir
973a0cacb7 pattern @ should be propagated to PGF 2010-03-18 20:21:57 +00:00
krasimir
985bb550c0 fix the precedence for patterns ~, - and @ 2010-03-18 19:52:45 +00:00
krasimir
f870c4d80f syntax for inaccessible patterns in GF 2010-03-18 19:34:30 +00:00
krasimir
d91999dec0 incomplete code for adjoints and monads 2010-03-15 17:31:15 +00:00
krasimir
381a7a2f07 identity functor 2010-03-15 16:35:00 +00:00
krasimir
c6f3111e67 added natural transformations 2010-03-15 14:52:47 +00:00
krasimir
aef1a1a5a3 incomplete code for composition of functors 2010-03-15 10:47:00 +00:00
krasimir
9f45bb0df1 refactor Morphisms.gf and InitialAndTerminal.gf 2010-03-15 10:43:20 +00:00
krasimir
d7c68cdf27 two theorems without proofs: every equalizer is monomorphism; every coequalizer is epimorphisms 2010-03-15 10:41:39 +00:00
krasimir
dfbc6ba9a3 added Equalizers in category-theory 2010-03-15 09:57:39 +00:00
krasimir
828fc44029 bugfix in PGF.TypeCheck 2010-03-14 12:21:00 +00:00
krasimir
db2d9a3238 cleanup in PGF.Typecheck -> newGuardedMeta doesn't need the current scope 2010-03-13 20:12:00 +00:00
aarne
efd1b5f252 fixes in FoodsUrd and DemoRon compilation 2010-03-05 07:22:57 +00:00
hallgren
8e344646f0 Quick fix to adapt to new version of the PGF library. 2010-03-04 18:46:18 +00:00
aarne
8422db66ca FoodsUrd added (by Shafqat) 2010-03-04 16:56:36 +00:00
aarne
590cc6bb0b Macros and note in GFCC document. 2010-03-02 21:22:53 +00:00
aarne
bbf564730b gfcc README 2010-03-02 19:30:16 +00:00
aarne
dbe5a210b7 cleaned up gfcc ; added gfcc script 2010-03-02 19:27:34 +00:00
aarne
e4748e9984 restored gfcc example (GF C compiler) 2010-03-02 19:10:56 +00:00
krasimir
21b10f91cb rule for pretty printing implicit arguments 2010-02-22 20:09:28 +00:00
krasimir
d2988814a8 add pretty printing rule for implicit patterns 2010-02-22 20:02:53 +00:00
krasimir
09da1013f9 refactor PGF.Expr and PGF.TypeCheck so that the evaluator always has access to the meta store 2010-02-22 15:50:41 +00:00
krasimir
21ad608e2a functors 2010-02-22 14:40:28 +00:00
krasimir
bcf4bc7d23 the oposites of two equal arrows are equal arrows 2010-02-22 14:38:13 +00:00
krasimir
59d640088e bugfix in PGF.TypeCheck 2010-02-20 18:48:06 +00:00
krasimir
45d209baf8 two theorems every iso is mono and every iso is epi 2010-02-20 16:37:23 +00:00
krasimir
3d8b7f9850 some more definitions in category theory 2010-02-20 16:33:40 +00:00
krasimir
d09b05ab3f one more test for cyclic def rules 2010-02-16 20:27:07 +00:00
aarne
376f985409 removed strange typo from summerschool FoodsGer 2010-02-17 16:08:27 +00:00
krasimir
57c2a4dcd2 fix the Haskell code generation 2010-02-17 13:09:23 +00:00
krasimir
bfdef2f60c replace SS with StmtS in SUMO 2010-02-17 12:38:11 +00:00
krasimir
d6627b5a5a added TPTP for SUMO 2010-02-17 12:21:41 +00:00
krasimir
6690fbaf6c SUMO axioms 2010-02-17 11:12:43 +00:00
krasimir
f7f0112256 added examples/SUMO 2010-02-17 11:07:24 +00:00
krasimir
a4d41ef3e3 fix in PGF.Printer 2010-02-17 10:31:10 +00:00
krasimir
b5d9ae552d -output-format=pgf_pretty now prints the flags as well 2010-02-17 10:20:49 +00:00
krasimir
32f9499f2e fix the PGF printer for abstract 2010-02-16 21:47:58 +00:00
krasimir
19b17dceb6 no need to keep the list of constructors per category in .gfo 2010-02-16 09:34:02 +00:00
krasimir
61287f3925 more category theory -> morphisms, initial and terminal objects 2010-02-15 10:35:24 +00:00
krasimir
af48998ef6 basic category theory expressed in GF. Note: works only with my development version of GF. It will be pushed in darcs soon 2010-02-14 10:20:08 +00:00
krasimir
b2ce65bbe6 white space instead of tab in GF.cabal 2010-02-12 21:31:30 +00:00
krasimir
9c23a98fc0 add PGF.Probabilistic in GF.cabal 2010-02-12 16:12:17 +00:00
krasimir
ea85cd1078 one more test for cyclic operations 2010-02-09 18:38:11 +00:00
krasimir
64da1c2021 allow negative integers in the grammar syntax 2010-02-08 12:59:22 +00:00
krasimir
a1c70841c1 test case for lazy evaluation in the abstract syntax 2010-02-07 22:22:30 +00:00
aarne
f0f9c0acfa generalized tour to a variable language by the script MkTour 2010-02-08 10:52:08 +00:00
krasimir
9564d85fa5 command cc now works even without loaded grammar. useful for testing closed expressions 2010-02-07 19:23:26 +00:00
krasimir
c1d2ed1a7b test case for invalid parameter definition 2010-02-06 20:15:46 +00:00
krasimir
2544ea8c8a in verbose mode print the rule names when compiling PMCFG 2010-02-06 18:24:15 +00:00
krasimir
168d459c49 bugfix in GrammarToPGF related to the compilation of def rules 2010-02-05 22:16:44 +00:00
aarne
064cfef331 command eh ; lib/doc/tour started 2010-02-03 20:55:54 +00:00
krasimir
b90e56a94e fix the tabular printing when there is a V constructor 2010-02-03 17:33:55 +00:00
aarne
49e620b535 gr for several metas fixed ; commented out one alternative in SammieGer to make it compile 2010-02-02 07:12:52 +00:00
aarne
7f4559335a fixed Sammie examples to compile (except Spa) 2010-02-01 15:57:29 +00:00
aarne
510d511637 commands mq and tq can take a tree with metas to guide generation 2010-02-01 09:56:58 +00:00
krasimir
563e65c309 test case for let expression in def rule 2010-02-01 09:18:42 +00:00
krasimir
1cd4a500f5 added tests for literals in the abstract syntax 2010-02-01 08:58:46 +00:00
krasimir
2d3de22b17 added test cases for polymorphic and record types in the abstract syntax 2010-01-31 22:16:35 +00:00
krasimir
3be9ce3240 add test case for abstract types with let bindings 2010-01-31 20:45:48 +00:00
aarne
26236652a6 command l -list ; fixed mq to work with the new tabularLinearizes 2010-01-31 16:05:23 +00:00
krasimir
be6465a2eb refactor GF.Infra.Modules for better error messages 2010-01-31 15:54:25 +00:00
krasimir
acd927f87b add Show instance and remove the Eq and Ord instances for PGF.Expr.Equation and PGF.Expr.Patt 2010-01-31 14:45:44 +00:00
aarne
e71545eab1 gt and gr can start from a tree with metavariables, just filling them 2010-01-30 18:01:18 +00:00
krasimir
8d03e48e46 code cleanup in PGF.TypeCheck 2010-01-30 10:10:51 +00:00
krasimir
3b7e39fa4a bugfix in the PGF typechecker and more test cases 2010-01-29 21:10:14 +00:00
krasimir
e5de8ea9fe update the testsuite 2010-01-29 11:13:31 +00:00
aarne
d333c0564b example_based returns the list of all unknown words 2010-01-28 16:27:28 +00:00
aarne
e056cc2bfd in example-based grammar conversion, warnings about unknown words 2010-01-28 10:06:16 +00:00
aarne
750a2639b0 command eb for example-based grammar conversion; see 'help eb' and the example in examples/animals/QuestionsI.gfe 2010-01-27 17:51:15 +00:00
krasimir
890d455793 cleanup the code of the PGF interpreter and polish the binary serialization to match the preliminary specification 2010-01-27 09:39:14 +00:00
aarne
b206aa3464 bug fixes in biased generation ; example probs file in lib/src 2010-01-26 21:49:00 +00:00
aarne
dd4c792e67 probability ranking (rt) and gr -probs=FILE 2010-01-26 21:08:04 +00:00
aarne
e91c610e5a added probabilities to trees and random gen; not yet in shell 2010-01-26 15:53:49 +00:00
krasimir
bc6323df4c fix the PGF generation when it is used from the shell 2010-01-26 14:15:37 +00:00
krasimir
9b362ff231 PGF is now real synchronous PMCFG 2010-01-17 21:35:36 +00:00
krasimir
af13bae2df now the linearization is completely based on PMCFG 2010-01-17 17:05:21 +00:00
krasimir
9e3d4c74dc prettier parameter names in PGF 2010-01-17 00:41:46 +00:00
krasimir
389b55103c small code cleanup in GeneratePMCFG.hs 2010-01-16 22:10:45 +00:00
krasimir
cf22bd094f move the definitions of _B and _V to PGF.Macros 2010-01-12 14:36:41 +00:00
krasimir
ee3ce9694c store the label names in PMCFG 2010-01-05 08:35:33 +00:00
krasimir
3ed19a482e printnames are now kept as String instead of Term in PGF 2010-01-05 07:05:41 +00:00
krasimir
354269e17c allow metavariables with indices i.e. ?0, ?1, etc in the abstract syntax parser in PGF 2010-01-15 21:23:37 +00:00
krasimir
869621db66 now the abstract syntax in PGF allows the same syntax for integers, floats and strings as in Haskell. This includes negative integers and exponents in the floats 2010-01-15 21:13:46 +00:00
hallgren
9fc1325b95 Use build-type: Custom, so that cabal install calls Setup.hs. 2010-01-13 16:40:15 +00:00
hallgren
8077e54170 Makefile for Foods.pgf (machine readable version of README) 2010-01-12 15:25:56 +00:00
krasimir
f8af5122b5 additional tests for linearizations 2010-01-12 13:18:37 +00:00
krasimir
712d079e7c inplace editing/parsing in the syntax editor 2010-01-07 10:38:43 +00:00
krasimir
5be5ee1ccd better tokenizer in the JavaScript runtime 2010-01-07 10:36:16 +00:00
aarne
0349228ceb Swedish "each of" in Attempto with correct agreement 2010-01-05 22:13:28 +00:00
aarne
b8b1f01d91 that_Subj in Italian 2010-01-05 14:19:27 +00:00
aarne
0a7ff69dda agreement in German Predet 2010-01-05 13:35:24 +00:00
aarne
6d0f248b67 fixes in Attempto 2010-01-04 21:19:13 +00:00
aarne
9cc1d15efe number agreement in Romance predeterminers 2010-01-04 14:59:40 +00:00
krasimir
5276ddab7d added test grammar for literals in the testsuite 2010-01-04 13:51:36 +00:00
krasimir
f0e6b15ec4 some dead code is removed in the JavaScript interpreter 2010-01-04 13:47:58 +00:00
krasimir
a73a64534e literal categories in the JavaScript interpreter 2010-01-04 13:44:21 +00:00
krasimir
93fd2333cc fix the editor grammar 2010-01-04 12:36:49 +00:00
krasimir
2e0d9f43b4 in gflib.js declare all variables with 'var' because otherwise they are global by default 2010-01-04 12:26:11 +00:00
krasimir
819e6e6757 in the javascript version of extractTrees filter out the duplicated parse trees 2010-01-04 12:20:53 +00:00
krasimir
36de4d8c54 bugfix in the javascript parser 2010-01-04 11:16:17 +00:00
aarne
34b839c0f9 morpho analysis with -missing flag, shows words outside lexicon; also invoked if parsing fails; also added pg -words to show the list of words 2009-12-31 11:02:26 +00:00
krasimir
b92c34bafd js-runtime: redundant loop removed 2009-12-27 12:12:51 +00:00
krasimir
0a0c7ac4fc use object references instead of FunId and SeqId in the javascript parser 2009-12-27 11:03:39 +00:00
krasimir
4e6f6b2de2 bugfix in the javascript parser 2009-12-27 10:46:29 +00:00
krasimir
eb373d74ab javascript editor with PMCFG parser. (not stable yet) 2009-12-21 13:41:51 +00:00
aarne
c0de7a0627 mathtext examples from Bonn 2009-12-18 11:08:39 +00:00
aarne
a4eb1800a4 correct capitalization in unlexmixed; unlextext and unlexmixed now remove string literal quotes 2009-12-17 21:17:46 +00:00
aarne
6a130d2e86 one step deeper into records in PGF generation 2009-12-16 16:25:52 +00:00
hallgren
666fcd6566 Home page updated for GF 3.1 release
+ Added links to Google Group and Google Project.
+ Removed duplicated links.
+ Minor style changes.
+ The page is not generated from index.txt.
2009-12-15 21:20:35 +00:00
hallgren
d22dcdf0b2 New GF 3.1 package for windows 2009-12-15 20:01:54 +00:00
hallgren
c0b18ef776 Comment out broken link to old download page 2009-12-15 17:42:16 +00:00
hallgren
fde09570f7 Download page updated for GF 3.1 release 2009-12-15 17:20:49 +00:00
hallgren
3d939a9500 Update version number 3.0 to 3.1 in a number of places 2009-12-15 15:27:26 +00:00
hallgren
71ad32effc Add build-tools: happy, alex 2009-12-15 15:25:15 +00:00
aarne
21fc8b0119 completed gf-bibliography 2009-12-15 14:39:04 +00:00
aarne
d9c1fded39 warm_A in FoodsFin 2009-12-15 13:40:05 +00:00
hallgren
4e795def72 Make transparent pixels white in the logos 2009-12-14 20:51:37 +00:00
krasimir
e7dcbcc825 reverse engineered version of the Editor grammar 2009-12-14 20:01:41 +00:00
hallgren
e3fcdaf280 Added rules to update automatically generated HTML files.
Only gf-developers.html is updated for now, but more files could be added to
the list.
2009-12-14 18:01:05 +00:00
hallgren
2c4c637d00 Developer documentation updates prompted by the switch to darcs version 2
In particular, the --lazy flag replaces the --partial flag.
2009-12-14 17:57:03 +00:00
hallgren
07ed00140a New smoother version of the GF logo
The new logo is in the new directory doc/Logos. The old logo has been moved
there too. The documentation has been updated to refer to the new logo.

The new logo was provided in SVG format by Krasimir, but PNG files are included
as well. There are some new rules in doc/Makefile to convert from SVG to PNG,
which you can use if you edit the SVG files.
2009-12-14 16:01:47 +00:00
krasimir
4d4b618c93 fix the directories in gf-server.cabal 2009-12-14 15:21:09 +00:00
krasimir
1296211fd0 use forward slash instead of back slash in GF.cabal 2009-12-14 14:32:55 +00:00
krasimir
02f5b44783 remove some more dead code 2009-12-14 13:11:58 +00:00
krasimir
c036459214 remove the old parsing code and the -erasing=on flag 2009-12-14 10:54:22 +00:00
krasimir
faa638d6fc rename some modules that had GFCC in the name to PGF+something 2009-12-14 10:10:58 +00:00
krasimir
a7811d1199 now the PGF to JavaScript convertor uses PMCFG 2009-12-14 09:53:53 +00:00
krasimir
f85232947e reorganize the directories under src, and rescue the JavaScript interpreter from deprecated 2009-12-13 18:50:29 +00:00
krasimir
d88a865faf rename #Var to __gfVar because it breaks the JavaScript editor 2009-12-13 15:29:26 +00:00
aarne
5ea49dfa86 moved some doc to deprecated; empty dirs in lib to enable lib/src/Make 2009-12-14 09:54:23 +00:00
aarne
b5a541e65a unicode encoding in quiz questions fixed 2009-12-13 18:51:20 +00:00
krasimir
5804db9816 judgements lindef are now respected by both the parser and the linearizer 2009-12-11 17:39:18 +00:00
aarne
3353059277 moved bin/jgf to deprecated 2009-12-11 16:27:24 +00:00
krasimir
d3b179eeed allow empty lines when reading with 'rf -lines -tree' 2009-12-10 18:45:10 +00:00
aarne
7cc9ede481 index: version still 3.0 2009-12-10 16:24:52 +00:00
aarne
6b7780fb49 updated index page - back in old place after all 2009-12-09 17:22:17 +00:00
hallgren
d99e919228 Added a page title on the home page 2009-12-10 12:44:42 +00:00
hallgren
0a914465eb Transparent logo background 2009-12-10 12:35:54 +00:00
krasimir
fae0ade020 function read_file now reports errors if there is expression with parse or type error 2009-12-09 22:43:17 +00:00
aarne
c8ceed08ef moving a few things to deprecated 2009-12-09 09:47:16 +00:00
aarne
101df06f6c manual web page edits from cs.chalmers 2009-12-09 09:37:47 +00:00
aarne
b0f3796360 Polish Bronzeage, compile with 13 languages 2009-12-08 13:04:05 +00:00
aarne
0bafd45952 making Arabic minimal compile; strange chars remain 2009-12-08 07:32:46 +00:00
krasimir
5fd6227314 change the URL to the bug tracker 2009-12-07 15:22:26 +00:00
aarne
7f47802cd2 Constructors.str2numeral for making numerals from strings 2009-12-07 10:29:53 +00:00
krasimir
8798ff76f9 added mkMeta and isMeta in PGF 2009-12-05 10:12:03 +00:00
krasimir
e06c7da79b fix the pattern matching in unStr, unInt, unDouble 2009-12-05 10:06:59 +00:00
aarne
cec6c8ed97 abstracts, literals, and variables in tree visualization 2009-12-01 09:55:01 +00:00
krasimir
991a58badb TranslateApp now have browser for abstract syntax 2009-11-29 14:51:12 +00:00
krasimir
2c54ad525e function doListGrammars in PGFService is obsolete 2009-11-26 16:27:04 +00:00
krasimir
d7fba06bda the default function of the PGFService should return list of functions as well as list of categories 2009-11-26 14:47:35 +00:00
krasimir
ba1b602053 change PGF.categories to return list of identifiers instead of types 2009-11-26 14:43:31 +00:00
aarne
6b0a662c35 restored a parsing grammar api/Browse 2009-11-20 15:14:41 +00:00
krasimir
0ddf8ff18d slight optimization in GF.Grammar.Lexer 2009-11-17 21:49:51 +00:00
aarne
e91cd9c832 Dutch lexicon generated via Google translate; method in lib/src/MkExx.hs 2009-11-16 15:21:56 +00:00
aarne
dcc2888faf command vt -mk for displaying overload-style function names 2009-11-15 20:03:28 +00:00
krasimir
4c17b7ba95 lookupResType should always return the precomputed CncFun type 2009-11-14 09:21:34 +00:00
krasimir
ee97e0b963 bugfix: In AppPredefined.hs, PTrue and PFalse should be declared as constructors 2009-11-13 21:52:53 +00:00
krasimir
129d914002 add test case for typechecking of lincat 2009-11-13 10:28:37 +00:00
krasimir
36d025877b for 'lincat C = T' the typechecker should check that T is a valid type 2009-11-13 10:25:31 +00:00
krasimir
94171908c0 before the optimizations OptParametrize and OptValues were applied twice. in addition the values optimization is now always applied because it become very cheep 2009-11-12 21:11:51 +00:00
krasimir
3aa208dd2b parteval -> partial evaluation 2009-11-12 20:12:59 +00:00
krasimir
3d838e0172 bugfix: GF.Compile.GrammarToGFCC should not strip the parameter values 2009-11-12 20:09:59 +00:00
aarne
6898667b3e questions, relatives, numerals - most of Dutch syntax soon in place 2009-11-11 20:34:09 +00:00
krasimir
2a22325678 check grammar should process the definitions in dependency order. This also ensures that the list of parameters for some parameter type is complete 2009-11-07 15:30:57 +00:00
krasimir
7c513609f0 bugfix: if a concrete module has operations then they also should be optimized 2009-11-07 15:18:25 +00:00
krasimir
ea49556395 update testsuite/runtime/parser/Parse.hs 2009-11-02 16:31:32 +00:00
krasimir
78355d63ac update the testsuite 2009-10-28 18:07:49 +00:00
krasimir
0fb91bbb2f added test cases for cyrcular definitions 2009-10-28 17:59:18 +00:00
krasimir
c330cac1db check for cyclic parameters, operations and dependent types 2009-10-28 17:44:50 +00:00
krasimir
d130d30669 refactoring in GF.Grammar.Lookup 2009-10-28 17:10:43 +00:00
krasimir
980844a4ad restructure ResParam and ResValue 2009-10-28 16:47:01 +00:00
krasimir
f2e5281602 bugfix in GF.Compile.CheckGrammar 2009-10-28 09:10:58 +00:00
krasimir
83bc6d4cda simplify the Term again 2009-10-27 15:45:05 +00:00
krasimir
8ebb4e854a fix the compilation of MorphoService.hs 2009-10-27 09:10:50 +00:00
krasimir
6753fdae72 strip some redundant constructors from GF.Grammar.Grammar 2009-10-25 18:01:04 +00:00
krasimir
d63be8ac72 small refactoring in GF.Compile.CheckGrammar 2009-10-25 15:20:44 +00:00
krasimir
116912647b add GF.Compile.Concrete.TypeCheck in GF.cabal 2009-10-25 13:10:24 +00:00
krasimir
8a0db59798 split the abstract syntax specific and the concrete syntax specific modules in different subfolders in GF.Compile 2009-10-24 17:42:02 +00:00
krasimir
873363ff9b refactoring in GF.Compile.Optimize 2009-10-24 16:08:00 +00:00
krasimir
ca5b6b0eec integrate Polish in the build system 2009-10-24 12:32:03 +00:00
krasimir
02bb6cc073 added tree visualizations in TranslateApp 2009-10-24 10:38:21 +00:00
krasimir
59172a0380 expose the tree visualization via PGF API 2009-10-24 09:03:40 +00:00
aarne
0e3e2d03f9 C bindings to PGF interpreter 2009-10-23 12:54:21 +00:00
krasimir
b8df9c92bb fix typo 2009-10-23 12:16:29 +00:00
krasimir
d5f4669aec experimental robust parser 2009-10-23 08:35:32 +00:00
aarne
70b5e2a930 fix for multiword phrases in Malt format 2009-10-20 19:27:42 +00:00
aarne
cf6011d9a6 MaltParser input 2009-10-20 14:45:02 +00:00
aarne
e82b6e02e9 Malt parser .conll format by vd -output=malt 2009-10-20 13:04:33 +00:00
aarne
499ac428d3 labels read from config files for dependency trees, eg lib/src/dep.labels 2009-10-19 15:53:30 +00:00
aarne
dd57104d1c one missing case in dep trees 2009-10-19 12:47:31 +00:00
aarne
4cacaf6097 experiment examples, starting with Dep trees 2009-10-19 08:48:46 +00:00
aarne
565b05d73c labels in dep trees (preliminary) 2009-10-19 08:47:44 +00:00
aarne
147b2e61e3 improved printing of dependency trees 2009-10-18 19:24:01 +00:00
krasimir
70ec6632fd added smart constructors for types in PGF 2009-10-15 16:21:26 +00:00
krasimir
861e0a4c13 make the GF server to compile after that changes in the PGF runtime 2009-10-15 11:32:25 +00:00
krasimir
93da32c1d4 bugfix in Setup.hs for Linux 2009-10-15 06:44:40 +00:00
krasimir
624b1075d9 added start category S to Trigram.gf 2009-10-08 13:41:34 +00:00
krasimir
a84cdb32c7 just for fun - grammar for trigram models in GF 2009-10-08 13:13:48 +00:00
aarne
ffb5fdcd25 Sammie grammars added to examples 2009-10-08 12:40:47 +00:00
aarne
df7f4ab34d rudimentary dependency tree by command vd 2009-10-08 07:03:29 +00:00
aarne
9896fcaad1 parse tree visualization command vp 2009-10-07 16:18:33 +00:00
krasimir
e560990727 remove duplicated function from GF.Grammar.Macros 2009-10-07 09:33:57 +00:00
krasimir
68c866cf11 the Setup.hs script should build the prelude also 2009-10-07 08:34:32 +00:00
krasimir
f1e39b52d1 fix the error message for overload resolution 2009-10-06 14:59:02 +00:00
krasimir
cbcdae9148 hopefully the last revision of the relative paths handling algorithm 2009-10-06 10:27:34 +00:00
krasimir
332dbf7b9b another attempt to get the paths handling right 2009-10-05 14:58:13 +00:00
aarne
be966cdda2 paths in Symbol modules; present in ResRon (not complete) 2009-10-05 12:54:17 +00:00
krasimir
a63668577e bugfix in extendPathEnv 2009-10-03 07:39:06 +00:00
krasimir
56f979d669 update the testsuite 2009-10-03 06:52:14 +00:00
krasimir
4c77dcf938 merge GF.Grammar.API into GF.Grammar 2009-10-02 23:34:35 +00:00
krasimir
d64419f2f2 refactor GF.Infra.CheckM and use the CheckM monad in the renamer as well 2009-10-02 22:52:14 +00:00
krasimir
8e79954861 Implicit arguments in GF. Works only in PGF for now. 2009-10-02 13:25:12 +00:00
krasimir
af831e01a7 refactoring in GF.Grammar.Macros 2009-09-21 06:56:39 +00:00
krasimir
96786c1136 syntax for implicit arguments in GF 2009-09-20 13:47:08 +00:00
krasimir
a29a8e4f60 rename MetaSymb in GF.Grammar.Grammar to MetaId to match the convention in PGF 2009-09-20 10:28:27 +00:00
krasimir
81ca1a5744 remove the Read instances from GF.Grammar.Grammar 2009-09-20 10:16:59 +00:00
krasimir
cebd0560c8 rename Decl in GF.Grammar.Grammar to Hypo to match the convention in PGF 2009-09-20 10:15:39 +00:00
krasimir
b1a51f46f5 change the data types and the syntax in PGF to match the new syntax for implict arguments 2009-09-20 11:43:41 +00:00
krasimir
d09371280d fix the least version number for the base package 2009-10-01 17:20:04 +00:00
krasimir
288ef038f2 export the morphology API from PGF 2009-09-28 12:06:20 +00:00
krasimir
726d160c8d bugfix: the identifiers in the output of l -table should not be qualified 2009-09-25 08:53:27 +00:00
krasimir
0b1590536a bugfix in the filterProds function 2009-09-23 06:32:24 +00:00
krasimir
ea10ce93c4 the pmcfg_pretty printer now prints the actual grammar used for parsing 2009-09-23 06:28:36 +00:00
krasimir
884747508e better error message for the ai command 2009-09-19 10:24:02 +00:00
krasimir
e363c40058 bugfix in PGF.TypeCheck 2009-09-19 10:21:26 +00:00
krasimir
502979bef1 use the syntax <x : A> in PGF.Expr for typed expressions. This is consistent with the GF language 2009-09-19 10:16:37 +00:00
krasimir
c3f0986275 command ai doesn't need typechecking from the shell 2009-09-18 14:43:04 +00:00
krasimir
2c86af2865 typo in PGF.Expr 2009-09-18 12:05:32 +00:00
krasimir
1d7e3b4a9e fix in GF.Grammar.Printer 2009-09-17 20:09:22 +00:00
krasimir
b8a7e50107 added pt -transfer 2009-09-17 15:47:06 +00:00
krasimir
bd2f46583c remove the transfer modules. We don't need anything special, a transfer module is module without concrete syntax 2009-09-17 14:32:20 +00:00
krasimir
49ca46d958 bugfix in the ai command 2009-09-17 13:14:04 +00:00
krasimir
6c7330131d more fixes in the testsuite 2009-09-16 12:49:04 +00:00
krasimir
9ca8db1cdb another fix in the testsuite 2009-09-16 12:13:11 +00:00
krasimir
f45e0fe003 fix some tests in the testsuite 2009-09-16 11:20:05 +00:00
krasimir
118e1e6bd8 add Romanian to the build system 2009-09-16 08:40:16 +00:00
aarne
03a058297e make Romanian compilable for present, and Bronzeage for most languages 2009-09-15 15:27:42 +00:00
krasimir
fe8af90a48 forgot to push the changes to GF.cabal 2009-09-15 11:51:26 +00:00
krasimir
88a018d6c8 update the compiler testsuite 2009-09-14 16:27:37 +00:00
krasimir
14dfbcc624 clean up the GF.Grammar API 2009-09-14 16:23:23 +00:00
krasimir
9f3534b3bb Use GF.Grammar.Printer everywhere instead of PrGrammar 2009-09-14 15:13:11 +00:00
krasimir
4426120eff fix typo in CheckGrammar 2009-09-14 12:34:46 +00:00
krasimir
70fea39e2b added some tests in the testsuite for the compiler 2009-09-14 12:17:57 +00:00
krasimir
62ef772a2c CheckGrammar is now using the printer in GF.Grammar.Printer. Fixed bug that was hiding the warnings 2009-09-14 12:16:02 +00:00
krasimir
cc151c4279 added needsTypeCheck parameter to CommandInfo. The argument to the command is typechecked only if needsTypeCheck=True 2009-09-13 15:39:11 +00:00
krasimir
4111438979 the testsuite\runtime\parser test now generates random trees to test the parser with 2009-09-13 15:17:15 +00:00
krasimir
509d0cf8d8 added wrapper functions for expression manipulations in PGF. The Haskell API now uses the wrappers 2009-09-11 14:42:45 +00:00
krasimir
1cdf171251 polish the PGF API and make Expr and Type abstract types. Tree is a type synonym of Expr 2009-09-11 13:45:34 +00:00
krasimir
28a7c4b5c7 now the datatype Tree is only internal. All API functions are working with Expr directly. Commands gt, gr, p and rf filter out the output via the typechecker 2009-09-08 08:40:28 +00:00
krasimir
9940c44259 export Hypo(..) from PGF 2009-09-07 19:16:27 +00:00
krasimir
76517518a3 make the PMCFG generation lazy again. it was made strict when the profiler was introduced 2009-09-07 14:45:17 +00:00
krasimir
b97d6abb81 hopefully complete and correct typechecker in PGF 2009-09-06 20:31:52 +00:00
krasimir
c99b64404d bugfixes in the parser for PGF.Type.Type 2009-07-07 22:22:05 +00:00
krasimir
bb3040e2c4 bugfix in PGF.Expr.apply 2009-07-05 16:07:34 +00:00
krasimir
279ff9a6d2 PGF.Type.Hypo now can represent explicit and implicit arguments and argument without bound variable 2009-07-05 15:44:52 +00:00
krasimir
3394c171ed PGF.Expr.eval now returns suspension when a meta variable is encountered 2009-07-05 15:34:16 +00:00
krasimir
95a577d269 simple profiler for PMCFG 2009-09-05 14:04:39 +00:00
aarne
785ef9224b revised FoodsHeb 2009-09-03 14:26:31 +00:00
krasimir
c93d0a3a26 the -dump-X options should convert to UTF8 2009-08-27 17:27:20 +00:00
aarne
db59a4ac72 food grammars added, with copyright statements 2009-08-29 17:36:15 +00:00
aarne
f34dd228eb added contrib and summerschool 2009-08-28 07:05:08 +00:00
krasimir
b6abe5f8f5 if there is oper patt = #(...) then it also should be decoded to Unicode 2009-08-27 15:57:38 +00:00
aarne
7e395c261c some corrections in Bronzeage 2009-08-27 13:49:00 +00:00
aarne
8c2cee0f4b Persian transliteration 2009-08-27 13:47:57 +00:00
krasimir
dbf87958f9 let the 'se utf8' command change the terminal codepage to 65001 on Windows 2009-08-25 18:35:33 +00:00
aarne
8b3b2946b2 ancient greek ut additions 2009-08-21 16:13:07 +00:00
krasimir
a73273895d the parsing test now evaluates all languages 2009-08-19 22:35:57 +00:00
krasimir
8da1aab8ff add functions and functionType to the PGF API 2009-08-19 20:59:43 +00:00
krasimir
f27c1785a7 let the GF.Grammar.Printer printer output the unicode symbols directly 2009-08-18 07:09:41 +00:00
krasimir
3ee04cc42d fix the unicode encoding problem with the cc command 2009-08-18 07:08:44 +00:00
aarne
acb930a349 transliteration now needs addition only in one file; a code can be more than 2 chars; ancientgreek added 2009-08-07 13:20:45 +00:00
krasimir
b180ac61a5 merge some changes from the latest version of Data.Binary. Makes the binary decoding faster 2009-08-06 11:19:04 +00:00
krasimir
3473f0d274 added testcase for pattern matching on runtime variables 2009-07-22 09:53:39 +00:00
krasimir
4f21b57a86 updated the output in testsuite/compiler/check/lins 2009-07-22 09:51:57 +00:00
krasimir
5abc99b291 added testcases for evaluation with suspension 2009-07-07 11:40:14 +00:00
krasimir
fd03f9fa0f added example for abstract syntax of RDF 2009-07-06 19:58:27 +00:00
aarne
b823a64795 updated bibliography 2009-06-24 14:55:51 +00:00
krasimir
d965cf4755 simplification: decodeFile doesn't have to check that the file is empty anymore 2009-06-24 12:21:09 +00:00
krasimir
f20dd0ba4a make the Functor Get instance in Data.Binary strict to be sure that the decoder is strict 2009-06-24 12:08:32 +00:00
krasimir
f81a309eb1 bugfix: Use openBinaryFile in Data.Binary.decodeFile. It makes difference only on Windows 2009-06-24 12:07:38 +00:00
krasimir
cf4efe0acc explicitly close the file handle in Data.Binary.decodeFile 2009-06-24 10:39:03 +00:00
krasimir
9e3131f169 make Data.Binary.decodeFile stricter. It seems like this fixes the file locking problem on Linux 2009-06-23 11:56:22 +00:00
krasimir
8e72ff3a1c added preCopy and postCopy hooks in Setup.hs 2009-06-23 11:44:36 +00:00
aarne
032f8de862 made .cf grammars take their startcat from the first rule 2009-06-23 10:13:12 +00:00
aarne
e89fdae2fa next-lib renamed to lib, lib to old-lib 2009-06-22 15:39:08 +00:00
aarne
3049b59b35 cleaning up overshadow failure to warning, after testing resource compilation 2009-06-22 14:51:58 +00:00
aarne
ff29836c9b some more fixes for cleaner compilation of alltensenses 2009-06-22 14:45:02 +00:00
aarne
f8fdaa7acc fixed warnings in present compilation of resource, esp. unreached patterns 2009-06-22 14:30:55 +00:00
aarne
b7f6393e9f test unification in TypeCheck 2009-06-22 06:39:25 +00:00
aarne
beb8cad7d8 the construct lin C t now replaces lock fields (in source code; still tempor used internally); lock fields removed from english resource as an example 2009-06-20 13:50:34 +00:00
aarne
48c7555975 accepting + patterns in pre expressions 2009-06-20 08:39:30 +00:00
aarne
30f90d707a function for printing the help file in txt2tags 2009-06-20 07:02:13 +00:00
aarne
c81b1f2ab0 made AllLat compilable and fixed a bug in first declension 2009-06-05 17:40:26 +00:00
krasimir
3db76063a4 in splitContraints the values first have to be reduced 2009-06-19 14:37:58 +00:00
krasimir
bc4d9df645 replace the reference to src/INSTALL with doc/gf-developers.html in the README 2009-06-19 13:39:32 +00:00
krasimir
e51a896b94 extend the developers documentation with some information for readline,editline and haskeline 2009-06-19 13:37:38 +00:00
krasimir
b8776e6e28 fix the current PGF typechecker 2009-06-19 12:03:18 +00:00
krasimir
6220ebd383 bugfix: restore the check for bound variables in expr2tree 2009-06-19 06:37:24 +00:00
krasimir
eeb08bbd4d added testcase for linearization with HOAS 2009-06-18 17:47:06 +00:00
krasimir
13232a5e81 in the ai command don't show the fun keyword if there aren't any functions. 2009-06-18 17:44:29 +00:00
krasimir
d2dd0830f1 the PMCFG lexical categories are not printed out with prefix C i.e. CInt,.. to make them different from the same PGF categories 2009-06-18 17:33:06 +00:00
krasimir
5f0a68c1a4 bugfix: the optimizer should not filter out rules that refer to lexical categories 2009-06-18 17:31:49 +00:00
aarne
ea9aed6ff8 adds to gf-biblio 2009-06-18 16:08:05 +00:00
aarne
4401ebbe3e shortcuts for this_Det etc 2009-06-18 13:45:55 +00:00
krasimir
e69f8165c0 make erasing=on the default 2009-06-16 14:50:06 +00:00
krasimir
358e5de44e fix the path in Italian 2009-06-16 12:20:06 +00:00
krasimir
6d82c8ed3d now rgl-pgf produces one .pgf per language and finally one combined .pgf 2009-06-16 12:15:11 +00:00
krasimir
8bc8929c59 completely phrase based parser and support for pre {} in PMCFG 2009-06-16 11:56:08 +00:00
krasimir
b442cde3bd reduce the number of variants in Interlingua 2009-06-16 07:53:01 +00:00
krasimir
b2b4a7064b remove some obsolete code from Interlingua 2009-06-15 09:59:21 +00:00
krasimir
6e1269bb33 fix the -path directive in French 2009-06-15 09:58:29 +00:00
krasimir
d73e54ed50 reduce the number of variants in Catalan 2009-06-15 09:56:35 +00:00
krasimir
44bb6250b8 reduce the number of variants in Spanish 2009-06-15 09:31:20 +00:00
krasimir
5cc7a3f402 add reference to the developers quite from the GF Tutorial 2009-06-13 18:10:35 +00:00
krasimir
f587501181 update the developers documentation with instructions for building and running the testsuite 2009-06-13 18:02:06 +00:00
krasimir
4d8a5fbd50 make the text in the SyntaxEditor float nicely 2009-06-06 08:33:11 +00:00
krasimir
aa46238342 added AllTur.gf and AllTurAbs.gf 2009-05-25 16:54:27 +00:00
krasimir
9142fcff76 split the testsuite to different directories for compiler, runtime and libraries 2009-06-13 13:54:06 +00:00
krasimir
c25d7be877 use oper in examples 2009-06-13 13:36:41 +00:00
krasimir
fb29ce7834 scratched version of GWT Syntax Editor 2009-06-05 18:19:53 +00:00
krasimir
fc38ae9a93 update the Makefile and the README for the server 2009-06-04 16:45:29 +00:00
krasimir
02ec4e5329 added decoding from UTF8 in MorphoService.hs 2009-06-04 16:39:06 +00:00
krasimir
3587a3a7f6 GF.Grammar.Parser is added to gf-server.cabal to tell Cabal that he has to run Happy 2009-06-04 16:38:07 +00:00
krasimir
f2a968b6d5 the morpho server is now updated and works with the current GF. the sources are moved in directory server 2009-06-04 16:26:52 +00:00
krasimir
6a263f05aa Update FastCGIUtils.hs to work with GHC 6.10 2009-06-04 14:56:50 +00:00
aarne
a71aed81fd fixed pre expressions, parsing {} patterns, and the path in resource Make.hs 2009-05-25 12:19:32 +00:00
krasimir
3efb7a671b added test cases for computation with abstract syntax terms 2009-05-23 21:43:24 +00:00
krasimir
e5c8636a5f now in the command shell the primary type in the pipe is Expr not Tree. This makes the pt -compute and pt -typecheck more interesting 2009-05-23 21:33:52 +00:00
krasimir
41b263cf6a some work on evaluation with abstract expressions in PGF 2009-05-22 18:54:51 +00:00
krasimir
7a204376c9 fix in testcase testsuite\paraphrase 2009-05-22 22:14:57 +00:00
krasimir
a7900bfbc8 fix the handling of wildcards 2009-05-22 21:47:32 +00:00
krasimir
c520039f1c fix the funpatt testcase 2009-05-22 21:42:21 +00:00
krasimir
7f60804d5a bugfix to the previous patches 2009-05-22 21:30:34 +00:00
krasimir
7db4b641ce refactor the PGF.Expr type and the evaluation of abstract expressions 2009-05-20 21:03:56 +00:00
krasimir
401dfc28d6 some more tests for evaluation in the abstract syntax 2009-05-20 20:27:19 +00:00
krasimir
8f2fb82750 more friendly error message when renaming patterns 2009-05-20 20:24:15 +00:00
krasimir
6de94f5300 fix the generation of warnings in CheckGrammar. They are printed even in quiet mode and the prefix "Warning" is added automatically 2009-05-20 17:05:58 +00:00
krasimir
880665ad0f testcase for parameters with nested records 2009-05-20 16:38:19 +00:00
krasimir
77017c75a7 added testcase for categories with lincat C = {}; 2009-05-20 16:27:12 +00:00
krasimir
0d36ec5879 added testcases for abstract syntax computation 2009-05-20 15:01:52 +00:00
krasimir
5e054f9b09 the treebank test for the resource libraries is moved to the testsuite 2009-05-20 14:59:46 +00:00
krasimir
cb6527c018 now 'runghc Setup.hs test' runs a simple extensible testsuite 2009-05-20 14:57:42 +00:00
krasimir
2d1d79a25a Now the toplevel file i.e. from command i is searched both in the current directory and in GF_LIB_PATH 2009-05-20 13:40:55 +00:00
krasimir
b45bdaefec simpler algorithm for file searching in the compiler. should be equivalent to the previous one 2009-05-20 13:23:34 +00:00
krasimir
878ad278b5 remove the obsolete testsuite/srg directory 2009-05-20 12:39:32 +00:00
krasimir
0b2e093416 now a single line comment (--) is recongized as an empty command. Usefull for GF shell scripts 2009-05-20 12:10:54 +00:00
krasimir
352ac74b0f examples/test is moved to testsuite 2009-05-20 11:25:00 +00:00
krasimir
b6ce113041 removed some debug traces 2009-05-18 15:53:36 +00:00
krasimir
5f986f5992 added filtering for useless productions in PMCFG 2009-05-18 15:52:10 +00:00
aarne
7508fa5785 pattern macros: oper f : pattern T = # p ; used as #f in patterns 2009-05-18 15:01:18 +00:00
aarne
953c77a08a entry "make gf" in Makefile with similar effect as in old src/Makefile 2009-05-18 08:50:23 +00:00
krasimir
3b65d88336 the new PMCFG compilation scheme is pushed. the old version is kept in GeneratePMCFGOld.hs (for now). 2009-05-16 12:14:47 +00:00
krasimir
2a80a301d4 implement command 'runghc Setup.hs test' 2009-05-13 08:44:47 +00:00
aarne
29c0ea9f76 new pre syntax (as alternative): pre {"o" | "i" => "an" ; _ => "a"} 2009-05-15 16:45:16 +00:00
krasimir
110d436e85 the check for lincat C = <> is made more robust 2009-05-15 11:27:26 +00:00
krasimir
0dad868f34 if the lincat is empty record the linearizations are derived automatically 2009-05-15 09:34:06 +00:00
krasimir
c307fd50c0 added command rgl-none in Setup.hs 2009-05-14 20:12:41 +00:00
krasimir
2c68b1ba88 in command 'ai' send the output through the pipe 2009-05-13 06:49:37 +00:00
krasimir
fdba7d20ee now command 'ai' prints the list of functions for given category 2009-05-13 06:27:31 +00:00
krasimir
b037cbc361 added command ai which prints information about given identifier 2009-05-12 20:52:18 +00:00
krasimir
f283944f5c Setup.hs now builds RGL. the code is borrowed from Make.hs 2009-05-11 06:55:11 +00:00
krasimir
30ebf7fd59 -gfo-files is consulted not only when .gfo files are created but also when we search for them 2009-05-11 06:50:50 +00:00
krasimir
b2a40d9e2f Turkish: set coding=utf8 in NumeralsTur.gf 2009-05-09 18:19:44 +00:00
krasimir
37aa3947a5 implement --gfo-dir. before it was recognized but ignored 2009-05-09 18:00:11 +00:00
krasimir
4b8f868975 Turkish: bugfix in mkPron 2009-05-08 08:20:38 +00:00
krasimir
8b69008815 Turkish: implement NumCard and NumNumeral 2009-05-08 08:15:32 +00:00
krasimir
35a4a20845 Turkish: implement UsePron 2009-05-08 07:53:47 +00:00
krasimir
80369830a9 Turkish: harmony2 and harmony4 should be more liberal 2009-05-08 07:52:50 +00:00
krasimir
944267a142 Turkish: add abessive case for the pronouns 2009-05-08 06:14:21 +00:00
krasimir
a83a68573d Turkish: fixed vowel harmony 2009-05-07 14:55:38 +00:00
krasimir
95d8fd3be4 Turkish: scratch the NP category 2009-05-07 10:28:47 +00:00
krasimir
b0cbba9e0d Turkish: some more nouns in the lexicon and some work on the paradigms. still not complete 2009-05-07 07:41:38 +00:00
krasimir
112de09f6b forgot to add GF.System.UseEditline and GF.System.UseHaskeline 2009-04-30 13:31:22 +00:00
krasimir
f9a3925653 conditional support for haskeline, readline and editline 2009-04-30 09:40:48 +00:00
krasimir
2c3ffb85c8 added new Makefile in the top directory which calls Cabal for compilation 2009-04-30 07:57:56 +00:00
krasimir
ae6e8ee401 added -gf-lib-path option which overides the value of GF_LIB_PATH 2009-04-30 07:56:22 +00:00
krasimir
c6ac4801ad upgrade to GHC 6.10.2 2009-04-30 05:13:55 +00:00
aarne
c14a899ab4 have_V2 in Structural 2009-04-27 13:28:47 +00:00
aarne
010dee0c97 started to move have_V2 from Lexicon to Structural ; fixes in Hindi translit table 2009-04-26 20:10:44 +00:00
aarne
d0e728d1a8 documentation before on-line course 2009-04-20 08:28:22 +00:00
krasimir
9c47cf4168 proper pretty printing of tokens in PGF.PMCFG 2009-04-15 12:10:08 +00:00
aarne
f3fdd5ea2d on-line course announced on the summer school page 2009-04-14 08:12:45 +00:00
krasimir
63ccad9e85 refactor GF.Data.BacktrackM to use the MonadState and Functor classes 2009-04-14 08:07:33 +00:00
aarne
8bd97f9e75 hebrew transliteration added 2009-04-08 20:01:35 +00:00
aarne
4f6d13bd35 food grammar path changed in tutorial 2009-04-08 05:59:16 +00:00
aarne
c7376c78a9 warning for overshadowed patterns, temporal solution 2009-04-06 14:07:22 +00:00
krasimir
203d02ef34 raise better error message when decode GFO file 2009-04-02 13:29:03 +00:00
krasimir
fda12955fb raise better error message when decode PGF file 2009-04-02 13:25:20 +00:00
aarne
ef49588ed1 version in Makefile 2009-04-02 10:01:26 +00:00
aarne
15bdc53f8c Updated version numbers. 2009-04-02 09:49:13 +00:00
aarne
6bb85a8f41 fixes before beta3 release 2009-04-02 09:35:48 +00:00
aarne
a94143ee92 BronzeageAra compiles again, via minimal Syntax 2009-03-28 20:22:07 +00:00
aarne
71bb4eda8a restoring Arabic to new API 2009-03-28 19:03:54 +00:00
aarne
90b71deaf1 doc for next-lib; adjustments in summerschool-flyer 2009-03-28 13:20:47 +00:00
aarne
3a67fd9b56 adapt Precedence.gf to new syntax; bug fix in Swedish mkA 2009-03-26 22:40:44 +00:00
aarne
215d74e58e examples of file conversion with ps 2009-03-28 13:41:29 +00:00
krasimir
587549a871 some fragments of Turkish noun morphology 2009-03-27 08:43:43 +00:00
krasimir
5ced40f789 Turkish moved to next-lib 2009-03-27 08:41:55 +00:00
krasimir
90528ec1f1 the first letter of every PN should be in upper case 2009-03-25 17:49:11 +00:00
krasimir
cb330815b9 remove the alphabet from DictEng 2009-03-25 17:35:08 +00:00
krasimir
0f959bd418 remove some abreviations like am, pm and bc which are declared as proper names 2009-03-25 17:19:05 +00:00
krasimir
a1998b79a4 remove the verb be from DictEng 2009-03-25 17:17:43 +00:00
krasimir
af8d589ce0 DictEng to utf8 2009-03-25 17:11:06 +00:00
aarne
ba2c0a7b02 flag -env=quotes (and possible other flags) to restrict ps 2009-03-18 12:49:46 +00:00
aarne
20d6d7372f string operation in environment (begin and end marks) 2009-03-18 08:43:46 +00:00
aarne
793dd89f7e Greek (modern) transliteration scheme 2009-03-17 22:04:20 +00:00
aarne
f69a8f6322 Finnish verb in Attempto 2009-03-17 18:53:57 +00:00
krasimir
13a8fe8c9e add the compiled Haskell sources for Parser and Lexer 2009-03-17 08:49:06 +00:00
krasimir
9cae779ac5 incomplete support for record types in the abstract syntax 2009-03-16 14:41:49 +00:00
krasimir
a2c682cf0e typos in the grammars 2009-03-16 14:39:54 +00:00
krasimir
a391c69fd3 use new parser which supports the syntax in GF.Grammar.Grammar directly 2009-03-16 14:10:30 +00:00
krasimir
5597cff5cb export ppLabel from GF.Grammar.Printer 2009-03-15 18:52:27 +00:00
krasimir
3ac05b4f61 some more refactoring 2009-03-15 17:59:49 +00:00
krasimir
3afe18dc57 code cleanup in the typechecker 2009-03-15 17:33:14 +00:00
krasimir
2081347033 update GF.cabal 2009-03-15 17:15:52 +00:00
aarne
995774f79e adjusted Make.hs to languages that do have appropriate modules 2009-03-15 16:55:39 +00:00
krasimir
daa3235bfa fix typo cs1 -> c2. the whole typechecker was broken before that 2009-03-14 21:02:17 +00:00
aarne
103c145463 new languages in Make.hs 2009-03-13 17:24:47 +00:00
aarne
9b63633329 interlingua updated for new resource 2009-03-13 16:05:13 +00:00
aarne
e66b27aa5b additions to ideas page 2009-03-13 14:04:01 +00:00
krasimir
bae62cf7c2 remove the obsolete GF.Infra.PrintClass 2009-03-13 07:00:04 +00:00
krasimir
d1276ee52b don't use ByteString.copy in Data.Binary this makes it far too slow 2009-03-12 09:03:55 +00:00
aarne
1421ed2f92 removed conflict marks from previous update 2009-03-11 16:57:28 +00:00
aarne
a175874e2c idea page 2009-03-11 16:54:16 +00:00
aarne
af1fc9306a google analytics 2009-03-11 16:10:02 +00:00
aarne
18c6ec5788 Finnish attempto started 2009-03-11 16:08:55 +00:00
aarne
84a1d54e82 preliminary Italian in Attempto 2009-03-10 17:31:18 +00:00
krasimir
85d9c76b5c special cases for printing the build-in PMCFG categories 2009-03-09 18:08:54 +00:00
aarne
50f8db750a tested "minimal" resource to compile Foods and Bronzeage 2009-03-09 16:53:40 +00:00
aarne
1362901845 marked Constructors that don't belong to a minimal implementation of RG 2009-03-06 17:14:56 +00:00
aarne
a0abbc5cdd next-resource Make extended; bronezeage compilable again 2009-03-06 13:15:52 +00:00
krasimir
30c1342169 fix the update of overloaded functions 2009-03-05 19:18:51 +00:00
krasimir
10b0a90323 print semicolon after the ind statement 2009-03-05 13:14:17 +00:00
krasimir
993ceb63bc in GF.Grammar.Update - remove the indirection before to print the error message 2009-03-05 09:08:52 +00:00
krasimir
1d675e9c80 remove the spurious adjective sledni_ja__A in DictBul 2009-03-05 08:32:24 +00:00
krasimir
bc77eef267 fix the compilation of ExtraBul.gf 2009-03-05 08:25:29 +00:00
krasimir
bec544c0ef GF.Grammar.Printer: parenthesis around single identifier are not necessary 2009-03-04 15:22:23 +00:00
aarne
aeeb31d066 folder adjustments 2009-03-04 15:06:35 +00:00
krasimir
49e6500c70 another missing case in GF.Grammar.Printer 2009-03-04 13:52:01 +00:00
krasimir
7babfd1da6 qualified/unqualified mode for GF.Grammar.Printer. Used in the "cc" command 2009-03-04 13:41:33 +00:00
krasimir
ed6c31f3ef added few missing cases in GF.Grammar.Printer 2009-03-04 12:47:05 +00:00
ra.monique
c20d766c54 mkA revised 2009-03-04 11:12:06 +00:00
aarne
dbed089bfa summerschool folder 2009-03-04 10:15:18 +00:00
ra.monique
77fbddb629 Adjective Smart Paradigm 2009-03-01 13:56:02 +00:00
aarne
3b881e20b2 newlines and indentation in XML printing 2009-03-03 10:41:36 +00:00
aarne
d841f69f65 clarifications in summer school web page 2009-03-02 10:48:28 +00:00
aarne
e217d0b02c summer school edits 2009-02-26 13:07:26 +00:00
ra.monique
d2e07b0287 convert ParadigmsRon.gf to UNIX format 2009-02-25 13:21:24 +00:00
ra.monique
7091a83d56 Romanian: mkV moved to ParadigmsRon 2009-02-25 12:54:00 +00:00
krasimir
8b844f7279 Bulgarian: fixes in some vocatives 2009-02-25 12:26:47 +00:00
krasimir
421912acfa set the code page for the Romanian grammar to cp1250 2009-02-23 14:19:10 +00:00
krasimir
6be08d77e0 fix the handling of flag coding 2009-02-23 14:17:16 +00:00
ra.monique
b7d2916bbe Romainian in next-lib 2009-02-23 13:29:42 +00:00
krasimir
01fef5109c Perhaps -> Maybe refactoring and better error message for conflicts during module update 2009-02-23 12:42:44 +00:00
aarne
2bc918bb9a alignment in summer school 2009-02-17 14:57:36 +00:00
aarne
086f861b5e new school web page 2009-02-16 15:12:23 +00:00
krasimir
e6fd01066b Graftals in GF. examples/graftals 2009-02-14 14:07:04 +00:00
krasimir
3548610ba1 fixes in the pretty printer for PMCFG 2009-02-08 09:57:16 +00:00
krasimir
5c2ce87cde PMCFG pretty printer 2009-02-07 23:31:22 +00:00
krasimir
14c13cb080 Bulgarian: fixed the paradigm for bizju 2009-02-05 23:47:36 +00:00
krasimir
9d3a142a0b Bulgarian: paradigm 089 was fake -> removed 2009-02-05 23:46:31 +00:00
krasimir
42a2dd3eed Bulgarian: fixes in the noun morphology. vocative forms for all paradigms. MascPersonal gender in the paradigms 2009-02-05 23:42:55 +00:00
krasimir
e158ed0f1c Bulgarian: formal and informal numerals + small bugfix 2009-02-05 21:34:55 +00:00
aarne
11f9f51697 some new resource API functions 2009-02-04 17:16:48 +00:00
krasimir
ddd7ab98d8 tabularLinearize should always generate label names 2009-02-02 09:56:02 +00:00
krasimir
7a882b5c36 another bugfix in the module dependency checker 2009-02-01 21:32:46 +00:00
krasimir
75829ceab3 the new pretty printer is now used for all -dump-* options. added -dump-source. implemented -dump-opt 2009-02-01 12:24:37 +00:00
krasimir
95e8142e1a small fixes in GF.Grammar.Printer 2009-02-01 12:23:58 +00:00
krasimir
db9a1acaeb merge Lookup and LookAbs and move some lookup functions from PrGrammar to Lookup 2009-01-31 22:08:12 +00:00
krasimir
5e3a1f7392 the dependency graph now shows all dependencies 2009-01-31 21:15:42 +00:00
krasimir
0e1215a8f1 some dead code elimination in UseIO and ReadFiles 2009-01-31 20:36:41 +00:00
krasimir
6133fcbb5f fix flag handling in combination with binary serialization 2009-01-31 16:53:21 +00:00
krasimir
ff0c0085cf bug fix in the module dependencies checker 2009-01-31 10:49:01 +00:00
aarne
241e13247d metavariables made unique in type checking 2009-01-30 16:52:38 +00:00
krasimir
92bb971ea3 the grammars are now recognized by extension i.e. .pgf is grammar just like .php is a PHP script 2009-01-25 22:06:20 +00:00
krasimir
7dfc17cd98 the pgf-server is single-threaded on Windows 2009-01-25 22:04:59 +00:00
krasimir
904282fb87 add Translate-compile.bat 2009-01-25 21:27:41 +00:00
krasimir
7e96a1ae3c add Fridge-compile.bat 2009-01-25 15:12:56 +00:00
krasimir
798380cbd3 hack for pgf-server for Windows 2009-01-25 15:07:29 +00:00
krasimir
f6661c3213 remove some more obsolete code 2009-01-23 07:16:46 +00:00
krasimir
f0718589df .gfo files in binary format 2009-01-23 06:15:27 +00:00
krasimir
3c53194ca9 --make now implies --batch 2009-01-23 06:14:34 +00:00
krasimir
b10c9c0f83 pretty printing of qualified identifiers 2009-01-23 06:11:41 +00:00
krasimir
62a6156405 remove unused import 2009-01-23 06:11:10 +00:00
krasimir
b3af472c98 improved error message 2009-01-22 15:52:19 +00:00
krasimir
0592994475 remove the obsolete GF\Devel directory 2009-01-22 15:28:10 +00:00
krasimir
418b33f9ae optimized Data.Binary.Get.getWord8 2009-01-22 15:01:41 +00:00
krasimir
8155d3b212 add hopefully complete binary serialization for the GF.Grammar.Grammar abstract syntax. Still not in use 2009-01-20 16:20:38 +00:00
krasimir
c7c1e69c7a simple fixes in GF.Grammar.Printer 2009-01-20 15:38:52 +00:00
krasimir
dd0ad1a1eb whitespace only 2009-01-20 15:38:18 +00:00
krasimir
e3892b82c0 remove some dead types from GF.Grammar.Grammar 2009-01-20 14:33:42 +00:00
krasimir
d6e917b5a1 added pretty printing for flags 2009-01-20 14:07:13 +00:00
krasimir
d2a00c373a pretty printer for the GF.Grammar syntax. still not in use 2009-01-20 12:43:15 +00:00
krasimir
9f4ef60149 larger treebank in examples/test/parser 2009-01-19 13:39:06 +00:00
krasimir
d95ca4a103 refactor the GF.Grammar.Grammar syntax. The obsolete constructions are removed 2009-01-19 13:23:03 +00:00
aarne
fa7ab84471 empty variants in mkVV eliminated 2009-01-15 09:53:19 +00:00
krasimir
c1d8e8af55 revert all changes related to the common Slavic grammar 2009-01-08 08:28:43 +00:00
aarne
f7dfc6f1d7 command dg for showing source grammar dep graph restored 2008-12-19 14:28:58 +00:00
aarne
f9e9c582f3 marked a workaround 2008-12-18 15:25:29 +00:00
aarne
9e341cc7f9 Hindi and Thai compile in 1.5 2008-12-18 14:21:28 +00:00
aarne
98a4b6a808 Arabic compiles now in 1.5 2008-12-18 14:17:42 +00:00
krasimir
9d0df9e0b4 added codepage 1250 i.e. central european. Useful for Polish, Czech, Slovak, Hungarian, Slovene, Bosnian, Croatian, Serbian, Romanian and Albanian 2008-12-17 23:53:12 +00:00
aarne
124738068a completed Russian grammar with missing syntax functions (marked ---- AR 17/12/2008); their effects should be checked 2008-12-17 15:41:38 +00:00
aarne
cb44a12c1b fixed discontinuous constituents in word alignment 2008-12-16 15:20:03 +00:00
aarne
e32e914703 datatype for bracketed texts, and improved word alignment 2008-12-16 13:56:23 +00:00
aarne
8c7aa2f5bb position of arrows in alignment 2008-12-16 08:59:26 +00:00
aarne
e478228cb5 better treatment of syncategorematic words in alignment 2008-12-15 15:45:36 +00:00
aarne
10675e29ca visualization of word alignment based on bracketing (command aw); does not work for syncategorematic words yet 2008-12-15 10:33:53 +00:00
aarne
3e293ae3e0 bracketing with tree node reference: l -bracket 2008-12-13 20:19:37 +00:00
aarne
6e511e5fbd morphological analyser in shell state - now reasonably fast 2008-12-12 08:12:24 +00:00
krasimir
a3328e5abb fixed nn_6n_blad paradigm in SALDO 2008-12-11 20:45:37 +00:00
aarne
bd21e6e1a0 a dialogue-like editor loop 2008-12-11 15:36:40 +00:00
krasimir
7c1fc268e9 DictSwe changes: CR+LF -> CR, added reference to Borin at all paper 2008-12-11 12:55:20 +00:00
aarne
db65b6bce1 added and editor function allMetas showing all meta positions and their types 2008-12-10 14:20:52 +00:00
krasimir
fa8349bb54 big dictionaries for Bulgarian, English, Swedish in next-lib 2008-12-10 13:58:14 +00:00
aarne
a554ced10d documentation in the Editor files 2008-12-10 13:22:54 +00:00
aarne
efdbf69b93 fix in Editor 2008-12-10 12:13:01 +00:00
aarne
5974263e95 parsing in the toy editor 2008-12-09 23:05:32 +00:00
krasimir
e32e085891 bugfix in the Swedish paradigms - jazz is jazz in gentive not jazzs 2008-12-10 10:58:20 +00:00
krasimir
b62f564d0b bugfixes in Numerals for Romanian 2008-12-09 20:26:03 +00:00
aarne
d925bb35c1 Editor with some commands, using PGF API, with demo shell in exper/EditShell; still buggy 2008-12-09 14:52:12 +00:00
aarne
a6097ccee6 started PGF editor 2008-12-08 17:15:36 +00:00
aarne
e009048e08 removed dependencies of Zipper and editor in GF grammar compiler 2008-12-08 14:25:11 +00:00
aarne
75ecc5f97b preperations for Val of params 2008-12-08 12:49:03 +00:00
aarne
de8bea8d69 data structures for param values with number, preparing optimized pattern matching in grammar compilation 2008-12-08 07:15:19 +00:00
krasimir
cbb495f5d9 remove GF.Source.SharedString from GF.cabal 2008-12-06 14:26:28 +00:00
bjorn
498466f8b2 Rename PGF Server cabal packages to pgf-server (was gf-server). 2008-12-05 19:10:51 +00:00
bjorn
934a5fc120 Added more functions to gf-server-jsapi.js 2008-12-05 19:08:58 +00:00
bjorn
91cc5f44c6 Update src/server/simple-client.html and gf-server-jsapi.js to work with current pgf server. 2008-12-05 19:00:20 +00:00
aarne
d38f56b025 fixed a Compute bug due to failure to match typed record values with untyped record patterns 2008-12-04 17:02:24 +00:00
aarne
896791e78c factored out RET in letter grammars 2008-12-04 15:20:47 +00:00
krasimir
7ed9e11bfb spotted wrong traslation in the Bulgarian dictonary. feather is feather not father 2008-12-04 14:19:29 +00:00
bjorn
e0572650b3 pgf server: return 1 result for /random without limit argument. 2008-12-04 13:54:43 +00:00
aarne
d8c2b34b8e the letter grammar set ported to GF 3 2008-12-04 13:55:35 +00:00
aarne
2440854310 accusative for Finnish numeral determiners 2008-12-03 16:23:54 +00:00
aarne
2f7fd8a597 bug fixes relevant for Bronzeage. NB Bulgarian can be compiled separately with old lib 2008-12-02 15:21:37 +00:00
aarne
90ca53d18a added slavic to some paths in Bulgaria, and Inanimate to one place in SymbolBul, to be able to compile them 2008-12-02 08:49:04 +00:00
aarne
d0a129dabc sibstantival det forms in scandinavian 2008-12-02 08:22:32 +00:00
aarne
947d22129f corrected BeschSpa.encontrar_38 2008-12-02 07:45:58 +00:00
bjorn
bf7d2ff90c Don't try to include Bulgarian in the bronzeage.pgf, since it seems to be missing from the repo. 2008-12-01 22:13:08 +00:00
bjorn
45df272fcd Get A2, married_A2 from Lexicon in parsing grammar, since OALS doesn't have any A2's. 2008-12-01 21:40:57 +00:00
bjorn
52a138d4f3 Copy OALD files after building parse grammar. 2008-12-01 21:40:33 +00:00
bjorn
b8893fc0b5 Remove more unused stuff from GF.Data.Operations. 2008-12-01 21:33:53 +00:00
bjorn
6728ef2dcf Fix URL of delete-last.png in fridge app. 2008-12-01 20:45:07 +00:00
aarne
3efc24bbea fixed the gender of French numeral "un" 2008-12-01 18:02:08 +00:00
krasimir
22112ca160 fix the inflection of computer in Bulgarian 2008-11-27 15:11:39 +00:00
krasimir
6470164446 category Art removed from Russian 2008-11-27 14:20:18 +00:00
krasimir
4af8cf3617 further refactoring in Russian 2008-11-27 14:08:50 +00:00
krasimir
7f81aa43af move lincat Subj, Prep to Slavic 2008-11-27 06:32:18 +00:00
bjorn
f50c4270ad Remove lots of old unused stuff from GF.Data.Operations. 2008-11-27 10:55:24 +00:00
bjorn
1145aefdbb More efficient implementation of topological sort.
Profiling the compilation of the OALD lexicon showed that 90-95% of the time was spent in topoSort. The old implementation was quadratic. Replaced this with O(E + V) implementation, in GF.Data.Relation. This gave a 10x speed-up (~ 25 sec instead of ~270 sec) for compiling ParseEng and OaldEng.
2008-11-27 10:29:29 +00:00
bjorn
a4e731cc33 Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data. 2008-11-27 08:43:08 +00:00
bjorn
a4f0d4f0d7 Remove ununsed GF.Source.SharedString module. 2008-11-27 08:36:18 +00:00
krasimir
c9c07f8e68 initial Slavic grammar, shared between Bulgarian and Russian 2008-11-26 21:21:23 +00:00
krasimir
b6c9aedd87 SubstForm in Russian is replaced with NForm like in Bulgarian and is used more widely 2008-11-26 19:38:51 +00:00
bjorn
720932d751 Don't use string sharing in LexGF.
Profiling showed that when loading a large .gfo file, shareString was responsible for
15-18% of the CPU time, and a lot of the allocation. Since we already use ByteStrings for 
reading the source files, shareString mostly has the effect of creating lots 
of small ByteStrings instead of one large one. Since the plain size of the .gfo is seldom
a problem (unlike when it was read as a String), it is ok to keep the whole file 
as one ByteString in RAM, and have all tokens point into that.
Profiling after the change showed 15-20% reduction in CPU time and in total allocation.
2008-11-26 16:19:54 +00:00
bjorn
5dee98234e My profiling showed that the BinTree operations were responsible for about 60% of the CPU time when reading a large .gfo file. Replacing BinTree by Data.Map reduced this to about 6%, which meant about 50% reduction in total CPU time. 2008-11-26 15:44:22 +00:00
bjorn
260e13146e Get 'make prof' working with GHC 6.8 2008-11-26 14:56:46 +00:00
bjorn
3c47226549 Use OALD in ParseEng. 2008-11-26 14:56:34 +00:00
bjorn
a61a6d5d43 OALD: split lexicon into two: one for open classes and one for closed classes. 2008-11-26 14:35:35 +00:00
krasimir
d0116c3958 add Russian in next-lib 2008-11-26 14:43:05 +00:00
bjorn
66785b2020 Added generated OALD files (Oald.gf and OaldEng.gf) to repo. 2008-11-26 14:17:55 +00:00
bjorn
a8f0dc0cb2 Added original OALD files to repo. 2008-11-26 14:17:35 +00:00
bjorn
e651a7bceb OALD: More info in generated header. 2008-11-26 14:17:16 +00:00
bjorn
335394de6a OALD: clean up asc2gf script. 2008-11-26 14:00:10 +00:00
bjorn
6e14352501 OALD: remove * and add comment for guessed irregular noun plural forms. 2008-11-26 13:38:34 +00:00
bjorn
c66f94b06c OALD: Use verbs from IrregEng when possible. 2008-11-26 13:33:53 +00:00
bjorn
f0ab94825f Added ParadigmsEng.mkV : Str -> V -> V, which adds a prefix to an existing verb. 2008-11-26 13:33:22 +00:00
bjorn
3d1bebbd32 First working version of OALD dictionary conversion. Still missing: irregular verbs, irregular nouns, better handling of singular- and plural-only nouns. 2008-11-25 20:09:50 +00:00
bjorn
450a34f2d8 Added ParadigmsEng.mkConj. 2008-11-25 19:53:22 +00:00
bjorn
fbf266372a First version of OALD alsmost working. 2008-11-25 14:50:16 +00:00
krasimir
511c7eaa48 add preposition "na" when the case is dative (QuestionBul) 2008-11-24 13:27:33 +00:00
krasimir
d34cc4671e replace spec with qform 2008-11-24 12:55:17 +00:00
krasimir
1e7c4be787 replace latin 'a' with cyrillic 'a' 2008-11-24 12:53:57 +00:00
aarne
594ed22b4e links in demo.txt 2008-11-21 17:12:34 +00:00
aarne
82484f5586 links to demos 2008-11-21 17:10:02 +00:00
bjorn
59ff172b7d Started working on oald2gf script. 2008-11-21 16:50:07 +00:00
bjorn
b047a99a84 Added CompCN to ParseEng. Perhaps this should move to NounEng. 2008-11-21 12:33:56 +00:00
bringert
289618b81f lighttpd conf tweak. 2008-11-20 16:49:12 +00:00
bjorn
93ab59dd58 pgf.fcgi: don't install any signal handlers. Since we didn't look at the variable they set, we just created zombies. 2008-11-20 15:00:53 +00:00
bjorn
b56a06fdda gwt: rearragne html files and paths to get nicer URLs. 2008-11-20 14:06:06 +00:00
bjorn
61507730e8 Added CAdvNP and CAdvSSlash to ParseEng. Maybe they should go in Noun.gf instead? 2008-11-20 10:32:15 +00:00
bjorn
7dbaae50a9 Fix permissions of pgf server error log. 2008-11-20 09:52:18 +00:00
bjorn
3195979031 gf-server lighttpd.conf: put fcgi socket in basedir, with PID in name. This helps avoid clashed when running muyltiple gf servers on the same machine. 2008-11-20 08:56:17 +00:00
bringert
9167185d21 Include MachDeps.h in Data/Binary.hs, since it uses WORD_SIZE_IN_BITS. Without this, the Binary Word instance would be wrong on 64-bit machines. 2008-11-19 20:30:57 +00:00
bjorn
86878c0cf4 Updated CompatibilityEng to compile with case-inflected Num and Ord. 2008-11-19 14:28:50 +00:00
bjorn
9d1d7dd3c8 Fix good_A in BigLexEng. 2008-11-19 13:57:42 +00:00
bringert
57fbca2133 Merge SyntaxEng.mkOrd and ParadigmsEng.mkOrd in TryEng. 2008-11-19 14:16:28 +00:00
bjorn
76f299b93a Updated ParseEng for case-inflected Num. 2008-11-19 13:15:36 +00:00
bjorn
0c538bf80b Added case inflection to English numerals and adjectives, in order to get genitive forms of stand-alone determiners that use Num or Ord right. 2008-11-19 13:11:45 +00:00
aarne
288ffd290a restored "?" as system pipe command 2008-11-18 15:31:30 +00:00
bjorn
bd1417e21a Added overloaded mkQuant to ParadigmsEng. 2008-11-18 15:30:53 +00:00
bjorn
f3f29a4683 The stand-alone form of no_Quant should be "none", not "no". 2008-11-18 15:20:40 +00:00
bjorn
7a7f3247b1 Remove "at least" and "at most" from parsing grammar, since they are now in structural. 2008-11-18 15:20:14 +00:00
bjorn
27168a053d Remove no_Det, nobody_NP and nothing_NP from the parsing grammar, sicne they are now in Structural. 2008-11-18 12:38:03 +00:00
aarne
f1a68a3ca6 fixed a bug with type checking function types 2008-11-18 10:58:50 +00:00
peb
7babe205e8 Fix in Prolog output of the atom "'" 2008-11-17 13:33:53 +00:00
aarne
5f2ab183ae updated demo page and summer school 2008-11-18 10:00:43 +00:00
aarne
cef4793ced new version of summerschool announcement 2008-11-17 17:58:11 +00:00
aarne
f30560efcc Attempto complete up to spec 2008-11-15 20:08:09 +00:00
aarne
373b4d6828 PP lists in Attempto via iteration 2008-11-15 17:20:38 +00:00
aarne
79c9ec116a new CAdv type in Dan and Nor 2008-11-15 11:24:22 +00:00
aarne
3ff57f6184 comparative adverbs generalized to cover more of Attempto 2008-11-15 11:19:10 +00:00
aarne
6b4f9715e6 attempto almost complete to spec now 2008-11-14 17:39:05 +00:00
aarne
d5fa908250 rules for constructing structural words (separate from Paradigms - is this desirable?) 2008-11-14 17:32:34 +00:00
aarne
f2a5937120 added ConjRS and things needed for it 2008-11-14 15:42:09 +00:00
aarne
e1662cd851 Attempto lexicon bug fixes 2008-11-14 12:51:14 +00:00
bjorn
bc7cb25a09 gwt: fix gf-gwt.jar compilation to use the dnd jar 2008-11-11 22:13:12 +00:00
bjorn
1a6d90ff66 Frdige: hide magnet bag when empty. 2008-11-11 12:44:59 +00:00
bjorn
a9d870d76a make food.pgf in src/server from resource-foods 2008-11-11 12:26:00 +00:00
bjorn
18e80ce5de Towards better layout of Fridge app. 2008-11-11 11:00:33 +00:00
aarne
a5300ad062 tutorial complete with server and js 2008-11-11 10:28:32 +00:00
aarne
db18350b1e fixed some tutorial grammars and updated embedded section (JavaScript and web TODO) 2008-11-11 09:21:59 +00:00
aarne
ca59050abc print "no trees found" in GF shell if an empty tree list is returned by p or pt 2008-11-10 16:23:09 +00:00
aarne
821fbe7ddb updated tutorial html 2008-11-10 15:57:29 +00:00
aarne
d9ff5aa48c lexer documentation in help and tutorial updated 2008-11-10 15:53:38 +00:00
aarne
7e82e4a710 updated tutorial up to lexers ; fixed lexcode in GF (was wrong due to a typo) 2008-11-10 10:59:13 +00:00
bjorn
c6968b626c SRG generation: renameCats now gives new names to all cates used in the grammar, on RHS or LHS. This avoids a crash in non-recursive SRGS generation. The crash happend becase the bottom-up filter has not yet been done when renameCats is called. 2008-11-09 14:27:34 +00:00
bjorn
a24fab7873 Fixed PGF file overwriting issue reported by Peter, by refusing to overwrite any of the input pgf files. Maybe the right fix would be to read the PGF strictly? 2008-11-09 13:58:28 +00:00
bjorn
d9ef4d7e01 Nicer brushed metal background. 2008-11-08 20:09:24 +00:00
aarne
cbec29962e corrections in Attempto grammars 2008-11-08 09:38:32 +00:00
bjorn
4e921573f4 Symbolic.symb: overload versions with Quant instead of Det. 2008-11-07 16:15:53 +00:00
bjorn
f0eed5cd69 Added variants of Symbolic.symb that take Numeral instead of Card. 2008-11-07 14:30:32 +00:00
aarne
403a539dc1 one more word in German corrected 2008-11-07 16:24:00 +00:00
aarne
03ffe34dbb bug fixes in German lexicon 2008-11-07 16:16:06 +00:00
krasimir
c82fa213ac add TTAnt in CatBul 2008-11-07 09:41:59 +00:00
krasimir
4a1bfac84b add SymbolBul, SymbolicBul, CompatibilityBul 2008-11-07 09:41:04 +00:00
bjorn
e2de6a8555 More work on IE 6 bugs. 2008-11-07 09:55:56 +00:00
bjorn
818d9bc122 Fridge: don't carch on start-up in IE6. 2008-11-07 09:07:58 +00:00
bjorn
1ab8dbbd6a Added IE6-only testing module for FridgeApp. 2008-11-07 08:56:19 +00:00
bjorn
654f0b968f Fridge: Added Delete Last button. 2008-11-06 14:31:06 +00:00
bjorn
0d29ad9a6a The PGF GWT module needs to inherit the DnD stuff. 2008-11-06 14:24:38 +00:00
bjorn
f866b07f68 Fridge: prefix panel layout tweak. 2008-11-06 14:13:24 +00:00
bjorn
14ea149c7f Fridge: show initial letters in magnet bag when needed. 2008-11-06 14:11:32 +00:00
bjorn
68ee5c15a1 Fridge: minor refactoring. 2008-11-06 13:47:40 +00:00
bjorn
637bdfdb93 Fridge: allow clicks in addition to drag and drop. Don't remove magnets when dnd-ing. 2008-11-06 13:42:16 +00:00
bjorn
58bd23759f Use drag and drop in Fridge app. 2008-11-06 10:15:38 +00:00
bjorn
3f092a5c7a Brushed metal look for fridge app. 2008-11-05 21:03:23 +00:00
aarne
d907e644cd German Bronzeage ; two fixes in Italian 2008-11-06 09:55:36 +00:00
aarne
53e84610f1 Scandinavian indefinite modified form fix 2008-11-05 22:00:08 +00:00
aarne
bd6fb074aa bug fixes in Finnish 2008-11-05 19:28:14 +00:00
bjorn
5f78c8fa67 Make fridge magnets look more like magnets. 2008-11-05 16:47:52 +00:00
bjorn
29ad828b9d GWT: big refactoring of the translator and fridge apps. 2008-11-05 16:36:52 +00:00
aarne
f7aed275d3 distinguished know_VS and know_V2 in Lexicon; patched Italian imperatives (not quite finished yet) 2008-11-05 10:22:09 +00:00
aarne
a629d30958 slight modifs in Bronzeage, adapted to next-lib 2008-11-05 10:21:28 +00:00
aarne
6d83ada3eb URL for gwt in README corrected 2008-11-04 15:23:25 +00:00
bjorn
cf079aa6e4 Get Fridge to compile with changes in Translate. 2008-11-04 14:12:37 +00:00
bjorn
13042d7dac Forgotten record in src/server/Makefile. 2008-11-04 13:57:27 +00:00
bjorn
84aebb8ab8 Added GWT compile instructions to src/server/README. 2008-11-04 13:32:44 +00:00
bjorn
c5bc06c36d GWT: changed input na doutput language boxes to not pretend that they allow multiple selections. 2008-11-04 10:44:23 +00:00
bjorn
f1fcee964f pgf-server: write stderr to pgf-error.log, since lighttpd closes stderr for fastcgi processes. 2008-11-04 09:28:21 +00:00
bjorn
a6905d654d Use next-lib when building example PGFs in src/server 2008-11-04 09:10:50 +00:00
bjorn
748c695009 Added /random to pgf-server. 2008-11-04 09:09:22 +00:00
bjorn
3a6466ac1a Fix GWT client-side completion caching bug. Typing a space and then a letter quickly would cause the first request to be cancelled, and the second would use the two steps old results, which didn't go past the space => 0 completions. 2008-11-03 21:07:53 +00:00
aarne
d6f09a941f some tutorial updates ; new structural words Italian and Finnish 2008-11-03 17:22:21 +00:00
aarne
9ecc663d00 structural words needed for Attempto ; negative items are overgenerating 2008-11-03 16:52:54 +00:00
aarne
44ad7596b6 missing constructions in Attempto grammars added 2008-11-03 16:51:43 +00:00
bjorn
bf50b5d70d Added first version of the fridge poetry gui 2008-11-03 16:43:47 +00:00
bjorn
07a0e8fe86 gf-server: complete noew sorts case-insensitive 2008-11-03 16:43:19 +00:00
bjorn
ed05fc771c GWT: Refactor TranslateApp to make the suggestion panel and the settings panel separate classes. This makes it possible to reuse them in mosg and fridge. 2008-11-03 14:42:49 +00:00
bjorn
770135af5f ParseEng: more liberal IdRP 2008-11-03 13:00:35 +00:00
bjorn
dfd2adad09 Added 'parse' target to Make.hs. 2008-11-03 12:29:28 +00:00
bjorn
759d648de9 ParseEng: StrandRelSlash as variant of RelSlash. 2008-11-03 12:28:40 +00:00
aarne
0c1f5cf9f2 fixed some spurious errors in romance 2008-10-31 14:39:47 +00:00
bjorn
88fa05749b ParseEng: ise CompleBareVS as variant of ComplVS 2008-10-31 11:04:22 +00:00
bjorn
5f59b091a0 Use BigLexEng in ParseEng. 2008-10-31 10:58:21 +00:00
bjorn
531cdf355d BigLexEng: use mkV3 instead of dirdirV3 2008-10-31 10:54:39 +00:00
bjorn
ef19c479a2 BigLexEng: drop superfluous parantheses. 2008-10-31 10:51:33 +00:00
bjorn
ddcd92d8fe BigLexEng: better use of mkV3, mkV2, mkN2. 2008-10-31 10:47:28 +00:00
bjorn
d5b8e459ba ParadigmsEng: more versions of mkV2 and mkV3. 2008-10-31 10:43:13 +00:00
bjorn
229f2569dc BigLexEng: Get rid of the last mkV2 with empty second argument. 2008-10-31 10:34:59 +00:00
bjorn
b3e4bf7a36 igLexEng: Use mkV2 : Str -> V2 instead of mkV2 (mkV "...") 2008-10-31 10:32:47 +00:00
bjorn
026086c1e9 BigLexEng: Use one-argument mkV2 instead of two-argument one with empty prep. 2008-10-31 10:28:54 +00:00
bjorn
03d687fad3 Update BigLexEng to use overloaded paradigms. 2008-10-31 10:26:17 +00:00
bjorn
c14baecf51 ParadigmsEng: more overloaded version of mkA2, mkV2, mkV3, mkN2. Added mkSubj. 2008-10-31 10:19:44 +00:00
bjorn
b4a433bd31 LexiconEng: Lexicon.sister_N is N, not N2 (but it probably should be). 2008-10-31 10:05:59 +00:00
bjorn
f33d9e169c Added BigLexEng from mosg (originally from GF/example) to next-lib/parsing. 2008-10-31 09:26:38 +00:00
bjorn
6fcfe5d7b7 Added Pol argument to ExtraEng.Unc* to give them the same signatures as the standard (contracted) versions. This makes it easier to use Unc* as a variant without getting meta-variables when parsing, 2008-10-31 09:22:09 +00:00
aarne
b49a021608 refactored romance VP. Now it is possible to parse with Spanish and Catalan; for the rest, some Slash rules still pose a problem. Some clitic and agreement things unfinished. All this in next-lib only; resource 1.4 untouched 2008-10-30 20:38:51 +00:00
krasimir
12338243c5 bulgarian in next-lib 2008-10-30 18:04:09 +00:00
bjorn
09177428d3 Started working on a parsing grammar. English-only so far. 2008-10-30 16:53:26 +00:00
bjorn
e64d5a8bb0 Removed "that" variant in RelativeEng.IdRP. Added instead that_RP in ExtraEng[Abs]. 2008-10-30 15:06:34 +00:00
bjorn
bed2d9068e More English morphology clean-up. 2008-10-30 14:37:54 +00:00
bjorn
9e26b4f852 Remove lots of dead code from MorphoEng. 2008-10-30 14:21:46 +00:00
bjorn
a726630bb7 Added case parameter for stand-alone forms of determiners. I had to move mkPron from ResEng to MorphoEng, and mkQuant from StructuralEng to MorphoEng. I also removed the unused mkPronoun stuff from MorphoEng. 2008-10-30 14:09:27 +00:00
bjorn
d4d94f6c23 Towards cleaner english morphology: use mkPrep instead of ss in StructuralEng. 2008-10-30 14:08:21 +00:00
bjorn
0486f4cd37 Removed some unused (and strange) code from MorphoEng.
Why would you want a function that always returns the noun "dog"?
2008-10-30 13:10:29 +00:00
bjorn
5e711e7abc Include .gf file name in source parsing syntax error message. 2008-10-30 10:49:23 +00:00
bjorn
0c7ac1cc6f GWT lib and translator: added support for multiple pgf files. 2008-10-30 09:19:58 +00:00
bjorn
7c3021c2da gf-server: added a way to list the available pgf files 2008-10-29 20:45:18 +00:00
bjorn
55efa546a9 Rename MainFastCGI.hs to PGFService.hs. 2008-10-29 19:49:38 +00:00
bringert
9fab68709c Some lighttpd config fixes for the gwt translator. 2008-10-29 14:45:15 +00:00
bjorn
553d323495 GWT translator: fixed copy-paste bug where the from language was sent as both from and to language. 2008-10-29 14:30:20 +00:00
bringert
7f4ba6333c Better way of building gf-gwt.jar. 2008-10-29 14:02:58 +00:00
bringert
15314fda12 GWT: Some changes to compilation scripts to run on linux. 2008-10-29 13:55:00 +00:00
bjorn
856d401337 Changed UncNegX in ExtraEng to take a Temp rather than Tense and Ant arguments. 2008-10-29 13:27:04 +00:00
bjorn
03fb2af472 Remove superfluous RP argument to EmptyRelSlash. 2008-10-29 13:06:03 +00:00
bjorn
97e1f27a0c Replace PGF.Raw with PGF.Binary in the executable section of GF.cabal 2008-10-29 09:46:46 +00:00
aarne
79d3f7db86 smart consonant duplication in ParadigmsEng 2008-10-29 08:56:36 +00:00
krasimir
c3c834c79e even more compact binary representation. saldo < 19MB 2008-10-28 16:54:46 +00:00
krasimir
ee8a2738e2 Data.Binary should use Data.ByteString.copy when decoding ByteStrings 2008-10-28 16:43:00 +00:00
krasimir
adcf1a8c34 remove some traces that I left by incident 2008-10-28 16:31:30 +00:00
aarne
de9ed61a27 German Attempto - lots of words to check 2008-10-28 16:15:13 +00:00
krasimir
03d86ba05c remove some redundant imports of GF.Text.UTF8 2008-10-28 15:47:04 +00:00
krasimir
e6bb0a8eda forgot to add PGF.Binary 2008-10-28 15:40:10 +00:00
aarne
4448f92c23 notpresent flags in French auxiliaries 2008-10-28 15:33:57 +00:00
aarne
48dc5208b5 Attempto in French ; not correct for mode in "il n'est pas possible que..." etc 2008-10-28 15:33:02 +00:00
aarne
833752872b part of Attempto controlled language in English and Swedish 2008-10-28 14:05:55 +00:00
aarne
128809b7b8 fixes in next resource needed for Attempto 2008-10-28 14:05:11 +00:00
krasimir
ebd98056ce binary serialization for PGF 2008-10-28 13:57:10 +00:00
bjorn
8e43cfb8a8 GWT: better heuristics for when to ask the server for completions. 2008-10-28 12:59:00 +00:00
bjorn
1a34a24df0 GWT completion: only return request.getLimit() results to the SuggestBox. Re-request completions from the server if there is only one completion. 2008-10-28 12:37:52 +00:00
bjorn
50b2b453f3 Changed PGF.complete to include the given input if it can be parsed as a complete tree. 2008-10-28 12:28:46 +00:00
krasimir
f8331e5b4b define Read and Show instances for Expr and Tree 2008-10-28 12:22:34 +00:00
bjorn
8de7fa2678 GWT: Hold on to the previous suggestions, and try filtering them before asking the server. 2008-10-27 21:51:54 +00:00
bjorn
9457ebe0c3 GWT: added IterableJsArray.isEmpty(). 2008-10-27 10:18:21 +00:00
aarne
970e69add9 missing case in PGF generation 2008-10-27 09:24:33 +00:00
krasimir
3fed05e121 fix typo 2008-10-25 20:44:04 +00:00
krasimir
4104b83801 Windows fix: the default coding isn't utf8 but the current system codepage. The se command changes the codepage as well as the coding 2008-10-25 20:26:48 +00:00
krasimir
e816ae237a add cp1252. usefull for Swedish and German 2008-10-25 20:25:09 +00:00
krasimir
a06d2c6d50 extend the cp1251 coding to cover all cyrillic letters 2008-10-25 20:22:06 +00:00
bjorn
4cd3d6395b GWT: hide stale suggestions. 2008-10-24 14:22:19 +00:00
bjorn
d5678ee2de GWT code import tweak. 2008-10-24 14:00:24 +00:00
bjorn
a2503e3b0f More GWT refactoring. 2008-10-24 08:45:34 +00:00
bjorn
edaf206383 Added Eclipse project stuff for the GWT library. Some refactoring of the GWT code. 2008-10-23 11:51:52 +00:00
bjorn
8872b0b010 Added PGF.parse method to GWT client. 2008-10-22 19:59:43 +00:00
bjorn
7c914d39cb Some refactoring of the GWT translator. 2008-10-22 19:37:57 +00:00
krasimir
9ba3b739df fix the word completion in the shell 2008-10-22 11:27:01 +00:00
krasimir
bb007215ab fix a typo. It is option "-cat" not "-type" 2008-10-22 09:36:50 +00:00
bjorn
7a2ef0bb09 Make GWT compilation easier. 2008-10-22 13:29:57 +00:00
bjorn
245e1b3300 Remove compiled GWT stuff. 2008-10-22 13:28:33 +00:00
bjorn
ecf391ee87 gf-server: preliminary Ubuntu instructions 2008-10-22 12:36:13 +00:00
bjorn
4685919ac3 Recompiled GWT code. I should drop the compiled code from the repo soon, this is getting tedious. 2008-10-22 12:07:04 +00:00
bjorn
5dbace4cc2 Rename the GWT Translate module to PGF. Rename the GF class to PGF. 2008-10-22 12:05:59 +00:00
bjorn
2aa899a5ff Change GWT compilation scripts to make it easier to change the GWT dir location. 2008-10-22 11:19:12 +00:00
bjorn
dea941eea9 New compiled GWT stuff. 2008-10-22 09:37:06 +00:00
bjorn
acdcd57fa6 Reorganize GWT stuff into a reusable module and one application module. 2008-10-22 09:36:05 +00:00
krasimir
0606de738e efficient and nicer implementation for literal categories 2008-10-21 14:30:36 +00:00
bjorn
6633ae71f1 gf-server: move some general stuff to FastCGIUtils 2008-10-20 15:17:57 +00:00
krasimir
41fb72ca6f the literal categories were slowing down the parser 3 times. this is quick and dirty workaround until I find something cleverer. 2008-10-20 15:38:59 +00:00
bjorn
d327d9da6c Added --parser=ondemand flag. 2008-10-20 14:52:50 +00:00
bjorn
6b8c9dd4c9 Added PGF.Macros.mapConcretes 2008-10-20 14:51:42 +00:00
bjorn
05343e78a9 Added on-demand parser generation back in. It's pretty unproblematic, and can help with memory use in some cases. 2008-10-20 14:05:39 +00:00
bjorn
5cbc5aeb9d Added new generated GWT output. 2008-10-20 13:30:01 +00:00
bjorn
66397a454d Removed the flag icons from the GWT client. 2008-10-20 13:23:40 +00:00
bjorn
9b8f50534c Update gf-server instructions and configuration. 2008-10-20 12:56:08 +00:00
bjorn
cec2b61af0 Drop -beta2 from version in GF.cabal. It confuses cabal-install. 2008-10-20 12:49:18 +00:00
krasimir
399d1bb09a fixed typo in the Haddock documentation 2008-10-20 12:24:07 +00:00
bjorn
88eed35c18 Reorganize PGF export list to get easier to read haddock. 2008-10-20 12:10:42 +00:00
bjorn
617c707a77 Update gf-server to compile with changed PGF API. 2008-10-20 12:07:05 +00:00
bjorn
d41616dd6a Added Read and Show instances for CId. Also added readCId :: String -> Maybe CId, and use that for readLanguage. 2008-10-20 11:59:31 +00:00
bjorn
2174690c5e Added Read and Show instances for Type. This required moving some code around. 2008-10-20 11:36:17 +00:00
bjorn
a26290659d Replace Category with Type in the PGF API. Added readLanguage and showLanguage. 2008-10-20 11:35:05 +00:00
krasimir
3d92897a94 more test/srg to examples/test/srg 2008-10-20 11:11:59 +00:00
krasimir
6f7d0ab08d added parser test suite 2008-10-20 09:40:09 +00:00
bjorn
072f19212f Added 'run' target to gf-server Makefile. It compiles the server, and starts lighttpd. 2008-10-20 08:46:32 +00:00
bjorn
e6d7e5e97f Added compiled GWT code to repo. 2008-10-20 08:45:42 +00:00
bjorn
a11ccb9cd8 gf-server: New URL format: /grammar.pgf/command 2008-10-20 08:45:00 +00:00
bjorn
ee08605aee lighttpd.conf tweak 2008-10-20 08:43:23 +00:00
bjorn
d205011470 fastcgi: better grammar cache implementation: don't deadlock on exceptions 2008-10-20 08:24:01 +00:00
bjorn
0205f341f5 (fastcgi) replace DataRef with a more general Cache type, which can hold several PGF grammars. 2008-10-17 14:12:53 +00:00
krasimir
eb0fefec28 preparation for dep. types. The -cat option can take any type instead of just a category. The PGF API is generalized as well. 2008-10-20 08:42:39 +00:00
krasimir
96bea5a0bb export wildCId from PGF.hs 2008-10-20 07:56:32 +00:00
krasimir
abe8da32fd add parser and pretty printer for types 2008-10-20 07:52:14 +00:00
krasimir
418856d9bf move the literal category names to PGF.Macros 2008-10-19 14:21:58 +00:00
krasimir
9837fb8fb1 move PGF.Quiz to GF.Quiz. It is not part of the PGF API 2008-10-19 16:38:56 +00:00
bjorn
a6c4747b11 lighttpd.conf: use default server.event-handler = "select" 2008-10-17 12:57:52 +00:00
bjorn
48a031db98 gf-server-jsapi: clean up old callbacks 2008-10-17 12:57:34 +00:00
bjorn
feb3e84fb5 Don't include parsers for Ger, Dan, Nor in server/demo.pgf and server/lang.pgf 2008-10-17 12:41:48 +00:00
bjorn
411326de31 Fixed URL in gwt-client/Translate-shell-external to work with lighttpd 2008-10-17 12:41:19 +00:00
bjorn
0eaef4a5b5 Use JSON-P in gf-server-jsapi.js 2008-10-17 11:14:46 +00:00
bjorn
3df821efd7 Added JSON-P support to fastcgi server. 2008-10-17 10:49:34 +00:00
bjorn
1a098d3d7a Delete gf.fcgi in src/server/Makefile. 2008-10-17 10:05:29 +00:00
bjorn
44eeb7a0f7 A bunch of changes that make it easy to run the gf server with lighttpd 2008-10-16 13:39:09 +00:00
bjorn
f211fc10ca Multithreaded gf.fcgi. 2008-10-16 13:00:44 +00:00
bjorn
11ba8a6a17 server/makefile added test.pgf target. 2008-10-16 13:00:16 +00:00
bjorn
95278a947f Export list in GF.Compile.GetGrammar 2008-10-16 12:59:40 +00:00
bjorn
bb25c86ae5 Copy command-line flags to in-memory module when reading from a .gfo file. This maeans that command-line flags get put in the .pgf file. 2008-10-16 11:58:18 +00:00
bjorn
176dc3e730 In shell "p" command, only try languages that have a parser. 2008-10-16 11:33:09 +00:00
bjorn
b0351dc653 build pgf files in src/server with erasing parsing 2008-10-16 11:27:12 +00:00
bjorn
f0f4948f5b Allow giving .gfo files as gfc command-line arguments. 2008-10-16 10:33:23 +00:00
bjorn
d10c8bd20a Removed on-demand parser generation from the PGF interpreter. 2008-10-16 10:18:54 +00:00
bjorn
dc3f283344 Moved parser building in the PGF interpreter to PGF.hs from PGF/Raw/Convert.hs, in preparation for doing something more clever about it (e.g. looking at the parser flag). 2008-10-16 10:13:25 +00:00
bjorn
8726886298 A bit more verbosity when combining PGF files. Use putPointE when writing output files. 2008-10-16 10:12:57 +00:00
bjorn
d1633b98d0 Honor --erasing flag from command-line also when compiling existing .gfo to PGF. 2008-10-16 08:27:43 +00:00
bjorn
5422eb54d9 code tweak: use Map.findWithDefault in PGF.Macros.lookMap 2008-10-16 08:22:04 +00:00
aarne
856c31a64b restored the possibility to compile .cf files to gf 2008-10-15 15:08:38 +00:00
krasimir
adc6566cd3 high-order syntax in PMCFG 2008-10-15 14:58:00 +00:00
krasimir
be75baa4bf rename some variable names 2008-10-15 09:43:15 +00:00
bjorn
7676ab8e00 Copy command-line options to module flags when compiling to .gfo. 2008-10-15 14:24:23 +00:00
bjorn
849642e9dd Merge ModuleOptions and Options. 2008-10-15 11:55:18 +00:00
bjorn
1ecb4f63e9 Added OPTIONS class to make options handling somewhat nicer. Next, I will merge Flags and ModuleFlags. 2008-10-15 11:38:34 +00:00
jordi.saludes
60ba93cfbb for_Prep is 'para' in Spa. 2008-10-11 21:50:28 +00:00
krasimir
f438fbb294 rename emptyFRulesEnv to emptyGrammarEnv 2008-10-15 09:26:01 +00:00
bjorn
dc2d0f0df4 Added PGF.TypeCheck to .cabal. 2008-10-15 09:05:37 +00:00
krasimir
e36d70d483 threat category _Var as a literal category 2008-10-15 08:38:34 +00:00
krasimir
4fa3eb87cd generate metavariables in the tree extraction for PMCFG 2008-10-15 08:02:12 +00:00
krasimir
5f33e0bda9 store the total number of PMCFG categories in the PGF file 2008-10-15 07:47:57 +00:00
krasimir
57ee52103d literal categories in the incremental parser 2008-10-14 15:29:50 +00:00
aarne
e4dc63f665 rudimentary abstract syntax type checker and solver in PGF 2008-10-14 14:34:08 +00:00
krasimir
ec2d7e2299 pass the full Tokn type to the add function not just the KS string 2008-10-14 13:29:45 +00:00
aarne
a2e3b1ce73 moved paraphrases to examples/test/, meant for small grammars used for testing various aspects 2008-10-14 11:20:44 +00:00
aarne
a11f1b1437 paraphrase works a little better now ; added examples/paraphrase for testing 2008-10-14 11:19:30 +00:00
krasimir
3fe0cccaf7 remove trace in the PMCFG compilation 2008-10-14 09:40:55 +00:00
krasimir
4573d10442 the new optimized incremental parser and the common subexpression elimination optimization in PMCFG 2008-10-14 08:00:50 +00:00
krasimir
0c66ad597d register PGF.AbsCompute and PGF.Paraphrase in GF.cabal 2008-10-14 07:57:32 +00:00
krasimir
e054f9b063 remove GF.Source.ErrM from GF.cabal 2008-10-13 20:03:29 +00:00
aarne
54f8fd9ec1 added a paraphrase method applying def's in both directions, in subtrees, and step by step; doesn't work properly yet 2008-10-13 16:41:21 +00:00
aarne
fbc72e3230 added a note on refreshing variables in AbsCompute 2008-10-10 16:01:07 +00:00
aarne
4e795bab9b a first version of PGF.AbsCompute 2008-10-10 15:53:17 +00:00
aarne
917f417413 AdjOrd instance of mkAP 2008-10-10 12:26:09 +00:00
bjorn
88798b2a23 Added option to treat some categories as lexical when generating Haskell data types. 2008-10-10 11:55:12 +00:00
aarne
18aa48941c oops - forgot mkPresent as well 2008-10-08 08:35:51 +00:00
aarne
eba875c7d4 oops - had forgotten Makefile from next-lib 2008-10-08 08:28:39 +00:00
aarne
ab14205108 next-lib now compiles webalt ; removed subdir mathematical/ for simplicity 2008-10-06 15:27:14 +00:00
aarne
e765b97fc4 simplified 1.5 by removing mathematical/ 2008-10-06 12:49:13 +00:00
aarne
394050d9f7 added a command for tree operations and started a module for defining them 2008-10-05 19:49:26 +00:00
aarne
e88c7a28a7 adapted old AbsCompute for use with source GF terms 2008-10-05 18:01:42 +00:00
aarne
e20969ab5d prevent pgf from being empty when there are no concrete syntaxes 2008-10-05 15:44:16 +00:00
aarne
21aa3cfa17 forced checking def definitions; accept pgf with no concretes 2008-10-05 15:21:08 +00:00
aarne
24207d40e9 extended AP with Ord and compar in 1.5 2008-10-03 20:42:09 +00:00
aarne
27de3c0e7b print full types instead of lock field heuristics in overload resolution if the heuristic is misleading 2008-10-03 18:18:21 +00:00
aarne
4c08128503 return error on undefined opers in instance and resource 2008-10-03 16:16:45 +00:00
bjorn
5bc73e10bc Merge mine and aarne's variants linearization changes. 2008-10-03 09:53:25 +00:00
bjorn
59cb392bda Don't build FV terms if there is exactly one variant. 2008-10-03 08:18:24 +00:00
aarne
8290be0eb2 made variants checking symmetric for Ints m == Ints n in PGF.Check 2008-10-03 08:02:54 +00:00
aarne
759ee4f926 fixed the over-expansion of record variants in PGF.Linearize 2008-10-03 07:57:40 +00:00
bjorn
07b3870699 Fixed variants semantics in PGF linearization to expand make variants of argument lists, to get things like Auto/Wagen gender right. 2008-10-03 07:53:37 +00:00
bjorn
1e8699d159 Added | syntax for variants. 2008-10-03 07:35:26 +00:00
bjorn
b7fe4eacc9 Handle concatenations with variants in PGF.ShowLinearize, fixes http://trac.haskell.org/gf/ticket/23 2008-10-03 07:16:39 +00:00
bjorn
fa69bd8ab3 Regenerate source GF parser from GF.cf. Now, when GF/Source/Makefile is used, no hand-hacking is needed. 2008-10-02 14:11:41 +00:00
bjorn
9e501521b4 Added src/GF/Source/Makefile for regenerating the GF source parser from GF.cf. 2008-10-02 13:42:24 +00:00
bjorn
86a30ef992 Converted GF/Source/*.hs to Unix line endings, to be able to see what happens when I regenerated the files. 2008-10-02 13:23:54 +00:00
bjorn
8fb068df6a Fail more gracefully on unknown file name extensions. 2008-10-02 12:32:03 +00:00
aarne
6c6ff81109 small fixes in tutorial ; added txt source of the same 2008-10-01 16:07:09 +00:00
aarne
429092ac6a added mode 'gf --run' for running silently a script ; made quizzes handle character encoding correctly ; for this end, collected coding functions in GF.Text.Coding 2008-10-01 16:01:51 +00:00
aarne
307042a6a1 refreshed the tutorial 2008-10-01 13:13:10 +00:00
aarne
8fbdf3e57c Italian "quello" corrected 2008-10-01 12:11:29 +00:00
aarne
c2d41e70be download page for beta2 ; link to JEM demo 2008-10-01 09:20:36 +00:00
aarne
08110bf103 more work with Parametric 2008-09-30 20:21:33 +00:00
aarne
e9d67dbd2d started experiment on parametrizing more of RG definition 2008-09-30 14:16:39 +00:00
bjorn
203430ae6d Use parantheses for precedence in pgf-pretty lincats. 2008-09-30 12:02:58 +00:00
bjorn
446aa1b5db Added --cfg option for specifying which CFG transformations to use. Added startcatonly CFG trasnformation. Removed output formats that are now easily done with --cfg: "regular", "nolr". 2008-09-30 11:52:11 +00:00
bjorn
794fbd4a41 Fixed CFG start cats for categories with more than one constituent. 2008-09-30 10:53:36 +00:00
bjorn
3ca6c605b0 Use filtering in regular printer. 2008-09-30 09:39:09 +00:00
bjorn
41c95825f3 SRG conversion: print CFG when a unknown cat is found in renameCats. Do filtering in ebnf printer. 2008-09-30 09:32:16 +00:00
bjorn
8716e48c21 pgf-pretty: remove single field record lincat hack. handle f "" (S []) correctly. 2008-09-30 09:31:31 +00:00
bjorn
664bebf5ce Some pgf-pretty fixes, including note by Peter about W "apa" (S []). 2008-09-30 07:24:01 +00:00
peb
b5ae83f899 Changes to the prolog output format 2008-09-25 07:32:39 +00:00
bjorn
ba321be3ff Added pgf-pretty output-format 2008-09-26 15:21:32 +00:00
bjorn
0f4e8468be Added isLiteralCat function to PGF.Macros. 2008-09-26 15:04:13 +00:00
bjorn
804232aebc Added 'complete' function to the PGF API. This is a higher-level API to the completion functionality. 2008-09-26 13:17:21 +00:00
bjorn
b0dde31f00 Added semantic interpretation tag printing to the *bnf grammar printers. 2008-09-26 12:57:20 +00:00
bjorn
2f3b7d1c55 Use ebnf format for "regular" output-format. 2008-09-26 10:20:18 +00:00
bjorn
7a81b559fe Changed nolr printer to use EBNF format. 2008-09-26 10:03:42 +00:00
bjorn
a372357adc ebnf printer: print external cats first. 2008-09-26 09:58:57 +00:00
bjorn
86e94e3b1b bnf and ebnf printer: align ::= symbols. 2008-09-26 09:54:09 +00:00
bjorn
a4ded76aa3 SRG category renaming: don't count the external cats when calculating indices. 2008-09-26 09:44:02 +00:00
bjorn
d1a2cdb948 Changed SRG category renaming to use GF cat + index among CFG cats for that GF cat, instead of the old Concrete syntax name + index among all CFG cats. 2008-09-26 09:39:48 +00:00
bjorn
65f302bb84 Oops, I accidentally disabled all CFG simplification and LR-removal with the ENBF printing patch. 2008-09-26 09:39:04 +00:00
bjorn
1bcffdce30 Change category naming in CFG generation: the number now starts from 1 for each GF category, instead of being the FCFG category number. 2008-09-26 09:28:03 +00:00
bjorn
92c76a6265 Added --output-format=ebnf. 2008-09-26 09:20:39 +00:00
bjorn
8fa99886b3 In CFG generation: don't add linrow number if the lincat has only a single constituent. 2008-09-26 09:06:52 +00:00
bjorn
b114cfda77 Added --output-format=nolr. Minor makeRegular refactoring. 2008-09-25 13:41:07 +00:00
bjorn
13191ac155 Added --output-format=regular. 2008-09-25 11:49:00 +00:00
bjorn
7a5e2a15bd Fixe copy-paste error: srgs_abnf_nonrec produced xml, fixed now. 2008-09-25 11:36:04 +00:00
bjorn
cc7173a034 Somewhat nicer FCFG output format. 2008-09-25 08:44:23 +00:00
bjorn
cdc647e788 Added an FCFG output format (--output-format=fcfg). This now lives in GF.Speech.PGFToCFG, but should probably move somewhere else. 2008-09-25 08:41:49 +00:00
aarne
db15fe74be ParadigmsCat in next-lib updated 2008-09-24 08:52:49 +00:00
bjorn
34c5617ef6 Got SRGS ABNF generation to compile. 2008-09-23 12:56:25 +00:00
bjorn
75df5cf443 Added srgs_abnf_nonrec grammar printer to GF.Infra.Options. 2008-09-23 12:44:17 +00:00
bjorn
e5779fc594 Re-added old PrSRGS_ABNF (does not compile yet). 2008-09-23 12:41:44 +00:00
aarne
ffb5b00748 started Telugu in next-lib 2008-09-23 09:52:10 +00:00
aarne
47abd5327d use hex in transliteration table 2008-09-23 09:04:03 +00:00
aarne
cbde244ac1 Telugu transliteration 2008-09-23 08:49:58 +00:00
aarne
9470a689c9 updated HOWTO to the new place of next resource 2008-09-22 12:28:07 +00:00
aarne
766852a64c adapted German to 1.5 2008-09-22 12:24:28 +00:00
aarne
69b96e87ee updated next-resource/src/catalan/Lexicon and Paradigms to Jordi's patches in 1.4 2008-09-22 11:55:27 +00:00
aarne
98665df78b moved lib/next-resource to next-lib/src, to enable linking with next-lib as value of GF_LIB_PATH 2008-09-22 11:49:15 +00:00
bjorn
4862018f14 GWT: somewhat nicer iterable() hack. 2008-09-22 10:11:15 +00:00
bjorn
0031276944 Added iterable() method for nicer iteration through GF method results. (GWT) 2008-09-21 20:37:27 +00:00
aarne
e6f5033bc5 adapted Hindi to next-resource 2008-09-20 14:40:18 +00:00
aarne
7215dc71ff new resource-howto 2008-09-20 08:51:39 +00:00
bjorn
e9f915ba9c Fixed gf-morpho-server.cabal name typo. Added basic README for morpho server. 2008-09-18 20:12:01 +00:00
bjorn
0fdf2ceea2 GWT: disable translation until the language info has been loaded from the server, 2008-09-17 13:25:08 +00:00
bjorn
6fab2a64f4 GWT: update to use new /grammar resource. Select from language based on Accept-Language header. 2008-09-17 13:04:10 +00:00
bjorn
c99ce1fd0d fastcgi: rename /info to /grammar 2008-09-17 12:42:05 +00:00
bjorn
db6ff30694 fastcgi: replace /categories, /languages and /mylanguage with /info. 2008-09-17 12:37:34 +00:00
bjorn
417ada31f5 fastcgi server: add /mylanguage resource, which selects the language that best matches the Accept-language header. 2008-09-17 12:22:17 +00:00
bjorn
50e600763f GWT: comment out flag icon stuff in CSS. 2008-09-17 11:40:35 +00:00
bjorn
b06039634e Towards looking at the locale for default language. Added flag icons. 2008-09-17 10:12:36 +00:00
krasimir
a663eda269 build parsers on demand if they aren't in the PGF file 2008-09-16 15:35:15 +00:00
krasimir
647f7661c2 fix the segmentation fault with Swedish 2008-09-16 15:11:06 +00:00
bjorn
5c2eae8abd Better error handling in GWT UI. 2008-09-16 13:53:07 +00:00
aarne
c09783e604 restored the summer school and Resource-HOWTO documents 2008-09-16 08:01:47 +00:00
aarne
e112fd188f JEM tutorial examples - some files missing still 2008-09-15 15:28:47 +00:00
bjorn
117b38e47f GWT client: set Accept header to get plain text error messages, 2008-09-15 15:43:37 +00:00
bjorn
c72df9914e Added loading popup to gwt ui 2008-09-15 15:27:33 +00:00
bjorn
6fce3054e3 fastcgi server: decode UTF-8 inputs produced by the gwt client 2008-09-15 15:20:15 +00:00
bjorn
b6635b200f gwt installball should not contain gf.fcgi 2008-09-15 14:40:05 +00:00
bjorn
ce50458877 GWT: only allow a single compeltion request at a time. 2008-09-15 14:39:25 +00:00
bjorn
6edca9983a Use abs path for gf.fcgi in gwt client. 2008-09-15 14:16:56 +00:00
bjorn
eb15d88404 Fixes to the GWT UI to be able to run it on other machines (still some hardcoded paths in the compilation). 2008-09-15 13:49:55 +00:00
bjorn
aecf9597eb Added partial word completion to fastcgi server and update GWT UI accordingly. 2008-09-15 13:33:40 +00:00
bjorn
3a7888e660 A somewhat better solution to the words/UTF-8 problem: do encoding last, but only on what appears to be string literals. 2008-09-15 13:16:04 +00:00
bjorn
dbb0f3f3e4 Temporary fix for the grave accent a encoding problem: change compatPrint to id.
The problem is that lower case a with a grave accent is coded in UTF-8 as \195\160. 
Unicode character \160 is non-breaking space, so Haskell's words function
will break a UTF-8 encoded string at this character.
String literals in the .gfo file are UTF-8 encoded in generateModuleCode,
just before the call to prGrammar (which uses compactPrint, which used words).
The real solution would be to pretty-print the grammar to Unicode, and then
encode as UTF-8. The problem with that is Latin-1 identifers. They are now
kept in Latin-1 in the .gfo file, since Alex can't handle Unicode.
The real solution to that would be to fix Alex to handle Unicode, but 
that is non-trivial. GHC interally uses a very hacky .x file to be
able to lex UTF-8 source files. 

An alternative solution that doesn't address the weirdness of using two different
encodings in the same .gfo as we do now, is to incorporate compactPrint
into the grammar printer, to avoid having to do any postprocessing.
2008-09-15 12:38:37 +00:00
aarne
a6345877f8 completing resource api with things needed in WebALT 2008-09-12 22:31:13 +00:00
bjorn
becdc147d2 Somewhat nicer gwt client ui style. 2008-09-12 21:07:14 +00:00
bjorn
426b4e8a5b GWT client now has the same func 2008-09-12 11:47:41 +00:00
bjorn
e290d744e4 server: changes lang field to name 2008-09-12 11:32:30 +00:00
bjorn
24d82d5a48 Update gf-client.html with new gf.fcgi output types. 2008-09-12 11:14:02 +00:00
bjorn
a7bf88fb32 Change JSON structures returned by the translation server to always be arrays of objects. 2008-09-12 11:05:38 +00:00
bjorn
1a320db136 translation server: added limit argument to /complete. 2008-09-12 10:13:16 +00:00
bjorn
45331ffa9c Started working on Google Web Toolkit version of translation server ui. 2008-09-12 10:03:12 +00:00
bjorn
92ffc5072a Fix binary-dist to include gfc and exclude compiled grammars, since the latter didn't work anyway. NOTE: you must re-run autoconf (actually the previous patch is the one that requires this). 2008-09-11 08:35:17 +00:00
bjorn
8a0e9077ce Remove old editor shell script and configure stuff. 2008-09-11 08:30:29 +00:00
bjorn
a66913b00a Change version number in configure.ac to 3.0-beta2 too. 2008-09-10 12:48:34 +00:00
bjorn
72b11abe72 Added temporary completions button to AJAX translation UI. 2008-09-10 11:57:00 +00:00
bjorn
d6e20ca0bc Note about deleting /tmp/fcgi_ipc 2008-09-10 11:55:10 +00:00
bjorn
7208ead223 missing sudo in erver README 2008-09-10 11:52:45 +00:00
krasimir
1e2f027d18 bump version number to beta2 2008-09-10 09:59:50 +00:00
krasimir
c4c1f6d076 print the search path when we can't find a module 2008-09-10 08:55:16 +00:00
bjorn
5210d1745c mod_fastcgi installation instructions in src/server/README 2008-09-10 08:44:18 +00:00
bjorn
6e6efb14f7 Note that Apache must be restarted after config changes. 2008-09-10 08:19:50 +00:00
bjorn
b9066feacc Fix type error in fastcgi server.
I forgot to fix this after I copied the modified FastCGIUtils from morpho-server.
2008-09-10 07:09:44 +00:00
aarne
e7106b6181 better error msg for missing record labels 2008-09-09 19:43:33 +00:00
aarne
1bd799d006 completed IdiomCat to compile api and math 2008-09-09 16:11:05 +00:00
aarne
8cde25475b missing case in param lookup table in GrammartoGFCC 2008-09-09 15:33:56 +00:00
aarne
bc6b91799a debug information in GrammarToGFCC 2008-09-09 14:04:37 +00:00
bjorn
e566530c4a More info in src/server/README. 2008-09-09 12:38:45 +00:00
bjorn
6eae3fcf68 Disable translation on every keystroke, and completion, in the gf FastCGI AJAX client, since it can be too slow. 2008-09-09 12:19:28 +00:00
aarne
033da07c39 show "error" in run interruptibly mode in GFI 2008-09-09 06:58:38 +00:00
aarne
63a706b109 enable matching of ++ strings with regular patterns 2008-09-09 06:36:36 +00:00
aarne
bdcfcda786 capitals in lextext and unlextext; notice that a sentence starting with a proper name now gets lexed with a small letter if lextext is used 2008-09-05 09:21:48 +00:00
aarne
b3803424ff convert all values in shell pipes to strings 2008-09-04 09:03:02 +00:00
bjorn
207ddc4cb6 Added --haskell-prefix option for changing the constructor prefix in generated Haskell modules. 2008-09-03 15:42:11 +00:00
peb
74826158cb new PGF output format: prolog syntax
* output a PGF grammar in prolog readable syntax
* variables in abstract syntax (hypotheses and lambda-abstractions) 
  are translated to unique logical variables
* PGF terms in concrete syntax are translated to more prolog-like terms
2008-09-03 09:04:09 +00:00
aarne
cf00c0c2a9 treatment of Int: not always PredefAbs but can be PredefCnc 2008-09-03 09:33:37 +00:00
bjorn
d1ebdf8154 gf-server: the readData function given to getData should be m a, not IO a. 2008-08-24 20:44:30 +00:00
bjorn
b3ab690ddd First (hacky) working version of FastCGI JSON morphology server. 2008-08-24 19:31:12 +00:00
bjorn
a8f0546574 Move CGIError stuff to FastCGIUtils. 2008-08-24 19:12:44 +00:00
bjorn
5c0487200f URL decode text input in fastcgi server, including %uXXXX sequences. 2008-08-24 17:39:24 +00:00
bjorn
23a6375ced Completed SISR 1.0 support (untested). 2008-08-24 14:53:21 +00:00
bjorn
a415c83319 Export modifyFlags and modifyModuleFlags from GF.Infra.Options. 2008-08-24 14:52:49 +00:00
bjorn
cc2442bec4 Re-enable Catalan in the server demo grammar. 2008-08-24 10:19:44 +00:00
aarne
ec9a04467d updated gf-bibliography 2008-08-23 16:34:42 +00:00
aarne
ed06f631e9 removed repeated CPU time printing in GFI 2008-08-23 15:35:39 +00:00
aarne
3d22963267 infForm added to Catalan ; debugging alternative in PGF generation 2008-08-23 14:26:34 +00:00
bjorn
90d41b4f4e Added target for building translation server grammar for LangX. 2008-08-23 10:33:16 +00:00
bjorn
8cf0d654ba Added README with build instructions for the fastcgi server. 2008-08-22 13:16:31 +00:00
bjorn
c345a087bb Don't include DemoCat in server example grammar, since some parts are missing. 2008-08-22 13:15:51 +00:00
bjorn
52af19bd64 UTF8 encode all generated XML. 2008-08-22 09:47:42 +00:00
bjorn
b6785df0d2 In GF.Compile.Export, output file name extensions should not have double dots. 2008-08-22 09:27:44 +00:00
bjorn
a76a118ec9 Renamed the gf3 executable to gf in GF.cabal 2008-08-22 08:45:40 +00:00
bjorn
cb98536de1 Added srgs_xml_nonrec output format. 2008-08-22 08:43:58 +00:00
bjorn
3e5414ba4a Removed Overload modules from GF.cabal. 2008-08-22 07:18:34 +00:00
aarne
02a80d68aa peace grammars patched to work with the new API 2008-08-20 07:14:20 +00:00
aarne
74373394a6 alternative prtType to help debugging overload resolution errors 2008-08-20 06:44:58 +00:00
bjorn
7d83d90e51 Use overloaded API in peace keeping grammar. Still not compiling, "no instance of mkS for Cl among ... Cl ... ?" 2008-08-19 14:35:45 +00:00
bjorn
9242bdfcc8 tweak ajax client html 2008-08-19 12:40:17 +00:00
bjorn
e1584715cc First version of ajax / fastcgi interface with completion. 2008-08-19 12:29:31 +00:00
bjorn
bd977e7587 Remove src/server/grammar.pgf from the repo, use 'make food' if you want it. 2008-08-19 08:14:22 +00:00
bjorn
d33fe739a7 Added parse and linearize functions to the fastcgi server. Some refactoring. 2008-08-19 08:13:51 +00:00
bjorn
bc3281d5e7 Fix order in the cncnames list in unionPGF. It was made in reverse. 2008-08-19 07:40:45 +00:00
bjorn
55603b78f6 Ajax: use onsubmit instead of onclick, to catch Firefox auto-submit-on-enter. 2008-08-18 20:56:30 +00:00
bjorn
c102ab157a Ajax translator: copied iPhone viewport stuff from Aarne's JS translator, untested. 2008-08-18 20:28:22 +00:00
bjorn
972d7e4058 AJAX translator: update translation when the from or to language is changed. 2008-08-18 20:26:52 +00:00
bjorn
401d1cd7d1 Some peacekeeping clean-up, still far from compiling. 2008-08-18 20:22:25 +00:00
bjorn
256ab54807 Include all languages in the demo pgf for the fastcgi server. 2008-08-18 20:21:02 +00:00
bjorn
c6c9028022 Sort languages in fastcgi /languages output. 2008-08-18 20:20:32 +00:00
bjorn
dc1db399f6 When producing PGF, do UTF-8 encoding of the whole file after pretty printing instead of walking through the PGF structure before pretty-printing.
The old code was brittle, and only converted strings in the lins and opers, not in printnames and parsers. The old code also double encoded some grammars when using gfc to combine PGF files.
2008-08-18 12:34:56 +00:00
bjorn
255b5488f4 Updated AJAX translator to make use of canParse and the fixed parseAllLangs. 2008-08-18 09:38:21 +00:00
bjorn
7007a875e3 Added canParse function to the PGF API. Make parseAllLang and parseAll skip languages which don't have parsers, instead of always throwing exceptions when some language is missing a parser. 2008-08-18 09:26:24 +00:00
bjorn
3a21fcd4ba Added languageCode function to the PGF API. 2008-08-18 09:25:43 +00:00
bjorn
d22474ea8d Updated resource grammar fle list in GF.cabal 2008-08-18 08:47:39 +00:00
bjorn
f28dc5ac16 gfc can now combine PGF files. 2008-08-15 21:10:54 +00:00
bjorn
137133b742 Added peacekeeping example back in. Doesn't compile yet. 2008-08-15 20:21:12 +00:00
aarne
66c927937a bronzeage grammar restored except for three ones with issues ; arabic transliteration added 2008-08-16 18:55:28 +00:00
aarne
ddbeff3028 improved error message in pgf compilation to help debugging 2008-08-16 12:27:59 +00:00
bjorn
22c434a39b Added Makefile for fastcgi server. 2008-08-15 20:33:04 +00:00
bjorn
5bdfedcedf Qualify PGF import in fastcgi server, to avoid hiding Language, which breaks with older cgi versions. 2008-08-15 20:31:23 +00:00
aarne
38cdd44001 numerals demo on the web 2008-08-15 15:28:09 +00:00
aarne
ba78322409 examples of morphological synthesis/analysis as top-level grammars 2008-08-15 12:41:04 +00:00
bjorn
0475ef3414 Added a basic stylesheet for the js and ajax translators. 2008-08-15 11:46:36 +00:00
bjorn
7a2268d9d5 JS translator: fixed typo, before a ul was produced instead of an li 2008-08-15 11:28:41 +00:00
bjorn
08fae303df First working version of the AJAX translation client. 2008-08-15 11:14:13 +00:00
aarne
0ce04f1a6e forgiving names in concrete that are not in abstract, with a warning (no warning guaranteed if this is because restricted inheritance) 2008-08-14 20:25:52 +00:00
bjorn
bf7ec18141 Started working on an AJAX client for the fastcgi server. 2008-08-14 15:56:52 +00:00
bjorn
094150fde1 Added /cats and /langs to fastcgi server. 2008-08-14 15:56:38 +00:00
bjorn
b2e7b6f89d Better error handlig in the GF FastCGi server. 2008-08-14 12:08:38 +00:00
bjorn
a7aa8fb981 Added first version of the GF FastCGI server. 2008-08-14 09:06:26 +00:00
bjorn
77270a010a Remove the grammars directory. It was full of old grammars that don't compile these days. See the old source distributions if you want them. 2008-08-14 07:58:04 +00:00
bjorn
0bbb906141 Remove src/module-structure.txt, it's about the restructuring in GF 2.2. 2008-08-14 07:14:22 +00:00
bjorn
6619326df0 Include concrete syntax flags in generated JS. 2008-08-13 12:08:11 +00:00
bringert
ff39552e41 gfc command now looks for gf executable in the same directory 2008-08-12 14:11:17 +00:00
aarne
a9893f4572 ported numerals to GF3 and encoded in UTF8; some problematic ones in todo 2008-08-04 18:26:48 +00:00
aarne
a401820e37 corrected links in index 2008-08-04 18:17:41 +00:00
krasimir
776ba32373 change the path from resource-1.4 to resource in cabal 2008-06-28 08:41:48 +00:00
aarne
e625f93153 new tramdemo link 2008-06-27 18:31:38 +00:00
bjorn
d6f2d6d170 Don't build lib twice in make binary-dist. 2008-06-27 18:16:46 +00:00
bjorn
c10ce9ccf0 Build gfdoc in binary-dist, since the tarball includes it. 2008-06-27 18:15:27 +00:00
bjorn
5f6691dac3 Set charset to utf-8 when printing html code. This is needed to get Safari to display resdemo.html correctly. 2008-06-27 18:14:19 +00:00
bjorn
a6e7b8d2a3 Drop java-related stuff from Makefile.binary. 2008-06-27 18:02:54 +00:00
bjorn
0dde13ed6f Changed version number in configure.ac. 2008-06-27 18:02:05 +00:00
aarne
f6621af538 final adjustments in doc 2008-06-27 17:54:04 +00:00
aarne
65b6780384 finishing doc 2008-06-27 17:50:46 +00:00
aarne
00e2740039 updated readme and install 2008-06-27 17:34:17 +00:00
aarne
f6b10c5214 rm obsolete download file 2008-06-27 17:11:54 +00:00
aarne
75abc89350 tiger binary 2008-06-27 17:10:44 +00:00
aarne
9aa2eb23d1 file names in download index 2008-06-27 16:54:21 +00:00
aarne
f8d4738a43 added api/Combinators for Eng 2008-06-27 16:48:28 +00:00
aarne
7d7d951c05 documentation almost up to date 2008-06-27 14:43:05 +00:00
aarne
21c457b711 documentation written; some weird constructors excluded from demo 2008-06-27 14:14:01 +00:00
aarne
73e401cee2 updated synopsis, removed GF/devel/ 2008-06-27 11:59:03 +00:00
aarne
64d2a981a9 more rm in doc 2008-06-27 11:32:49 +00:00
aarne
032531c6a6 rm old tutorials 2008-06-27 11:27:40 +00:00
aarne
e4e64c13a6 more rm in doc 2008-06-27 11:27:00 +00:00
aarne
7cdbe8e7a3 more obsolete doc rm'd 2008-06-27 11:22:51 +00:00
aarne
e7d1aa58f7 removed obsolete items from doc 2008-06-27 11:21:49 +00:00
krasimir
22423c640c change the version number to beta in cabal 2008-06-27 10:46:21 +00:00
krasimir
60c2d054ee the shell now supports cp1251 coding with se command. works with the word completion as well 2008-06-27 10:33:46 +00:00
aarne
5c713d8f02 took away old-examples 2008-06-27 09:18:50 +00:00
aarne
f7b2a83059 version-related changes in Makefile and help 2008-06-27 09:09:29 +00:00
aarne
e8dc8c3ef5 interrupt in proper place in GFI 2008-06-27 06:50:50 +00:00
aarne
757ea827e6 debugging arabic 2008-06-26 21:40:21 +00:00
aarne
a1da4b7c48 removed Transfer interpreter 2008-06-26 21:05:50 +00:00
aarne
fb1d9b7d2c removed transfer from gf3 2008-06-26 21:05:01 +00:00
aarne
33eb6d899f moved interruption to GFI level to capture all commands 2008-06-26 21:01:51 +00:00
aarne
ba63991007 fixed decodeUTF8 for pgf; removed old resources from darcs 2008-06-26 19:41:25 +00:00
aarne
accab4e20b oops, forgot add Coding 2008-06-26 18:48:28 +00:00
aarne
ed708ffda6 uniform encoding: gfo and pgf in UTF8, internal in unicode 2008-06-26 16:35:45 +00:00
aarne
f7622321de utf8 adjustments 2008-06-26 06:52:01 +00:00
bjorn
313ef2908d Changed src-3.0 to src in GF.cabal 2008-06-25 18:29:21 +00:00
bjorn
e459cc7771 Include coding flag in .gfo files.
Because the PGF file gets all the flags from the GFO file automatically, we get the coding flag in the PGF file too. This is undesirable, since PGF is supposed to always by in UTF-8.
2008-06-25 18:14:45 +00:00
aarne
5971c110e9 added a slot for Urdu in Text.Transliterations 2008-06-25 17:42:19 +00:00
aarne
67b80bcd40 removed JavaGUIs from src 2008-06-25 17:05:19 +00:00
bjorn
53a8693f3a quote stirng in getDataDir as generated by make today 2008-06-25 17:20:16 +00:00
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
aarne
fe367412e0 Updated version numbers for 2.9f (final 2.9). 2008-06-25 16:34:50 +00:00
aarne
9557106010 added default decodings to Make, to enable multilingual utf8 generation 2008-06-24 21:52:07 +00:00
aarne
0b22e97524 trying to get the coding flag to work in grammars 2008-06-24 14:31:21 +00:00
aarne
239f310eb5 cp1251 coding ; trying to recognize the coding flag in grammar 2008-06-24 13:58:04 +00:00
aarne
223480bb77 langs option to Make.hs ; utf8 exception in linearization from the coding flag in grammar 2008-06-24 08:35:02 +00:00
krasimir
7e6a3cf32e remove the comments about the meta variables. They are not relevant anymore 2008-06-23 14:32:55 +00:00
krasimir
942bd31273 typo in the PGF documentation 2008-06-23 14:23:14 +00:00
krasimir
cec5143092 added type signature for expr2tree to make it visible for haddock 2008-06-23 14:12:40 +00:00
aarne
65b2670ce7 html string option 2008-06-23 09:19:21 +00:00
krasimir
f62c70bdd5 the Makefile should generate Paths_gf.hs with GF_DATA_DIR instead of GF_LIB_DIR 2008-06-23 08:53:09 +00:00
krasimir
8b47619361 fix Haskell embedded grammars 2008-06-23 08:48:17 +00:00
bjorn
9d6e3c7b95 SRG generation: start categories etc should be checked after category renaming. 2008-06-22 21:01:38 +00:00
bjorn
377d5664c7 Rename SRG categories after preprocessing, since pp may introduce illegal category names. 2008-06-22 20:28:39 +00:00
aarne
0f205f67d4 threaded string operations to strings if given as options to linearize 2008-06-22 19:02:09 +00:00
aarne
e9b21c92a0 Finnish negation particle stored in VP for vowel harmony 2008-06-22 18:33:15 +00:00
aarne
8fb6ed6692 facility to compile many modules (needed for old gf and cf) 2008-06-22 16:04:01 +00:00
aarne
0a43025bbe added -nofun and -nocat options to vt 2008-06-22 14:15:06 +00:00
aarne
0f0e65f706 tree visualization command 2008-06-22 13:07:09 +00:00
aarne
25f486858f prefix and variants restored in linearization 2008-06-22 09:01:32 +00:00
bjorn
80108924f9 Added SLF, RegExp and Dot printing to exportPGF. 2008-06-22 12:01:29 +00:00
bjorn
0643efb659 Get GF.Speech.PrRegExp to compile. 2008-06-22 11:58:31 +00:00
bjorn
0c46e23269 Added old GF.Speech.PrRegExp back in 2008-06-22 11:56:12 +00:00
bjorn
7a70b13866 Get GF.Speech.SLF to compile in GF 3. 2008-06-22 11:51:53 +00:00
bjorn
08df93d892 Added old GF.Speech.PrSLF back in 2008-06-22 11:31:06 +00:00
aarne
ff5ddf447f added some words to complete resource test 2008-06-20 16:08:22 +00:00
aarne
298c14046b extended api with some IQuant rules 2008-06-20 11:54:37 +00:00
aarne
e4119186fa tutorial semantics example works except one rul 2008-06-20 10:38:03 +00:00
aarne
c3bb8267e6 restored mathematical in 1.4; forgave some lock fields in overload resolution 2008-06-20 09:21:52 +00:00
aarne
1d21167ee9 some more words in index-3 2008-06-19 16:25:43 +00:00
krasimir
79bd6c2096 yBGLexicon is not part of the distribution -> remove from cabal 2008-06-19 15:05:59 +00:00
krasimir
883e96b0c5 move the prelude sources to the prelude directory and add the resource library to cabal 2008-06-19 14:16:05 +00:00
krasimir
4dd62417dc split the Exp type to Tree and Expr 2008-06-19 12:48:29 +00:00
aarne
944eea8de9 system command pipes (sp) 2008-06-18 16:26:12 +00:00
aarne
8e5b78f886 term macro help 2008-06-18 09:14:31 +00:00
aarne
0f21f8f343 macros for commands (dc) and terms (dt) 2008-06-18 07:22:30 +00:00
aarne
23b8136af2 started examples-3.0 with examples that are tested to work 2008-06-17 13:16:15 +00:00
aarne
7c097669d2 fixed command abbreviations in GFI 2008-06-17 12:34:02 +00:00
bjorn
327d0a6a4a Remove "srgs" output format name, use "srgs_xml" instead. 2008-06-17 12:30:19 +00:00
bjorn
d13b32ea48 Refactor grammar export code. 2008-06-17 12:29:11 +00:00
bjorn
2cf7a7d07e Got GSL generation working. 2008-06-17 12:06:27 +00:00
bjorn
aa32e53ad1 Added old GF.Specch.PrGSL back in (still unchanged). 2008-06-17 11:58:51 +00:00
aarne
582ea07fe1 moved commands pf and af to options of pg and wf, respectively 2008-06-16 20:36:10 +00:00
bjorn
a47fcbcbf2 Handled renaming external SRG categories centrally. 2008-06-16 16:44:33 +00:00
bjorn
5c7c010f80 Added --sisr option for including SISR tags in generated SRGs. 2008-06-16 16:12:17 +00:00
bjorn
10d5895369 Fix handling of external categories in SRG generation. 2008-06-16 15:49:17 +00:00
aarne
ea31c1e63b new languages in resource Make; moved GF-specific stuff from Quiz 2008-06-16 11:15:38 +00:00
aarne
543ef3531a documentation of commands; restriction options to generation 2008-06-15 21:36:41 +00:00
aarne
ee4db2ee7d Thai in 1.4 2008-06-15 19:40:53 +00:00
aarne
72b4ba9639 converted Hindi to the revised encoding 2008-06-15 15:55:49 +00:00
aarne
c2bbdc8a16 commands for displaying transliteration tables 2008-06-15 15:24:11 +00:00
aarne
8c3111e36a UTF3 coding as ps command options, also -bind 2008-06-15 13:25:22 +00:00
krasimir
486d21cd7a fix the command line parser 2008-06-15 09:21:59 +00:00
aarne
2c8540b7c2 started new forthcoming web page 2008-06-15 08:45:11 +00:00
aarne
7a065580d2 some more command options and documentation 2008-06-14 15:48:52 +00:00
aarne
246f307b22 added syntax and examples fields to command help 2008-06-14 10:02:40 +00:00
aarne
c1c8257e82 added translation and mophology quizzes 2008-06-14 08:51:13 +00:00
aarne
4fd5183863 arabic in 1.4 - something makes compilation get stuck 2008-06-13 20:40:50 +00:00
aarne
4b1faf4ae5 make with test trees 2008-06-13 12:49:54 +00:00
aarne
3b15ade685 file name as option in commands 2008-06-12 21:04:16 +00:00
bjorn
4369e67998 Get JSGF generation to compile. Still untested. 2008-06-12 18:39:02 +00:00
bjorn
b76c8c195c Add GF.Speech.SRG.isExternalCat 2008-06-12 18:35:25 +00:00
bjorn
43459c75c8 Rename GF.Speech.SRGS to GF.Speech.SRGS_XML 2008-06-12 18:24:26 +00:00
bjorn
1a72dbf6f2 Added unmodified GF.Speech.PrJSGF back in. 2008-06-12 18:19:45 +00:00
bjorn
26afcb4dab Exclude literal categories from generated VoiceXML. 2008-06-12 18:12:43 +00:00
aarne
62b04f399c added command ps -stringop, with stringop being (un)lexer defined in Lexing 2008-06-12 14:36:03 +00:00
krasimir
96230f84f5 fix the tree extractor in the incremental parser to check for cyclic charts and coercion rules. 2008-06-12 13:34:47 +00:00
krasimir
79cbcdad2d add generation of erasing PMCFG grammars 2008-06-12 13:11:38 +00:00
aarne
0a6085a7e2 treating Int as PredefAbs.Int in lookup 2008-06-12 13:11:18 +00:00
krasimir
f28e32e688 use import System.Cmd instead of import System. It is in the process package and we already depend on it. 2008-06-11 14:00:04 +00:00
aarne
65cec04ac2 restored the read_file command ; filename must be in quotes (to be fixed?) 2008-06-11 13:18:09 +00:00
aarne
a61954fd11 system command (!) in gf3 shell 2008-06-11 12:20:42 +00:00
aarne
ad16eb2d78 allow spaces between command options; option -treebank in linearize 2008-06-11 09:20:26 +00:00
aarne
9628eb6314 preliminary version of morpho analysis 2008-06-10 16:00:42 +00:00
aarne
9c75bddcfc release document on gf3 2008-06-10 11:34:16 +00:00
aarne
49dcc123b5 added some functions to overloaded API 2008-06-09 15:54:03 +00:00
krasimir
aa5cff205d force the interpreter to flush the output. usefull for the testsuite 2008-06-08 10:35:19 +00:00
aarne
ec200fdf0b sorting command list in Commands 2008-06-08 19:27:20 +00:00
krasimir
4268d6219b longname, synopsis and explanation for all commands 2008-06-05 20:48:24 +00:00
kr.angelov
c4d298a347 file name completion for command i 2008-06-05 12:12:44 +00:00
kr.angelov
abea46022e fix the error checking in the word completion 2008-06-05 12:00:51 +00:00
kr.angelov
b8854ea2f4 describe cc,e,ph,q and i in Commands also. Allows word completion 2008-06-05 11:50:24 +00:00
kr.angelov
a097dc5e85 remove the wc command 2008-06-05 11:34:29 +00:00
kr.angelov
11f24097b4 complete word completion in the shell. works for commands, flags, options, abstract syntax identifiers and NL strings 2008-06-05 11:29:08 +00:00
kr.angelov
f5fd3aa603 in initState report the error strictly. This allows to catch it easily 2008-06-05 11:26:48 +00:00
kr.angelov
1068fbc7cf lookParser already returns Nothing if there is no parser. Don't generate error 2008-06-05 11:18:59 +00:00
kr.angelov
4803fb8052 use parser combinators to parse the shell commands. simplified CommandLine type 2008-06-05 07:33:42 +00:00
kr.angelov
0b1a157222 back to breadth first search. Fixes the the "I am here" bug 2008-06-04 21:49:39 +00:00
krasimir
6743f5bbcd add mtl dependency in cabal. It is used in the speech grammar generation 2008-06-04 09:27:39 +00:00
kr.angelov
b5d14ff3df do the cyrilic trick for Windows in gf3 also 2008-06-04 07:52:12 +00:00
kr.angelov
a3f4910bdb cleanup, document and export the completion API 2008-06-04 07:49:58 +00:00
bjorn
27dda59db4 Get VoiceXML generation working. 2008-06-03 20:05:52 +00:00
bjorn
957b4252dd Added lookPrintName. 2008-06-03 19:56:51 +00:00
bjorn
d57a96a186 Added (still unchanged) GF.Speech.VoiceXML. 2008-06-03 19:34:08 +00:00
bjorn
8f6fc90228 Don't suffix start category name with _cat in SRGS XML printing. 2008-06-03 19:33:13 +00:00
bjorn
7237438a94 Added "bnf" output format for debugging. 2008-06-03 19:32:42 +00:00
bjorn
2ee8ab8a71 Added options to support SRG printing. 2008-06-03 19:20:18 +00:00
bjorn
61ccd948d3 Added speech recognition grammar generation code. There is no way yet to invoke the SRG printer, and only SRGS is included. 2008-06-03 18:53:53 +00:00
bjorn
762a9d16f0 Add GF.Data.XML from old source. This is required by the SRGS printer. 2008-06-03 18:53:30 +00:00
kr.angelov
b5ca08c9c2 Use readline for word completion 2008-06-03 17:06:45 +00:00
kr.angelov
ea145ddf52 add setCompletionFunction in GF.System.Readline 2008-06-03 16:54:59 +00:00
krasimir
bd1fd95696 fix conflicts 2008-06-03 16:27:21 +00:00
krasimir
952e51d8f7 Redesign and opimize the incremental parser 2008-06-03 16:01:48 +00:00
krasimir
ac8fa4fd5f Hackish version of the incremental parser 2008-06-03 06:59:44 +00:00
aarne
c161e0e4df possible to inherit an overload group without excluding+opening 2008-06-03 11:59:00 +00:00
aarne
130a75a43a eliminated copying of inherited overload branches 2008-06-03 10:06:29 +00:00
aarne
8d98fec81e overload extension: syntax overload OldModule* {def*} 2008-06-03 09:21:24 +00:00
aarne
9dbf9c5660 added an argument place to ResOverload for extended overloads 2008-06-01 11:02:02 +00:00
bjorn
2771367118 Fixed generated Haskell modules to use only the PGF module. 2008-06-02 15:47:56 +00:00
bjorn
5073ac4e7f Honor the --name flag when generating output files. Set module name in generated Haskell modules correctly. 2008-06-02 15:32:01 +00:00
bjorn
20ea9ea5ec Changes lookConcrFlag to return Maybe. 2008-05-30 15:38:35 +00:00
krasimir
59721bfc33 add the MultiMap module 2008-06-02 10:00:13 +00:00
krasimir
75b56603cf use MultiMap from the reference implementation instead of GeneralDeduction and RedBlackTree 2008-06-02 08:38:27 +00:00
krasimir
7ee26238f5 Some more documentation 2008-06-02 07:45:45 +00:00
krasimir
cd6fa423a9 rename GF.Grammar.Refresh to GF.Compile.Refresh in .caba 2008-06-02 07:34:15 +00:00
aarne
bd7d0c7c5e printing line numbers in rename and check-grammar error messages 2008-05-31 16:30:36 +00:00
aarne
9229c15764 added positions to Module record; avoided Module constructor where possible; moved Refresh to Compile/ 2008-05-31 14:40:46 +00:00
aarne
66c0467201 sync with laptop version, irrelevant changes 2008-05-29 22:32:58 +00:00
aarne
35009a2911 some fixes in pattern matching in Compute 2008-05-27 20:54:31 +00:00
aarne
83dc6de3a8 unforgetting new env after i command 2008-05-30 17:13:38 +00:00
aarne
3a20b4883d error recovery in rename and check grammar: report all errors in a module before terminating 2008-05-30 16:45:48 +00:00
aarne
c0ba151aa9 started Finnish 1.4 2008-05-30 09:39:29 +00:00
bjorn
2f89962c44 Refactor GFI to treat command line files and the i command uniformly. Disable CSE by default in GFI. 2008-05-30 15:20:28 +00:00
bjorn
54ebdab1f7 Change setOptimization to produce Options, not a function over Options. 2008-05-30 15:20:09 +00:00
bjorn
7f90087ab9 Added setOptimization function to GF.Infra.Options. I will need to do similar things for other options. 2008-05-30 13:56:50 +00:00
krasimir
150940b870 cleaned up and documented PGF API 2008-05-30 13:07:11 +00:00
krasimir
8bb0c32a9c replace GFCC with PGF in (almost) all places 2008-05-30 11:15:33 +00:00
krasimir
1172539a95 change the PGF.Data.Exp type 2008-05-30 09:10:28 +00:00
krasimir
1077fa1f30 don't need SyntaxTree anymore. Use PGF.Data.Exp directly 2008-05-30 07:23:00 +00:00
krasimir
88d3f61f41 change the library root namespace from GF.GFCC to PGF 2008-05-29 17:55:05 +00:00
krasimir
1bcc4aab81 drop the GF.Command.* dependencies in the library 2008-05-29 16:53:24 +00:00
aarne
2505bfc892 fixing number of interrogatives in English Structural 2008-05-29 16:16:19 +00:00
krasimir
96bdd18dc3 drop the dependency to GF.Infra.PrintClass from the Library 2008-05-29 15:15:00 +00:00
krasimir
77e05b0b36 rearrange the other-modules field 2008-05-29 12:40:32 +00:00
krasimir
ecfb1f5e01 move the parsing related stuff to GF.GFCC.Parsing 2008-05-29 12:38:09 +00:00
krasimir
9c2d27b8d1 move GF.Parsing.FCFG.PInfo to GF.GFCC.BuildParser and rename FCFPInfo to ParserInfo 2008-05-29 12:27:26 +00:00
krasimir
9a759a66dc move GF.Formalism.FCFG types to GF.GFCC.DataGFCC 2008-05-29 12:08:45 +00:00
krasimir
363ddd7b91 simplify FSymbol type 2008-05-29 11:43:28 +00:00
krasimir
4d1809ef2d Simplify the Input type. Remove Edge and use only Range type 2008-05-29 11:20:40 +00:00
krasimir
bc578a0871 remove Symbol type 2008-05-29 11:00:21 +00:00
krasimir
64d3a1226d simplify the Profile type and remove the NameProfile type 2008-05-29 10:55:34 +00:00
aarne
45e1eedff3 removed extra subex in suffixOptimize 2008-05-29 09:51:37 +00:00
aarne
a5d05e8344 type computed in table T [...] 2008-05-29 08:23:23 +00:00
bjorn
34736bb431 Only print \n instead of CPU time in putPointE when printing the text message. This avoids printings lots of empty lines in silent mode. 2008-05-29 08:06:56 +00:00
bjorn
d459573c80 Copy startcat flag to .gfo file. 2008-05-29 08:01:55 +00:00
krasimir
152c5698ce if optShowCPUTime is off just print \n in putPointE 2008-05-29 07:34:29 +00:00
bjorn
dd8c3e91a0 Oops, inverted meaning of optBuildParser. 2008-05-28 19:56:12 +00:00
bjorn
2fcc77a884 Some printing / verbosity fixes. 2008-05-28 15:56:37 +00:00
bjorn
a5cf2afccf Added GF.Infra.GetOpt to GF.cabal 2008-05-28 15:56:25 +00:00
bjorn
3fd1f5652a Switch to new options handling.
This changes lots of stuff, let me know if it broke anything.

Comments:

- We use a local hacked version of GetOpt that allows long forms of commands to start with a single dash. This breaks other parts of GetOpt. For example, arguments to short options now require a =, and does not allo pace after the option character.

- The new command parsing is currently only used for the program command line, pragmas and the arguments for the 'i' shell command.

- I made a quick hack for the options for showTerm, which currently makes it impossible to use the print style flags for cc. This will be replaced by a facility for parsing command-specific options.

- The verbosity handling is broken in some places. I will fix that in a later patch.
2008-05-28 15:10:36 +00:00
krasimir
1bc74749aa move GF.Conversion.SimpleToFCFG GF.Compile.GenerateFCFG 2008-05-28 08:35:31 +00:00
aarne
7d92dc3c0e prepare for optimizing tuple pattern matching 2008-05-27 14:02:26 +00:00
aarne
bcdbb26b88 showing labelless table values in cc 2008-05-26 16:08:31 +00:00
aarne
913067543d also lookup in concrete in cc 2008-05-26 15:54:03 +00:00
aarne
d4e0caa053 printing options for source GF terms defined in API and used in cc command 2008-05-26 14:50:17 +00:00
aarne
7d0da72db1 getting started with overloaded API for 1.4; some determiner syntax missing 2008-05-26 14:06:56 +00:00
aarne
68903bb251 started source grammar API ; used it for a first implem. of cc command 2008-05-24 16:13:27 +00:00
aarne
0db611a9ab support for source gr and i -retain in GFI env 2008-05-24 09:16:59 +00:00
aarne
5a386209dd interpret "foo bar" as ["foo bar"], silently 2008-05-24 08:03:42 +00:00
aarne
77178cd2ab sort records so that s field is first (use Macros.sortRec) 2008-05-24 07:44:16 +00:00
aarne
1eb1d7e055 temporary work-around of gfcc generation bug in resource-1.4 grammars 2008-05-24 07:18:34 +00:00
kr.angelov
53bfa43a58 allow Ctrl+Break in the shell. Works on Windows too. 2008-05-23 15:16:28 +00:00
kr.angelov
0b80bf17d9 use the version number from Paths_gf 2008-05-23 14:37:39 +00:00
aarne
61e4e6e483 debugging gfcc compilation 2008-05-23 14:10:31 +00:00
kr.angelov
e0fb69d2f7 Lets Makefile generate Paths_gf 2008-05-23 14:16:42 +00:00
kr.angelov
b89e7a8972 package posix is actualy unix :-) 2008-05-23 14:15:53 +00:00
kr.angelov
3bb4f2c9c3 readline configuration for Cabal 2008-05-23 13:29:33 +00:00
kr.angelov
b8814af2f9 Remove GF.Today and use the autogenerated Paths_gf from Cabal 2008-05-23 13:19:24 +00:00
kr.angelov
16ba392ee4 add Cabal description for GF 2008-05-23 13:12:11 +00:00
kr.angelov
4c14927914 remove the deprecated RP constructor in GFCC 2008-05-23 09:54:02 +00:00
bjorn
6027c10a0c Get rid of the 'f' type parameter to the module types.
This was only ever instantiated with Option, and made it diificult to change the options type.
2008-05-23 08:47:07 +00:00
bjorn
5aceb18beb Set version number in configure.ac to "3.0-alpha". You need to rerun autoconf and configure to have this take effect. 2008-05-23 06:53:29 +00:00
bjorn
003278e52d Added GF.System.Readline and related modules back into src-3.0. 2008-05-23 06:31:52 +00:00
kr.angelov
954740933a move GFCCtoHaskell and GFCCtoJS to GF.GFCC.* 2008-05-22 15:47:15 +00:00
kr.angelov
243cbba4c6 move GF.Devel.TC and GF.Devel.TypeCheck to GF.Compile.* 2008-05-22 15:43:25 +00:00
kr.angelov
d7bad70865 move GF.Devel.PrintGFCC to GF.GFCC.PrintGFCC 2008-05-22 15:41:17 +00:00
kr.angelov
359647445a GF.Devel.ModDeps is removed. The only used function is moved to GrammarToGFCC 2008-05-22 15:32:31 +00:00
kr.angelov
2ecfbf1543 remove GF.Devel.PrGrammar and use GF.Grammar.PrGrammar instead 2008-05-22 15:23:56 +00:00
kr.angelov
4c0004f714 move GF.Devel.OptimizeGF to GF.Compile.OptimizeGF 2008-05-22 15:04:25 +00:00
kr.angelov
d7f81f9f51 move GF.Devel.UseIO to GF.Infra.UseIO 2008-05-22 14:58:44 +00:00
kr.angelov
f902f64a3e move GF.Devel.ReadFiles to GF.Compile.ReadFiles 2008-05-22 14:51:08 +00:00
kr.angelov
fd01ba1b68 move GF.Devel.GrammarToGFCC to GF.Compile.GrammarToGFCC 2008-05-22 14:46:18 +00:00
kr.angelov
d8cabf0263 move GFC and GFI 2008-05-22 14:39:16 +00:00
kr.angelov
ebbc0a3e80 move GF.Devel.GF to GF 2008-05-22 14:32:49 +00:00
kr.angelov
35296a555d move GF.Devel.Compute to GF.Compile.Compute 2008-05-22 14:31:36 +00:00
kr.angelov
54e47edb5d move GF.Devel.CheckGrammar to GF.Compile.CheckGrammar 2008-05-22 13:15:45 +00:00
kr.angelov
fd1a216fb2 move GF.Devel.Optimize to GF.Compile.Optimize 2008-05-22 13:09:08 +00:00
kr.angelov
9d6c383c07 move GF.Devel.GetGrammar to GF.Compile.GetGrammar 2008-05-22 13:05:12 +00:00
kr.angelov
a28b61be1c move GF.Devel.Compile and GF.Compile.API to GF.Compile 2008-05-22 12:57:33 +00:00
kr.angelov
2e49f7f5b1 get rid of GF.System.Arch only one function from it was actually used 2008-05-22 12:39:13 +00:00
kr.angelov
df0c4f81fa remove all files that aren't used in GF-3.0 2008-05-22 11:59:31 +00:00
aarne
6394f3ccfb Makefile harmonization 2008-05-22 08:58:36 +00:00
aarne
3a27dd455e restored readline 2008-05-22 07:38:41 +00:00
kr.angelov
b7ff446966 further optimization by unpacking the ByteString in Ident 2008-05-21 19:51:52 +00:00
kr.angelov
ced73a2f0a fix typo 2008-05-21 19:51:24 +00:00
kr.angelov
1bead9601b remove the -prof flag from Makefile 2008-05-21 19:49:49 +00:00
kr.angelov
b114471843 add GF.Source.SharedString 2008-05-21 13:35:26 +00:00
kr.angelov
57d19ce36b add the missing GF.Grammar.Predef module 2008-05-21 13:30:44 +00:00
kr.angelov
c544ef3182 use ByteString internally in Ident, CId and Label 2008-05-21 13:10:54 +00:00
aarne
529374caaa added Readline to GF3 shell (in the same way as GF2, using GFCFLAGS in Makefile) 2008-05-21 09:46:30 +00:00
aarne
055c0d0d5a GF/src is now for 2.9, and the new sources are in src-3.0 - keep it this way until the release of GF 3 2008-05-21 09:26:44 +00:00
aarne
915a1de717 some deep java editor sources added 2008-05-20 11:49:50 +00:00
aarne
31bf84122b moved all old source code to src-2.9 ; src will be for GF 3 development 2008-05-20 11:47:44 +00:00
bjorn
74f048dcf4 Fix link to code.haskell.org account request page. 2008-05-13 18:26:46 +00:00
bjorn
f17addbcd3 grammars/health/HealthRus.gf: comment out the linearizations of functions that are commented out in Health.gf. HealthRus now compiles (against resource-0.6). 2008-05-09 12:40:16 +00:00
aarne
acebf7c912 new refs in bib ; some Hindi parameter experiments 2008-05-05 16:45:28 +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
ba6a2b5d6e print the "linking..." message when building the GFCC code 2008-04-29 09:44:43 +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
46c9a500df use putStrLn instead of print to dump error messages. This avoids the double quotes 2008-04-25 15:49:53 +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
43f30025f4 gfLibraryPath is actually an environment variable not a file path. Use the current directory instead. 2008-04-22 12:18:39 +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
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
cce757bb51 GF ten years 2008-03-20 09:17:55 +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
aarne
bc77ad3163 added wiki grammars 2008-03-04 11:56:12 +00:00
bjorn
b21fe03735 Rename index.html to homepage.html. 2008-02-27 15:13:11 +00:00
bjorn
8d5d6cc10e Fix LatestCode link. 2008-02-27 15:12:54 +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
bjorn
ad785c1bab Update darcs.html for the code.haskell.org repo. 2008-02-25 15:27:44 +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
aarne
4e3d240d2d final version of kotus experiment 2008-02-18 18:20:42 +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
aarne
badafa58fa using partitive plural in Finnish mkN 2008-02-18 07:15:50 +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
0064b67925 bugs in kotus paradigm implementations fixed 2008-02-13 22:01:30 +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
aarne
9bd9e2ee7a kotus paradigms implemented 2008-02-07 16:03:16 +00:00
bjorn
53106abf7e Added PGF version numbers to GFCC file. 2008-02-07 13:48:41 +00:00
aarne
9f861ee537 finnish kotus word list 2008-02-07 08:42:08 +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
9b104373e6 new. more compact tutorial version (also as slides) 2008-02-04 16:34:32 +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
4c3aa8c164 finnish updates 2008-01-28 17:41:51 +00:00
aarne
327c63eb74 gt command in gf3 2008-01-08 12:22:05 +00:00
aarne
1214408387 Swadesh verb list in uusisuomi revised 2008-01-07 21:03: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
ca409d0047 started adjectives in uusisuomi 2008-01-04 17:54:20 +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
aarne
d54c209e9d dictionary experiment in uusisuomi 2008-01-04 10:15:15 +00:00
aarne
6bca6a97ae Swadesh example in uusisuomi 2008-01-03 17:40:31 +00:00
aarne
3323ccb750 fixed Swadesh for new resource version 2008-01-03 17:11:32 +00:00
aarne
c17d8cfd50 Duodecim example treated 2008-01-03 16:08:52 +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
43ddb41d31 word lists initialized for 2 experiments 2008-01-03 11:22:44 +00:00
aarne
1753d57c65 samples of Finnish nouns 2008-01-03 10:57:13 +00:00
aarne
a97ac23f1a new division of Nominal in uusisuomi 2008-01-03 10:01:57 +00:00
aarne
cbfb9d5e7d experiment with Finnish morphology 2008-01-02 16:54:22 +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
aarne
d389a174f5 link in download index 2007-12-21 18:02:19 +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
aarne
504e7162fc preparing for release 2007-12-21 17:37:19 +00:00
aarne
5ee1714fd2 new tutorial and reference manual 2007-12-21 15:10:38 +00:00
aarne
c5017f28aa resource-api demo 2007-12-21 15:07:37 +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
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
bringert
7b7735c12f Added missing BNFC-generated alex and happy files, and alex-generated lexer for GFCCRaw. 2007-12-20 16:32:39 +00:00
bringert
6590edbd48 Handle giving several options in LDFLAGS and CPPFLAGS correctly. 2007-12-20 15:55:26 +00:00
bernardy
701c57f25a Workaround a ghc 6.8.2 bug 2007-12-17 10:15:20 +00:00
aarne
83159c434b more example languages 2007-12-19 10:50:17 +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
49b3ffb7a0 completed ConvertGFCC for all terms 2007-12-14 11:16:01 +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
aarne
c36ee1492e oops, readded CanonToGFCC to darcs 2007-12-14 07:32:59 +00:00
aarne
745f6ac83f restored CanonToGFCC as a wrapper of GFCC generation 2007-12-14 07:31:53 +00:00
aarne
9e0dd0a41a some generated GFCCRaw files added to darcs; make gf3langs for alltenses 2007-12-13 22:15:19 +00:00
aarne
ed5a85ce1d removed gfcc via gfc everywhere; workaround for russian in present 2007-12-13 22:05:14 +00:00
aarne
b447cf1a04 new GFCC concrete syntax in place everywhere 2007-12-13 20:19:47 +00:00
aarne
a311dda539 lisp-like GFCC syntax; doesn't quite work yet in gf3 2007-12-13 16:36:32 +00:00
aarne
af2755eebe prelude sources to lib/src; present in StructuralEng; refactored checkGFCC 2007-12-13 10:12:00 +00:00
bringert
27315ad5d2 s/resource-1.0/resource/ in src/Makefile. 2007-12-13 13:39:04 +00:00
aarne
477f88c1e4 variants in gfcc generation 2007-12-11 15:07:48 +00:00
aarne
83b47b13b7 some adjustments in GFCC generation (old) 2007-12-10 16:46:04 +00:00
aarne
6edb2f075a debugging new compilation 2007-12-09 15:20:50 +00:00
aarne
6a4218e9ef extend behaviour for interface and incomplete 2007-12-09 10:52:19 +00:00
aarne
b693ba103c noemit as default in testgf3 2007-12-08 17:02:35 +00:00
aarne
2a46601ebb breaking points 1..6 in new Compile 2007-12-08 16:51:39 +00:00
aarne
99e6923af6 documenting implementation started 2007-12-08 15:59:36 +00:00
aarne
f4d3b1a9fa compilation line complete (but dysfunctional) for new GF internal format 2007-12-08 15:15:18 +00:00
aarne
e548f096e6 GFtoGFCC type checks (but is not correct) 2007-12-08 15:01:36 +00:00
aarne
5aca148d20 names resolve in new GFtoGFCC 2007-12-08 10:37:49 +00:00
aarne
84c9f3f483 started modifying GFtoGFCC for new internal GF format 2007-12-08 09:32:05 +00:00
aarne
e90ccb5002 a couple of fixes in new Optimize 2007-12-07 21:00:24 +00:00
aarne
d9521d2f4c restructured some of the new GF format; modules now in place up to gfo generation 2007-12-07 20:47:58 +00:00
aarne
8437e6d295 started adding GF back optimization (Factorize) 2007-12-07 13:00:02 +00:00
aarne
36a0f92bdb optimize in the compilation chain for new format 2007-12-07 11:12:39 +00:00
aarne
e013138f0c refresh compilation phase in the new format 2007-12-07 10:23:18 +00:00
aarne
64ebc4f167 new type checker type checks 2007-12-06 21:43:21 +00:00
aarne
fe30e32748 in the middle of adapting CheckGrammar 2007-12-06 17:29:19 +00:00
aarne
bfd215aa7f started grammar checking with new internal format 2007-12-06 15:50:54 +00:00
aarne
f08eb82f2b restored work on Extend and Rename 2007-12-06 12:54:15 +00:00
aarne
7d1b964a78 Delete the silly test file. 2007-12-06 15:19:56 +00:00
aarne
28d7ee2f41 Silly test patch. 2007-12-06 15:18:49 +00:00
bringert
8ddd6a59f3 Expose AbsGFCC and DataGFCC in gf-embed.cabal, since code generated by -haskell needs them. 2007-12-05 21:41:38 +00:00
bringert
2885e2fd8a Update GF-embed.cabal to use expose GF.GFCC.API. This pulls in a lot fewer modules than the old version. Use Cabal configurations to compile on 6.8.1. This unfortunately means that users of GHC < 6.8 must upgrade to Cabal 1.2 or greater. 2007-12-05 20:05:42 +00:00
aarne
dc1c835563 restored interface and instance - at least for a while 2007-12-04 20:13:36 +00:00
aarne
11982849b9 rebuild integrated in Extend 2007-12-04 20:00:51 +00:00
aarne
7fabd2345d building extensions in new source format 2007-12-04 17:10:28 +00:00
aarne
61763b5784 unifying judgement information - now easy 2007-12-04 15:23:49 +00:00
aarne
4279b17762 printing new source format 2007-12-04 15:01:01 +00:00
aarne
4698dfbe78 some missing cases in SourceToGF 2007-12-04 11:18:55 +00:00
aarne
7051331c20 test for new GF source format 2007-12-04 11:07:39 +00:00
aarne
a7b6887050 moved some modules to Devel.Grammar 2007-12-04 07:48:37 +00:00
aarne
0e1831abb4 SourceToGF working though not complete 2007-12-04 07:40:47 +00:00
bringert
10354e0db2 Haskell GSyntax printer?: encode generated code as UTF-8. Current GHC versions treat source files as UTF-8 encoded. 2007-11-28 13:45:49 +00:00
bringert
3ab863c1d4 Added install-gf3 target. Use EXEEXT to get correct gf3 file name on Windows. 2007-11-12 16:18:01 +00:00
bringert
ca6198dc98 Use configure to produce a gfc script with the correct path to gf3. NOTE: you need to re-run autoconf after pulling this patch. 2007-11-12 16:17:04 +00:00
aarne
4500ce6316 started parsing GF source into the new format 2007-12-03 17:40:59 +00:00
aarne
cea1946f3f some macros for terms, jments, modules 2007-11-29 10:23:26 +00:00
aarne
be080aff39 judgement construction after parsing 2007-11-28 22:11:47 +00:00
aarne
813e899ebb lookup module separated 2007-11-28 12:01:38 +00:00
aarne
5257fd963e new definitions of term and judgement syntax 2007-11-28 11:58:47 +00:00
aarne
5b0f98f388 lookup modules 2007-11-28 08:44:04 +00:00
aarne
ba938b3530 started experimental new module syntax 2007-11-27 14:23:11 +00:00
aarne
8852637997 diagnostic error message in GrammarToHaskell 2007-11-15 17:09:33 +00:00
aarne
43eb40a688 dealing with Ints n in GrammarToGFCC 2007-11-15 16:49:20 +00:00
aarne
504bdedcc3 made Devel versions of Compute, CheckGrammar, Optimize, etc, to leave GF 2.8 untouched when experimenting 2007-11-12 21:42:13 +00:00
aarne
7e40df7d4c made compile from source use optimized modules internally 2007-11-12 17:25:00 +00:00
aarne
5d06a31078 fixed a bug on not updating parameter table in record fields in GrammarToGFCC 2007-11-12 14:30:53 +00:00
aarne
6158445114 fixed bug with prawitz transform of course-of-values tables in Compute 2007-11-12 12:36:40 +00:00
aarne
b801149fbf merged gfc and gfi to one binary, and a shell script for gfc 2007-11-12 09:17:02 +00:00
aarne
eb7b028601 printing grammarReference.js with gfc -jsref 2007-11-10 10:23:35 +00:00
aarne
ba735d802b post-compute in GrammarToGFCC - what else is needed? 2007-11-09 17:24:08 +00:00
aarne
e394d725a4 ResFin workaround; type annot for ghc 6.8.1 2007-11-09 15:51:12 +00:00
bringert
6568ac4aea Fix pre token bug in JS, both in gf and gfc. Pre tokens are still treated like normal tokens, but at least the generated code should be correct now. 2007-11-09 15:09:09 +00:00
aarne
ad96ff1822 debugging gfcc bug; resulted in some type annotations to work around problems 2007-11-09 14:02:11 +00:00
aarne
e66aab0978 changed js and hs file names in gfcc output to expected ones 2007-11-09 10:08:07 +00:00
aarne
1ad7527f65 preserve error message in batch compile 2007-11-09 08:56:13 +00:00
aarne
45df6d5ac2 currying in paramlincat encoding 2007-11-09 08:26:56 +00:00
aarne
91415f7ad0 grammar printing options in gf3 and gfc 2007-11-09 00:21:57 +00:00
aarne
5e0e82250e partial check of dependencies with restricted inheritance 2007-11-08 23:34:45 +00:00
aarne
f2df8bb144 restricted inheritance in gfcc abstract fixed 2007-11-08 21:34:44 +00:00
aarne
fc457ce795 funny ASCII logo 2007-11-06 20:52:49 +00:00
aarne
14e974af9e added linearize -all 2007-11-08 17:01:09 +00:00
aarne
44df29f52d gfi linearization with flags -table -record -term 2007-11-08 16:37:30 +00:00
aarne
23b2826a44 encoding of lincats as gfcc terms with param value information 2007-11-07 17:27:09 +00:00
aarne
947949648f added fields for global options and showable lincats to gfcc 2007-11-07 16:30:56 +00:00
aarne
0be4e801f4 some more issues in gf3.txt 2007-11-07 13:53:48 +00:00
aarne
8c47cb46b2 moved gfcc program to gfi, wrote document gf3.txt 2007-11-07 13:07:02 +00:00
aarne
2c4d34af28 prompt and CPU time in experimental shell 2007-11-06 17:27:20 +00:00
aarne
2b1d5a4d51 Devel/GF3: experimentally putting together all functionalities for the first time 2007-11-06 14:44:17 +00:00
aarne
693621ffbe made command table independent of options 2007-11-06 11:01:45 +00:00
aarne
db399191d9 factored out commands from interpreter in gfcc 2007-11-06 10:43:19 +00:00
aarne
5e87b6ef98 fixed variants bug in GFCC.Linearize: l. 64,46 'r' must be 'p' 2007-11-05 21:55:17 +00:00
aarne
2a83f299b4 unionGFCC, to put together GFCC grs with same abstract 2007-11-05 13:48:51 +00:00
aarne
7eecf7f943 command database in gfcc 2007-11-04 22:01:10 +00:00
aarne
76204ad886 changed suffix gfc to gfo in the gfc program to enable sharing directories with gf 2007-11-04 20:36:58 +00:00
aarne
bb5af4bbba interpreter with pipes 2007-11-04 10:17:48 +00:00
aarne
fdc39cf18c started command interpreter for gfcc 2007-11-03 22:37:18 +00:00
aarne
5956ba6b38 command language and gfcc term parser in bnfc 2007-11-03 22:00:08 +00:00
bringert
ed4b43961d Added explicit export list to ParGF. 2007-11-01 10:10:30 +00:00
bringert
dafbcb7f9b Regenerated ParGF.y with current BNFC, and regenerated ParGF.hs with Happy 1.17. This seems to fix some of the less informative parsing error messages. 2007-11-01 10:08:32 +00:00
aarne
59e4328128 mock up math extended with Agda 2007-10-31 17:13:20 +00:00
aarne
3f4d3e69cf oper and lindef in CanonToJS 2007-10-31 16:41:39 +00:00
aarne
a2a37bc912 mock up variables for js 2007-10-30 13:17:54 +00:00
aarne
ab1af18cdb swedish mock up for math 2007-10-30 13:15:18 +00:00
aarne
565bd85329 math wiki example 2007-10-30 13:09:46 +00:00
bringert
af54ec7e45 Added type signature to fix GHC 6.8 problem reported by Jean-Philippe. 2007-10-30 09:51:14 +00:00
aarne
70258975f2 semantics <- sementics 2007-10-24 07:49:29 +00:00
aarne
fa2131a8be program four second week of the course 2007-10-24 07:47:33 +00:00
aarne
60f714b9c8 insertObject in AdVP in tutorial/syntax 2007-10-23 21:03:06 +00:00
aarne
bf223b43d5 insertObject in Grammar 2007-10-23 14:11:22 +00:00
bringert
5b7f45c7e6 Added --output-name to GF.Devel.GFC.Options. Inspired by peb's --output-base suggestion. 2007-10-23 12:19:11 +00:00
bringert
1bf4df8763 Added --output-dir to GF.Devel.GFC.Options. Suggested by peb. 2007-10-23 12:15:01 +00:00
bringert
9dc7843f53 Allow multiple output formats in GF.Devel.GFC.Options. Suggested by peb. 2007-10-23 12:11:48 +00:00
aarne
a6f89fefef polished the syntax grammar for the book 2007-10-22 15:56:11 +00:00
aarne
3b878f85d8 Swedish functor implementation of Base 2007-10-21 10:45:51 +00:00
aarne
087fddc174 English Base implementation with functor 2007-10-21 10:06:34 +00:00
aarne
a9472f91e5 the lincat of Int simplified to SS again (Linear,Lookup,CheckGrammar by commenting out) 2007-10-21 10:01:14 +00:00
bringert
bc2cac719b Added Show isntance generation to haskell_gadt. 2007-10-20 18:57:38 +00:00
bringert
173d0ae876 Added Compos instance generation to the haskell_gadt printer. Added GF.Data.Compos module which is imported by the code generated by haskell_gadt. 2007-10-20 18:42:16 +00:00
aarne
484c4ef336 started resource implementation of query language 2007-10-20 11:34:52 +00:00
aarne
192f55e2f5 semantics extended to questions 2007-10-20 09:51:26 +00:00
aarne
e86db4d8c8 two versions of semantics (the Logic version incomplete) 2007-10-19 22:12:30 +00:00
aarne
295c40fe3a started semantics module in tutorial 2007-10-19 16:29:29 +00:00
aarne
59052fd1b6 added coordination to tutorial grammar example. 2007-10-17 19:08:09 +00:00
bringert
5028c62c66 Fixed link to resource grammar synopsis. 2007-10-17 16:18:13 +00:00
aarne
cec3d7d603 found and temporarily solved the bug in LangGer gfcc generation 2007-10-16 17:38:57 +00:00
bernardy
869da61a5b add interlingua numerals grammar 2007-10-15 09:54:41 +00:00
bernardy
bb0252e323 Fix the belgian numerals grammar 2007-10-15 09:42:34 +00:00
bernardy
ec06de5c9f Simplify the swiss numerals grammar 2007-10-15 09:42:06 +00:00
bernardy
43e9eb3a1a Slightly nicer output when reading old grammars 2007-10-15 08:05:33 +00:00
bernardy
0c132a75d4 Add belgian french version of the numeral grammars 2007-10-13 15:32:15 +00:00
bernardy
4cc8611b1f typo 2007-10-13 15:22:59 +00:00
aarne
eb145f5fcf adjusting parameter types in Romance and fixing some compilation bugs 2007-10-14 14:08:41 +00:00
aarne
111643eba8 fix in records as param arguments 2007-10-14 10:36:06 +00:00
kr.angelov
873a160537 FCat is just a plain integer now 2007-10-12 16:00:37 +00:00
aarne
96ed0bf4ac demo restaurant info 2007-10-12 13:46:57 +00:00
aarne
530174aad1 some fixes in GrammarTpGFCC, and more tracing 2007-10-12 12:24:07 +00:00
aarne
1fb749a5ec removing a trace 2007-10-12 08:42:52 +00:00
aarne
cf3fcbf582 check circularity in param 2007-10-12 08:37:57 +00:00
aarne
697cf5f440 tuning gf optimization 2007-10-10 20:29:10 +00:00
aarne
0fdb2dbc48 patches to Now and Dan verb forms ; opers and lindefs in JS 2007-10-10 17:35:50 +00:00
aarne
ebfef6c8cc common subexp elim for src GF 2007-10-10 17:01:00 +00:00
aarne
f479ecac03 optimizations on evaluated gf in gfc 2007-10-10 16:13:57 +00:00
aarne
f93c17c7b1 GFCCtoJS in Devel 2007-10-09 12:51:09 +00:00
aarne
38a517aafa UTF8 encoding of strings in terms in GFCC in gfc 2007-10-08 14:20:37 +00:00
aarne
5a881a90dd gfc now generates gfcc with deptypes, defs, printnames 2007-10-08 12:45:39 +00:00
aarne
8d0aaf0b24 cleaned up obsolete GFCC references 2007-10-06 07:37:44 +00:00
aarne
db606bd2d1 oops - forgot to add GFCCtoHaskell 2007-10-06 07:36:21 +00:00
aarne
33ee832655 removed unnecessary imports from GFCCtoHaskell generation 2007-10-05 16:30:37 +00:00
aarne
51ac00a987 documented new GFCC 2007-10-05 16:18:23 +00:00
aarne
2905d5552c removed Canon/GFCC 2007-10-05 13:38:10 +00:00
aarne
1b4f7c9741 updated gfcc to new gfcc, now with parsing 2007-10-05 13:01:05 +00:00
aarne
48623470cd gf works with the new gfcc format 2007-10-05 12:54:29 +00:00
aarne
945a49214b cleaned up new GFCC, but added RP as deprecated 2007-10-05 09:02:47 +00:00
aarne
cc104236df shifted to use general trees and types (with macros for c-f) 2007-10-05 08:17:27 +00:00
aarne
07d2910df1 divided DataGFCC 2007-10-05 07:33:33 +00:00
aarne
a0f3aecc51 make gfcc makes old gfcc; use make newgfcc for the format produced by gfc 2007-10-04 21:46:23 +00:00
aarne
48ebf562b9 new GFCC format in GF/GFCC 2007-10-04 21:38:59 +00:00
kr.angelov
acc32ec199 handle (F ..) references in the lintypes 2007-10-04 18:23:59 +00:00
aarne
923cfe84f0 started new GFCC syntax with dep. types etc 2007-10-04 14:13:45 +00:00
aarne
afbab92605 resource application example in tutorial/syntax 2007-10-04 13:43:29 +00:00
aarne
61dfd0326c refactored tutorial syntax example 2007-10-04 12:29:11 +00:00
aarne
5afdb7e11b make lib in src/Makefile 2007-10-04 11:27:31 +00:00
aarne
ea700323ab makefiles for first make 2007-10-04 11:24:46 +00:00
bernardy
db8f5d898e Couple of fixes for the "food" example in French 2007-09-14 10:46:30 +00:00
aarne
e697fa5c39 eliminated the rest of projections with record in GFCC 2007-10-04 08:23:56 +00:00
aarne
70c8cff0f9 lincat index in CanonToGFCC decreased by 1 2007-10-03 16:15:33 +00:00
aarne
17962eef1a added optimization to GrammarToGFCC 2007-10-03 16:04:30 +00:00
bringert
e4ab0e274b Note that darcs 1.0.9 has controlmaster problems. 2007-10-03 13:13:27 +00:00
aarne
7933d12f06 uncurrying performed in CheckGFCC 2007-10-03 11:49:46 +00:00
aarne
156d0e321e marked alternatives for compiling tables 2007-10-02 21:01:38 +00:00
aarne
8fc4f7b1fd more debugging of GrammarToGFCC 2007-10-02 13:44:52 +00:00
aarne
dabf5d1ee0 gfcc from GF now works for LangEng (except literals) 2007-10-02 11:15:00 +00:00
aarne
2202cf3ef5 test for gfcc 2007-10-02 05:57:57 +00:00
aarne
f72e601d12 work with GrammarToGFCC, not complete 2007-10-01 20:14:23 +00:00
aarne
82754178db more tc of gfcc 2007-10-01 13:18:43 +00:00
aarne
3b4ee92cbe started CheckGFCC 2007-09-28 13:42:50 +00:00
bringert
5fedbc53ae Started on a stub GFC.Main 2007-09-28 13:27:12 +00:00
bringert
64b7683ee4 Removed giant comment and add help message function to GF.Devel.GFC.Options. 2007-09-28 13:12:55 +00:00
bringert
00ec603bf6 Implemented lots of command-line options in GF.Devel.GFC.Options. 2007-09-28 13:10:09 +00:00
aarne
7d7702c375 order of FCFGS in shell state. 2007-09-28 07:06:53 +00:00
aarne
b94cb32a04 disambiguate Err 2007-09-26 21:55:53 +00:00
kr.angelov
890b4ca7e0 don't try to search for argument that has been already found 2007-09-25 14:57:14 +00:00
kr.angelov
bb8e7d2d58 whitespace only 2007-09-25 14:56:46 +00:00
kr.angelov
6613d5f40a simple optimization of the parser that makes it about two times faster 2007-09-25 12:59:25 +00:00
kr.angelov
286851b7c0 remove the dependency to GF.Data.Operations from GF Embed API 2007-09-25 05:55:49 +00:00
kr.angelov
c6c7557b13 merge FCFGParsing with GF.Parsing.FCFG 2007-09-24 14:36:19 +00:00
kr.angelov
9222e4d34c Update GFCCAPI after the removal of FTypes and the FCFG lexer 2007-09-24 08:58:46 +00:00
kr.angelov
b109169441 move the FCFG lexer to FCFG.Active where it should have been. It was a hack anyway 2007-09-24 08:56:37 +00:00
kr.angelov
36e091d0a1 remove FCFG folder 2007-09-24 08:19:29 +00:00
kr.angelov
6aacec3591 remove FTypes module and move all definitions to Formalism.FCFG 2007-09-24 08:12:11 +00:00
kr.angelov
0cd5e62e83 remove some redundant dependencies from FCFG 2007-09-23 20:01:25 +00:00
aarne
f17728ee55 correctly recognize some parameter records for gfcc 2007-09-21 20:36:43 +00:00
aarne
190066725f trying to get rid of RP 2007-09-21 14:23:30 +00:00
aarne
8dcfb978ef error msg in SimpleToFCFG.convertCon 2007-09-21 13:02:35 +00:00
aarne
0260265de0 fixed reading argvars from gfc in gf-to-gfcc 2007-09-21 12:00:31 +00:00
aarne
73ef8309ab gfcc generation in gfc works for some grammars 2007-09-21 09:15:14 +00:00
bringert
470038e017 Started working on gfc command-line options. 2007-09-21 10:30:00 +00:00
aarne
58d34eca14 gfc --make now works 2007-09-21 07:37:47 +00:00
aarne
58a87653cc compiler "gfc" in GF/Devel 2007-09-20 22:37:09 +00:00
aarne
6e4104ffa9 compact printing of gf files 2007-09-20 21:51:54 +00:00
bringert
46013f103c Restored the GFCC.cf from before the patch "simplify GFCC syntax". This is the version that the exisiting code actually uses, except for the two cases of Int instead of Integer. 2007-09-20 15:20:44 +00:00
bringert
5f5d4b2cbe BNFC doesn't have an Int type. 2007-09-20 14:33:53 +00:00
aarne
8eadf828a9 math with gfcc 2007-09-20 13:31:24 +00:00
aarne
74ad9aa2fd printing GSyntax with GFCC trees 2007-09-20 13:26:59 +00:00
aarne
8bf5ff0a94 embedded parser in MultiGrammar in GFCCAPI 2007-09-20 09:48:50 +00:00
aarne
3707eb4576 refactored FCFG parsing to fit in GFCC shell 2007-09-20 09:10:37 +00:00
aarne
ef389db569 started extending GFCC API with parsing 2007-09-19 16:48:13 +00:00
aarne
aff4aa20c1 repaired JS generation after GFCC changes 2007-09-19 14:10:04 +00:00
aarne
7825a1a1c5 adapted GFCC2FCFG to other uses of GFCC, made it to default parser 2007-09-19 13:49:12 +00:00
kr_angelov
a886f7042b remove trace 2007-01-11 19:19:46 +00:00
kr_angelov
1e6af79046 remove trace 2007-01-11 19:17:36 +00:00
kr_angelov
ccc248eb20 fix aliases handling 2007-01-11 19:16:36 +00:00
kr_angelov
fad6869ffe remove all fromIntegral calls 2007-01-11 12:48:31 +00:00
kr_angelov
3f183ce821 GFCC to FCFG conversion 2006-12-28 16:45:57 +00:00
kr_angelov
041c00abf3 sync with GFCC changes 2006-12-28 16:45:21 +00:00
kr_angelov
48b4e3de1d simplify GFCC syntax 2006-12-28 16:35:16 +00:00
bringert
46c8026b9d Include startcat in generated JavaScript. 2007-09-19 08:58:39 +00:00
aarne
c27087d14d bud fix in reading gfc without gfr 2007-09-17 06:58:41 +00:00
aarne
133b716338 strict reading of files; bug fix in readFiles in ShellState 2007-09-16 20:52:27 +00:00
bringert
e8d2281684 make (all) in src now compiles the resource grammars. 2007-09-13 08:27:48 +00:00
aarne
c9f8961a9e last adjustments of examples before course 2007-09-12 21:03:00 +00:00
aarne
fff6afd438 afternoon quarter past 2007-09-12 18:04:03 +00:00
aarne
2cacf21260 70h to 70min 2007-09-12 12:09:40 +00:00
aarne
ff6e9688f4 course time plan 2007-09-12 12:05:19 +00:00
aarne
eacd8e0870 cygwin linked from download 2007-09-12 09:42:08 +00:00
aarne
fd3339610d install instructions updated 2007-09-12 09:12:42 +00:00
aarne
902b1f3afc bug fix in import reading (had forgotten gfr) 2007-09-12 07:53:54 +00:00
aarne
1d40350b6e refs for book 2007-09-11 13:13:48 +00:00
aarne
e68a4c82a7 comented ExtFoods 2007-09-06 13:06:22 +00:00
aarne
10f621045a ExtFoods for book 2007-09-06 11:34:53 +00:00
aarne
238764e1be download 2007-09-06 07:21:05 +00:00
aarne
2d86f7a739 transfer exx 2007-09-05 18:08:16 +00:00
aarne
d2a5148708 modernized parser in EmbedAPI 2007-09-05 14:05:42 +00:00
aarne
e2b9657f79 cleaned up Calculator example 2007-09-04 20:51:26 +00:00
aarne
6150508b4e new precedence lib 2007-09-04 18:14:36 +00:00
aarne
713fb9122c CP 2007-09-04 14:15:43 +00:00
aarne
e9985271e2 div 2007-09-04 07:57:50 +00:00
aarne
14f185d326 calculator ex 2007-09-03 19:21:50 +00:00
aarne
ee9416d523 these,those in Constructors 2007-09-03 13:54:44 +00:00
aarne
8118cc46ed Ita Eng 2007-09-03 08:46:34 +00:00
aarne
f46317e010 updated quick start 2007-09-03 08:42:10 +00:00
aarne
c99fdc5f79 Ita in res 2007-09-02 21:04:24 +00:00
aarne
2ad038e204 resource using exx revised 2007-09-02 19:53:55 +00:00
aarne
545bcc10ac moved away book 2007-08-31 12:11:35 +00:00
aarne
d120187c59 course update 2007-08-31 07:04:50 +00:00
aarne
e354002039 chaps 1-4 2007-08-30 13:37:15 +00:00
aarne
fafc01d390 introductions to chapters 2007-08-29 12:07:58 +00:00
aarne
97908d4a1c patches to forthcoming chapters 2007-08-29 10:02:48 +00:00
aarne
0a2e24493e appendices to the book 2007-08-29 09:00:50 +00:00
aarne
5a6d513a0e chap on syntax and morpho 2007-08-28 20:44:41 +00:00
aarne
8747b74524 section on cf grammars 2007-08-28 14:10:01 +00:00
aarne
0e13ca8d5a intro revised 2007-08-28 13:40:13 +00:00
aarne
5c8535f8bb chapter on parameters 2007-08-26 18:21:33 +00:00
aarne
bc3dca6861 generation bug fix 2007-08-26 07:56:46 +00:00
aarne
f55a6f6bcc at 2007-08-21 07:22:07 +00:00
aarne
c5b6e6d3b0 at 2007-08-21 07:21:29 +00:00
aarne
388ea13bdf mailing list 2007-08-21 07:20:23 +00:00
aarne
53bb4aea74 oops oops 2007-08-20 13:14:23 +00:00
aarne
608c52f068 oops- wrong link 2007-08-20 13:13:22 +00:00
aarne
e685c4cfa8 updated course description with schema 2007-08-20 13:10:23 +00:00
aarne
599ddcfe91 section on agreement 2007-08-16 21:35:11 +00:00
aarne
3737b99266 foods example moved and completed 2007-08-16 20:12:45 +00:00
aarne
f109a7089d book in separate file 2007-08-16 16:23:30 +00:00
aarne
6234e536f6 moved tutorial examples to GF/examples 2007-08-16 16:18:54 +00:00
aarne
5f0e8a16ec improving mini res morpho 2007-08-16 14:10:06 +00:00
aarne
1f342b2c25 prepared mini syntax example 2007-08-16 09:41:00 +00:00
aarne
69129be4b2 book style 2007-08-15 16:36:31 +00:00
aarne
55347bab45 restructured middle part of tutorial 2007-08-15 10:17:50 +00:00
aarne
76c14c4a2c Hello grammars in tutorial 2007-08-14 14:09:25 +00:00
aarne
bc1c5a6a09 new tutorial version started 2007-08-13 15:54:41 +00:00
aarne
c448c7ed7c better packages built with make binary-dist 2007-07-08 19:46:55 +00:00
aarne
07812ba399 g to G 2007-07-08 18:45:22 +00:00
aarne
057eadd57e name of the link 2007-07-08 18:44:02 +00:00
aarne
877b9d8cc0 link to tmp-download 2007-07-08 18:43:20 +00:00
aarne
e151ecd2ed G to g 2007-07-08 18:41:50 +00:00
aarne
373180df83 tmp download 2007-07-08 18:38:09 +00:00
bringert
0c05a33d82 Use darcs dist instead of darcs get in make dist. This should get around the problem with partial repositories. 2007-07-08 18:32:45 +00:00
aarne
26fba29746 those links to tutorial... make grammar-dist 2007-07-08 17:25:03 +00:00
aarne
8452026f58 links to tutorial in index 2007-07-08 17:11:52 +00:00
aarne
fcfd62fc63 doc tut in pdf 2007-07-08 16:55:18 +00:00
aarne
139fe7b6a5 updated doc 2007-07-08 16:53:52 +00:00
aarne
23d8ebeb26 tutorial in final form 2007-07-08 16:36:56 +00:00
aarne
3627875fa8 handle unknowns words graciously in parseAny 2007-07-08 13:55:00 +00:00
aarne
ba70611669 peb's forest patch 2007-07-08 12:43:07 +00:00
aarne
08f5f513d7 Updated version numbers. 2007-07-08 12:36:30 +00:00
aarne
bb423658aa new tutorial almost finished 2007-07-06 15:37:32 +00:00
bringert
bece5b2974 Nicer mkDet usage in Toy0I 2007-07-06 12:03:47 +00:00
bringert
51cba70815 Use compiled.tgz in dist and install-lib. 2007-07-05 12:25:00 +00:00
bringert
2938c2082d Set build variable in config.mk 2007-07-05 12:23:39 +00:00
aarne
1aff0ee08a resource-food example in tutorial 2007-07-05 20:52:56 +00:00
aarne
63f060dcf6 hacky solution to name resolution warnings 2007-07-05 14:08:58 +00:00
aarne
4d228365ac updated gf-modules 2007-07-05 09:58:52 +00:00
bringert
7ef52f7cc8 Changed dist target to work with current darcs version. 2007-07-04 15:38:42 +00:00
bringert
849561bb18 Added lib target to src/Makefile. It builds all the resource-1.0 modules. 2007-07-04 15:30:07 +00:00
aarne
2b5197d61d tutorial exercises; put libdir in place in GF/src 2007-07-04 14:10:41 +00:00
bringert
51d3ade165 Install compiled resource modules in source and binary installs. 2007-07-04 13:27:22 +00:00
bringert
5e58041cfd Remove old VCS configure flags. 2007-07-04 13:27:04 +00:00
bringert
7114ca47af Fixed NOINLINE bug in Today.hs 2007-07-04 13:26:17 +00:00
aarne
74bb2ffdf3 extended Synopsis with categories, structural, and an example 2007-07-04 09:39:24 +00:00
bringert
39de0bca42 Build GF/Today.hs directly from Makefile. Include libdir. 2007-07-04 12:49:01 +00:00
bringert
0f8ef7432c Fized some typos in Toy1. 2007-07-04 11:27:06 +00:00
aarne
173da349b4 documentation for tutorial appendix 2007-07-03 16:32:54 +00:00
aarne
3e174603ab contents of new tutorial 2007-07-03 15:29:23 +00:00
aarne
064df9267c started next version of tutorial 2007-07-03 15:28:50 +00:00
aarne
e0071bc69c generalized MakeOverload to TreeSelections 2007-07-03 07:11:30 +00:00
aarne
6fc3bbd457 parsing overloaded constructors as result 2007-07-02 13:58:02 +00:00
aarne
c7f488b11e contravariance in forgiving lock fields 2007-07-02 11:53:04 +00:00
bringert
da6e0efc11 CFRules tracing. 2007-06-28 01:26:09 +00:00
bringert
cbf851b516 -printer=regexp handles precedence 2007-06-28 01:25:36 +00:00
bringert
af45f33d51 bottom-up and top-down filtering do not need fix point iteration. 2007-06-27 17:46:34 +00:00
bringert
af36dcf13d Refactor TransformCFG: use Map for CFRules. 2007-06-27 17:22:59 +00:00
bringert
bb09506ece Make bottomUpFilter better by also removing categories which contain no finite strings. 2007-06-27 16:27:55 +00:00
bringert
92b1b85a1f Print SRG stats when preprocessing grammar. 2007-06-27 16:27:08 +00:00
bringert
c3c84f6574 Comment out tracing in CanonToGFCC. It produces lots of junk when generating SRGs. 2007-06-27 15:39:42 +00:00
bringert
2ff350ae59 Use shorter lines and paragraph-filling in SRGS, JSGF and GSL printing. 2007-06-27 14:25:39 +00:00
bringert
e7787025f6 The no-functor toy0 english now uses N for Noun. 2007-06-27 13:00:09 +00:00
bringert
a22de1a9f6 Cleaned up names and paths in toy0 grammars. 2007-06-27 12:50:42 +00:00
bringert
ab99a1f89a Added no-functor version of Toy0Eng.gf 2007-06-27 12:42:25 +00:00
bringert
8a223031b5 Added english and french parameterized toy0 cocnrete sytnaxes. 2007-06-27 12:40:25 +00:00
bringert
54d5325171 Moved the different versions of the toy0 concrete modules to different subdirectories. 2007-06-27 12:38:24 +00:00
aarne
67857cb146 resource synopsis 2007-06-27 11:03:56 +00:00
bringert
43128f80e6 Limit GSL/JSGF/SRGS ABNF grammar line width to 80. 2007-06-27 09:07:51 +00:00
aarne
48b477037d example-based Toy0 2007-06-27 08:23:45 +00:00
bringert
3b93e0ffe2 Fewer redundant parantheses in JSGF and SRGS ABNF. 2007-06-26 16:51:09 +00:00
bringert
99ac3f8d73 SRGS XML: the meta tag should use empty tag short-hand. 2007-06-26 15:20:32 +00:00
bringert
88653403fc Oops, I had managed to remove the preprocessing step in makeSimpleRegular, which broke SLF and non-rec SRGS generation for grammars which need bottom-up filtering. 2007-06-26 15:09:48 +00:00
bringert
3371605af0 Eliminate more redundant item tags in SRGS XML. 2007-06-26 12:27:46 +00:00
bringert
7eaa2af27c Produce less verbose SRGS XML, by eliminating redundant item tags. 2007-06-26 12:19:30 +00:00
aarne
8e012e656d example Toy0Fin0 2007-06-26 08:39:45 +00:00
bringert
22ef3cbc04 Implement makeNonRecursiveSRG by conversion through MFA instead of directly to RE. 2007-06-25 16:50:28 +00:00
bringert
eb9a6f7c73 Added srgs_abnf_non_rec. 2007-06-25 16:50:00 +00:00
bringert
b17e74bca5 Document non-recursive SRGS. 2007-06-25 16:49:36 +00:00
bringert
862c780f78 Some clean-up in finite-state network generation: MFA now keeps track of start lattice name, instead of having a wrapper lattice. Replaced MFALabel with Symbol. 2007-06-25 16:25:58 +00:00
bringert
b086183c0f Added non-recursive SRGS printing. 2007-06-25 13:39:26 +00:00
bringert
2b63a89569 Some refactorings needed for recursion removal. 2007-06-25 13:38:40 +00:00
aarne
f081dc0d6b prepared examples for Speechgram presentation 2007-06-25 15:33:40 +00:00
bringert
16bfb1250b Added makeSRG. 2007-06-21 13:40:13 +00:00
bringert
336273c534 SRG always has RE rhs. 2007-06-21 13:11:26 +00:00
bringert
bff87e513a Removed some unused imports of GF.Speech.SRG. 2007-06-21 12:52:59 +00:00
bringert
6968004f19 Added regexps grammar printer. This is a first step towards recursion-free SRGS. 2007-06-20 16:08:23 +00:00
bringert
91dcc27668 Added language flags to bronzeage grammars. 2007-06-20 12:22:28 +00:00
aarne
badae80454 restricted functor example 2007-06-19 19:35:04 +00:00
aarne
780276850c documented extended module syntax 2007-06-19 18:21:43 +00:00
aarne
e3f1210369 extended functor syntax 2007-06-19 18:12:35 +00:00
aarne
f30fa0b4d1 overload res doc examples, part 2 2007-06-19 18:09:49 +00:00
aarne
6a926ee3fc overloaded resource doc examples 2007-06-19 18:07:18 +00:00
aarne
05d12d86fe started overloaded Fin 2007-06-19 09:29:43 +00:00
aarne
e3a0c60e89 updated resource doc intro with overloaded examples 2007-06-19 09:04:22 +00:00
aarne
632a7d3017 fixes to make resource Makefile to run without errors 2007-06-18 21:44:50 +00:00
aarne
c212633be8 fixed the mysterious "file..gfc" error 2007-06-18 21:21:13 +00:00
aarne
6b99696e86 updated document for numerals 2007-06-18 19:25:35 +00:00
aarne
c4d855e64d disambiguating qualifications in Bronzeage 2007-06-18 19:14:32 +00:00
aarne
6090012fa2 overloading in ParadigmsFre 2007-06-18 18:31:02 +00:00
aarne
ed5b02d4aa checking name conflicts; some RGs don't work now 2007-06-17 21:56:27 +00:00
aarne
4704c68b34 marked deprecated productions in GF.cf 2007-06-17 14:16:01 +00:00
bringert
a27643baed Added a simple cabal build system for the embedded API. 2007-06-14 16:08:38 +00:00
bringert
3edaa60988 Move some type annotations from patterns to expressions. Haskell 98 does not allow type signatures in expressions. 2007-06-14 16:02:07 +00:00
bringert
1fa928516c Added OPTIONS_GHC -fglasgow-exts to files that use GHC extensions. 2007-06-14 15:58:36 +00:00
aarne
75a9ea71a2 toy1 with classes and using resource API 2007-06-11 14:53:08 +00:00
aarne
2b438a6284 toy1 in English 2007-06-11 08:55:32 +00:00
aarne
a22871d074 initial check for unknown words in parsing 2007-06-11 07:49:30 +00:00
aarne
2353e930e3 README for regulus 2007-06-10 20:28:12 +00:00
aarne
0f3d06022e started regulus grammar implementation 2007-06-10 19:55:45 +00:00
aarne
fb730a75b5 bug fix in Compute 2007-06-09 14:08:23 +00:00
aarne
2949a973d0 some new shortcuts in Compute; no impressive results 2007-06-08 16:55:25 +00:00
aarne
695f30725f restructured Russian; copies of Constructors in present and alltenses 2007-06-08 15:30:21 +00:00
aarne
ebf1d19e15 some new overload cases in ParadigmsEng 2007-06-08 14:38:02 +00:00
aarne
ef9174e35d pattern matching optimization; trace of fun in compilation with -v 2007-06-08 12:50:01 +00:00
aarne
06acca1f67 syntax interfaces 2007-05-31 18:46:29 +00:00
aarne
e7b7def313 resource doc in tutorial 2007-05-31 13:43:46 +00:00
aarne
76268417db overload checking and messages; resource.txt modifs 2007-05-31 09:58:38 +00:00
aarne
93b4888b78 further work on tutorial 2007-05-30 19:29:24 +00:00
aarne
ebfbf32310 freshed up the tutorial 2007-05-30 12:59:52 +00:00
aarne
5234727cec new bib items 2007-05-29 08:24:42 +00:00
aarne
f1627e9912 Dan and Nor missing forms 2007-05-24 14:43:44 +00:00
aarne
3aeaa86460 some new bib entries 2007-05-17 21:09:45 +00:00
aarne
035689f8c7 started direct compiler from GF to GFCC 2007-05-15 16:35:13 +00:00
aarne
8af473a6f5 param values for TInts in Canon.Look 2007-05-11 13:57:34 +00:00
bringert
eb89dc2dfe Fixed < > encoding in int parameter example in gf-history. 2007-05-11 13:35:43 +00:00
aarne
97462f7e83 ids for GF rather than BNFC in AbsToBNF 2007-05-10 14:06:45 +00:00
bringert
e4ef09f6aa Added haskell_gadt -printer. It does not include a Compos instance yet, so it's not terribly useful. 2007-05-10 13:56:41 +00:00
aarne
278a0ab45d printing abs as BNF 2007-05-10 12:51:40 +00:00
aarne
e63fcd0a1f ref to Bj?rn's paper 2007-05-04 09:54:32 +00:00
aarne
3a51d58ff3 Ali's new paper added to refs. 2007-05-04 09:49:25 +00:00
aarne
8e324fc97d gf-bibliography extended and converted to txt source 2007-05-04 08:23:37 +00:00
aarne
5f2121e181 removed the Str/Tok distinction in CheckGrammar - obsolete anyway. 2007-05-03 13:55:34 +00:00
bringert
94d4ec728c Fixed use of -unlexer in EmbedAPI. Before, EmbedAPI.linearize ignored the flags in the grammar. 2007-04-21 16:20:02 +00:00
aarne
fcbc004aa6 record labels in compiler experiment 2007-04-20 15:36:33 +00:00
aarne
fc2c3cf057 bib entry 2007-03-31 15:53:36 +00:00
aarne
b072f0e668 bracket 2007-03-29 14:11:14 +00:00
aarne
1713c5e146 links in gf course 2007-03-29 14:09:53 +00:00
aarne
0cabdd518e I want phrases in thai travel 2007-03-28 14:40:29 +00:00
aarne
fd518ed2a3 primitive pattern matching 2007-03-27 20:54:49 +00:00
aarne
7c30d211c3 distinct form for opers that have no value 2007-03-27 16:40:54 +00:00
aarne
1c1acf1b97 top-level toy compiler - far from complete 2007-03-27 16:32:44 +00:00
bringert
273dc7120f Nicer formatting of generated GSL. 2007-03-27 10:21:16 +00:00
aarne
22c4a046e7 started eval 2007-03-26 21:13:37 +00:00
aarne
b36f70e6fd toy target language 2007-03-26 21:02:30 +00:00
bringert
5abf240a98 Remove all empty SLF nodes, don't care about edge explosion. Empty nodes are pprobably worse than lots of edges. 2007-03-26 17:36:58 +00:00
bringert
3797cfd11e Use EBNF compaction for GSL. 2007-03-26 14:51:24 +00:00
bringert
5faf418f4e Fixed SISR bug. 2007-03-26 13:12:04 +00:00
aarne
48b8a1345a param encoding 2007-03-25 19:16:47 +00:00
bringert
005ad917d9 Added directly cyclic SRG test case. 2007-03-25 16:44:30 +00:00
bringert
90ddf726c1 Give SRG test cases human-readable names. 2007-03-25 16:42:52 +00:00
bringert
de0ca9f533 commented LC_LR modification 2007-03-25 16:34:53 +00:00
bringert
4490e256a8 Also remove indirectly cyclic productions. 2007-03-25 16:34:35 +00:00
bringert
80ea351e5e Removed srg0006, it was a duplicate of srg0002 2007-03-25 16:34:11 +00:00
bringert
85072fb6b2 Added srg0006: A grammar with a cycle caused by an empty production. 2007-03-25 16:11:51 +00:00
bringert
4331167011 Comments only. 2007-03-25 11:26:03 +00:00
bringert
ed1e7f4485 SRG generation: merge categories with identical set of productions. The LC_LR algorithm produces lots of those, especially when there is little inflection. 2007-03-24 23:29:38 +00:00
aarne
436ddd5ebf simple source language for compiler experiment 2007-03-24 23:11:59 +00:00
bringert
4fdc0b598a Modified the LC_LR implementation to only produce rules using A-X categories when those categories have any productions. 2007-03-24 17:30:04 +00:00
bringert
61456fd9ca Better debugging output when SRG generation crashes because of a missing category. 2007-03-24 17:26:21 +00:00
bringert
2885cfc5ac Just renaming in srg0005 2007-03-24 17:25:07 +00:00
bringert
eca7f691a6 Shrunk srg0005 2007-03-24 15:48:29 +00:00
bringert
407b4bea9c More srg test cases. 2007-03-24 15:34:33 +00:00
bringert
e52adbde2e Added srg0004: a simple left-recursive grammar. 2007-03-24 15:13:18 +00:00
aarne
45f7684de1 components 2007-03-23 18:28:26 +00:00
aarne
25d4b89798 gf course description 2007-03-23 18:27:05 +00:00
bringert
5dc92edbb0 Added srg0003: test case for indirect cycles. 2007-03-23 18:13:38 +00:00
bringert
ccb76f5da0 Uncommented troublesome rules in srg0002 2007-03-23 18:10:21 +00:00
bringert
94813f9ffb Added test case which demonstrates a bug with implicit left recusion in SRG generation. 2007-03-23 18:09:22 +00:00
bringert
7ae2e01678 Remove removeIdenticalRules, since it would get rid of alternative parse results. 2007-03-20 22:09:17 +00:00
bringert
00e681aee8 Do the same initial transformations as for CFGs when generating FAs: remove cycles, identical rules and down top-down and bottom-up filtering. 2007-03-20 22:00:50 +00:00
bringert
50614d399a Do top-down and bottom-up filtering together to a fixed point. 2007-03-20 21:59:36 +00:00
bringert
fa33c22e07 Moved code and comments around in TransformCFG. 2007-03-20 21:35:24 +00:00
bringert
a8d356d599 Renamed removeEmptyCats to bottomUpFilter. 2007-03-20 21:15:59 +00:00
bringert
fbe8282027 Removed dead export list. 2007-03-20 21:15:43 +00:00
bringert
2230a28e21 Removed fixed FIXMEs. 2007-03-20 21:15:26 +00:00
bringert
3dacf21a41 Use makeSimpleSRG everywhere and remove makeSRG. Reimplemented top-down filtering in terms of CFRules instead of SRG. Do top-down filtering in makeSimpleSRG. 2007-03-19 18:03:19 +00:00
aarne
232c9cbb37 thai phrase translator 2007-03-16 16:23:39 +00:00
aarne
f7ce8940fa ma -status; sep lines for l -all 2007-03-14 12:11:18 +00:00
aarne
98fcad148e bib entries 2007-03-01 20:10:25 +00:00
aarne
6248b4a1c7 model for resource 2007-02-28 15:49:13 +00:00
aarne
b789031396 parsing method in EmbedAPI 2007-02-28 10:37:37 +00:00
aarne
016d43e26b cc output as pipable string 2007-02-24 09:16:30 +00:00
aarne
5264780e67 cc -table 2007-02-23 16:28:06 +00:00
aarne
1d803dff10 essential LP phrases, pron table 2007-02-17 21:44:42 +00:00
bringert
d9e0521c58 VoiceXML generation: the grammar file name should be based on the concrete syntax module name rather than the abstract. 2007-02-16 21:29:01 +00:00
aarne
70eb2d2ace urdu 2007-02-14 14:29:15 +00:00
aarne
b34aa07eaa catalan resource 2007-02-13 15:43:36 +00:00
aarne
5ec56ac60b thai word list corrections 2007-02-11 22:15:37 +00:00
aarne
058bf604d0 thai diphthong table 2007-02-11 21:34:10 +00:00
bringert
a24166ac25 Handle coercion functions (_) in CFG generation for SRG. 2007-01-29 12:30:49 +00:00
bringert
32d94e908c Removed CFConst constructor, since it was unused. 2007-01-29 12:21:15 +00:00
bringert
fef4d56e71 Document CFTerm constructors. 2007-01-29 12:20:31 +00:00
aarne
2a25794c8f produce a readable word list 2007-01-25 17:49:39 +00:00
bringert
feef66421e No spaces after newlines in JavaScript pretty-printer. 2007-01-23 16:31:44 +00:00
bringert
02c5dbd04a Rename children to args in VoiceXML/SISR/JavaScript. 2007-01-22 20:48:14 +00:00
aarne
e226a377d6 thai questions and negations 2007-01-21 20:41:35 +00:00
bringert
abeb18fb20 Use _cat category as root in SRGS ABNF and JSGF. SRGS XML already did this. 2007-01-21 17:10:10 +00:00
bringert
71111e0a7c Nicer spacing and indentation in JavaScript pretty-printer. 2007-01-21 17:00:15 +00:00
bringert
169659c096 Get speechLanguage flag from both command-line and grammar. Reformat it to RFC3066 format (- instead of _) and use it in SRGS, VoiceXML and JSGF. 2007-01-21 16:33:44 +00:00
bringert
b974ab06cd SRGS ABNF generation: semicolon after meta decls, no $NULL before initTag since the standard doesn't require it, and it crashes Opera, include tag-format declaration. 2007-01-21 16:01:36 +00:00
bringert
95d3fb5818 Added SRGS ABNF printers to HelpFile. 2007-01-21 15:12:34 +00:00
bringert
59a80fea3e Removed the srg value for pg -printer. Users should use pg -printer=srgs_abnf instead. 2007-01-21 15:10:49 +00:00
aarne
70e3891cd5 started thai resource 2007-01-21 14:17:29 +00:00
bringert
d06cd9cf06 Removed the old srg printer, which produced SRGS ABNF. 2007-01-19 17:09:20 +00:00
bringert
f61d7b6674 Don't print compile date in SRGS XML grammars. 2007-01-19 17:05:07 +00:00
bringert
cae872e75a Added SRGS ABNF generation. 2007-01-19 17:04:32 +00:00
aarne
7e240a69c3 bibliography entries in doc 2007-01-19 16:03:57 +00:00
bringert
aa16ddc912 VoiceXML: use block cond instead of field expr. For some reason the field expr doesn't work right in Opera. 2007-01-18 17:58:40 +00:00
bringert
6d19a584ea VoiceXML generation: cleaned out some old cruft. Use simpler names for variables and fields in forms. 2007-01-18 17:29:44 +00:00
bringert
c3ec3eb465 Disable help and reprompt stuff in VoiceXML generation, to make nicer looking VoiceXML. They didn't really add much anyway, since there is no help generation yet. 2007-01-18 16:50:29 +00:00
aarne
6c9ddcda8b fix in etaexpand optimization 2007-01-11 11:42:39 +00:00
aarne
46994dec58 a slight optimization in eta expand 2007-01-10 21:27:15 +00:00
aarne
935594eb86 semantics of variants 2007-01-10 21:03:18 +00:00
aarne
0882e5eac2 thai phrasebook example started 2007-01-09 14:53:19 +00:00
bringert
159f6515f7 Sort rules in CFGM files by category and function. 2007-01-08 17:50:24 +00:00
aarne
3978840d5a some changes in Thai coding 2007-01-08 17:25:37 +00:00
aarne
5ac9974085 thai pronunciation better now 2007-01-08 16:12:27 +00:00
bringert
998c20d098 Use ENBF to generate SRGS. 2007-01-07 23:58:41 +00:00
bringert
118468ce16 Added ETag constructor to GF.Data.XML.XML since not all tags can use the empty shorthand. 2007-01-07 23:57:29 +00:00
bringert
a68944ade0 Added test/ directory, and a test grammar for the SRG EBNF generation. 2007-01-07 23:18:12 +00:00
bringert
1b8bc71b28 Fixed bug in SRG EBNF generation. Before it assumed that all variation came from variants, and overgenerated if this was not true. 2007-01-07 23:16:32 +00:00
aarne
d18ccbf02e thai pron heuristic (not finished) 2007-01-07 22:49:55 +00:00
bringert
090bb30466 Generate more compact JSGF by converting to ENBF. 2007-01-07 20:04:39 +00:00
bringert
7c80aca735 VoiceXML generation: catch up with children array in SISR. 2007-01-07 18:31:03 +00:00
bringert
2121362124 Added unused simple VoiceXML generation. It won't work in Opera because of the lack of subdialog srcexpr attribute support. 2007-01-07 17:19:58 +00:00
bringert
37760cb24c JavaSscript and SISR abstract syntax now uses an array for the node children, instead of cheesy argN fields. 2007-01-07 17:18:50 +00:00
bringert
efb806f226 SISR code now type annotates meta variables directly in grammar, to avoid a separate type annotation step. 2007-01-05 17:34:44 +00:00
bringert
36a1998ba3 Use the GFCC type from DataGFCC when building VoiceXML. 2007-01-05 17:05:31 +00:00
bringert
4a5b088f78 Use GFCC to build VoiceXML. 2007-01-05 16:46:50 +00:00
bringert
76b852f510 VoiceXML printer no takes Options and StateGrammar, like SRG printers do. 2007-01-05 15:47:53 +00:00
bringert
6ee7296f9d Changed all SRG printer to take Options and StateGrammar arguments. This makes Custom a lot cleaner. 2007-01-05 15:38:47 +00:00
bringert
741dde5a2a Change input to the different SRG printers to be StateGrammar instead of CGrammar. This to allow looking at the types in SISR, and to reduce the number of argument passed from Custom. 2007-01-05 14:34:20 +00:00
bringert
2b1c6763cc Commented out callbacks stuff in VoiceXML generation. It was not the right thing to have. 2007-01-04 22:40:06 +00:00
bringert
2497093a5e SISR: top categories do not need the Cat_field field. 2007-01-04 20:55:13 +00:00
bringert
bead866673 SRG: when making top-level categories, handle value categories introduced by -conversion=finite. 2007-01-03 23:14:10 +00:00
bringert
7577149241 SISR: constants from conversion=finite now produce abstract syntax nodes instead of strings. 2007-01-03 22:57:20 +00:00
bringert
bf8b078a7a Updated another reference to "Regular approximation of CFLs: a grammatical view" 2007-01-03 18:28:25 +00:00
bringert
8aa283aebd VoiceXML: when checking the callbacks, use typeof to avoid errors with Opera 9.10. 2007-01-03 18:17:52 +00:00
bringert
b1cde222bf Updated reference to regular -> FA conversion. 2007-01-03 18:17:32 +00:00
bringert
475d535651 Use printname to make VoiceXML prompts. 2006-12-28 17:12:40 +00:00
aarne
1ab879764a thainum script 2006-12-28 14:36:21 +00:00
aarne
83c5b57615 corrections in thai numerals 2006-12-28 14:30:25 +00:00
aarne
cef20174f6 more thai transliteration; numeral thai grammars 2006-12-28 13:16:05 +00:00
aarne
f74d2e3928 update release procedule; start Thai transliteration 2006-12-27 14:05:21 +00:00
aarne
a1cccd7076 fixing examples and their doc 2006-12-22 14:08:01 +00:00
aarne
3a84f614a9 documented Combinators 2006-12-22 13:10:48 +00:00
bringert
7abd4c00a2 Added gfcc2c to GF repo. 2006-12-22 13:43:32 +00:00
bringert
a335b29c0a Meta variables are now treated as functions with name ? in SISR, VoiceXML and JavaScript linearization. VoiceXML now returns the partial result when update() is false. 2006-12-21 16:48:46 +00:00
bringert
51df5b8a8d Added voicexml,javascript,jsgf+sisr to gf-history and helpfile. 2006-12-21 15:00:30 +00:00
aarne
ed46bb1364 length test in overload 2006-12-21 10:38:26 +00:00
aarne
fd90fe0791 overload rules and their documentation 2006-12-21 09:25:02 +00:00
bringert
15fd1d590a Generate JavaScript type annotator. Use lindef in JavaScript. 2006-12-21 00:01:45 +00:00
bringert
7cceec0802 Fixed (final?) two bugs in the SISR generation. 2006-12-20 22:13:56 +00:00
bringert
514a8d6afa More JSGF pretty-printing. 2006-12-20 21:50:16 +00:00
bringert
642809fd3b JSGF pretty printing tweaks. 2006-12-20 21:43:41 +00:00
bringert
f07b0ef88e Use HughesPJ pretty printer to make JSGF output look nicer. 2006-12-20 21:39:25 +00:00
bringert
0353b7b7cb Make smaller SISR code for tokens. 2006-12-20 20:22:08 +00:00
bringert
e74d10952e Removed tracing from PrJSGF. 2006-12-20 20:14:46 +00:00
bringert
f9621483a0 Use LCLR algorithm for eliminating left-recursion, with lambda terms in SISR for getting trees right. 2006-12-20 20:10:15 +00:00
bringert
c7df9f4167 Added still unused implementation of Moore's LCLR algorithm for left recursion elimination. Fixed top category generation for SRG (included LR-elimination-added categories before). 2006-12-17 19:18:28 +00:00
bringert
4e592d495e Use [] in JSGF printing. 2006-12-17 18:16:20 +00:00
bringert
f252bb6090 Some clean-up in GF/Speech/TransformCFG.hs 2006-12-17 13:29:12 +00:00
aarne
0bf909b0fd overload resolution with value type, for experiment 2006-12-19 23:34:36 +00:00
aarne
2f68128323 partial application in overload resolution, with priority for full app 2006-12-19 16:32:15 +00:00
aarne
d0b392e318 gfcc with lindef (_dCat) 2006-12-19 15:34:52 +00:00
aarne
08154738fc Koji's bug fixed 2006-12-18 15:25:00 +00:00
aarne
9ab11fe720 debugging AbsCompute 2006-12-17 22:34:03 +00:00
bringert
44af93a9c9 Many fixes to JSGF format (never tested before). Implemented JSGF+SISR. Left recursion removal destroys SISR, must be fixed. 2006-12-17 13:17:17 +00:00
bringert
bd4dbfb26b VoiceXML: add _cat and _field to category names, to avoid clashing with javascript built-ins. removed debugging stuff to make maintenance easier. SRGS: changed cate and field names to match the VoiceXML change. 2006-12-16 14:19:04 +00:00
aarne
d5e2a0852d key book entry 2006-12-15 16:46:57 +00:00
bringert
215bf61115 Towards smaller SRGs when lots of variants are used. 2006-12-15 16:09:58 +00:00
bringert
1e1401472f Include update function in generated VoiceXML. Generated linearization javaScript now uses the same abstract syntax representation as SISR. 2006-12-15 16:08:39 +00:00
bringert
1f1be57279 Added NOINLINE pragma to Today.hs, to avoid forcing recompilation of modules that depend on GF.Today. 2006-12-15 14:06:42 +00:00
bringert
0b7fef1a33 Use ebnf srg generation in PrSRGS. 2006-12-12 14:01:42 +00:00
bringert
1c8e32e641 Moved profile stuff to GF.Speech.SRG, to allow other SRG formats to include SISR. 2006-12-12 11:59:12 +00:00
aarne
b61cd635de Updated version numbers. 2006-12-15 08:12:54 +00:00
aarne
fc8884a8a2 fixed some bib entries 2006-12-12 16:20:27 +00:00
bringert
87b66d5205 SRGS generation: don't include debug script stuff if debugging is disabled. Place category comments better. 2006-12-12 10:37:45 +00:00
bringert
c07300b86b SRGS+SISR: put tags after items. 2006-12-11 19:41:03 +00:00
aarne
19d5f1b2ea bib entries for the paper 2006-12-11 17:00:47 +00:00
bringert
e86aa2deb6 VoiceXML: set xml:lang (value is still fake though) 2006-12-11 16:08:15 +00:00
bringert
ce62977188 VoiceXML: print without debugging stuff by default. 2006-12-11 15:20:26 +00:00
bringert
c34c26a837 VoiceXML: don't use srcexpr in subdialogs, since Opera does not support that. Also makes fewer subdialogs nows. 2006-12-11 14:47:00 +00:00
bringert
0dc19c3139 VoiceXML: don't use subdialog srcexpr for statically know subdialogs. 2006-12-10 23:32:30 +00:00
bringert
c0db56422b Reinstate SISR field name for top-level categories. The VoiceXML generation relies on it. 2006-12-10 23:31:43 +00:00
aarne
7475c2544f some entries in gf-bib 2006-12-11 10:42:19 +00:00
aarne
b650359dbc started vr web page 2006-12-11 09:20:59 +00:00
bringert
51ed253c75 Added tag-format attribute to SRGS XML when using SISR. 2006-12-10 20:53:51 +00:00
bringert
7e8d0e49b2 Use public category with original name as SRGS start cat. 2006-12-08 20:10:28 +00:00
bringert
a4b0496378 Changed SRGS SISR printing to be closer to the current working draft standard, as supported by the WebSphere implementation (and thus Opera). 2006-12-08 19:53:44 +00:00
bringert
c038db9d7c JavaScript generation: compile all concrete syntaxes, not just the first. 2006-12-08 19:53:06 +00:00
bringert
6645233be0 Made generated JavaScript more object-oriented. Moved common JS stuff to lib/javascript/gflib.js 2006-12-06 13:52:24 +00:00
bringert
ae43c55ae0 Oops, I broke the gfcc printer. Fixed now. 2006-12-06 11:54:51 +00:00
bringert
18ec82b54d Got GFCC to JavaScript compilation working. Variants are still printed in a weird way. 2006-12-05 22:10:28 +00:00
aarne
3d68f22b95 overload refresh 2006-12-01 17:55:52 +00:00
bringert
ba13ff08d2 Added the beginnings of GFCC to JavaScript conversion. 2006-11-30 22:50:25 +00:00
bringert
c2ecc9d554 Added tags target for building a TAGS file. 2006-11-30 21:25:23 +00:00
aarne
0c5f2c1288 more in ArithmEng 2006-11-27 21:03:15 +00:00
aarne
8cd9a329fa arithm example 2006-11-27 16:43:57 +00:00
aarne
854fe0aac1 AdvS and for_Prep in resource (except Russian) 2006-11-27 16:21:27 +00:00
aarne
a5232f7e5b part of Logic implemented generically 2006-11-27 10:54:26 +00:00
aarne
c75688651e a logic library; fix in make mathematical 2006-11-26 17:14:20 +00:00
aarne
13531a66a3 improved error reporting in .ebnf format parser 2006-11-24 17:09:40 +00:00
aarne
35eaaa0da6 rename patterns bug fix 2006-11-24 09:32:16 +00:00
aarne
1d372525ea Constructors documented 2006-11-21 18:18:54 +00:00
bringert
57b39a8475 Fixed typo in Kettil's patch. 2006-11-21 14:14:24 +00:00
Ketil Malde
4615ba447c small fixes for .no numerals 2006-11-21 13:58:57 +00:00
aarne
5c3e14efbc overloading API and examples 2006-11-18 21:10:46 +00:00
aarne
9d1cc07284 normalize record types in overload resolution 2006-11-18 20:54:10 +00:00
aarne
8e07d61ccf overload syntax; type printing in CheckGrammar 2006-11-18 16:54:23 +00:00
aarne
6cee6f0591 gfcc doc url typo 2006-11-17 14:42:34 +00:00
aarne
290dbe823c doc on overloading 2006-11-17 14:39:02 +00:00
aarne
94761f409c example library using overloading 2006-11-17 14:31:29 +00:00
aarne
580f7d7995 oper overloading: first implemenatation using records 2006-11-17 13:40:55 +00:00
aarne
546e778ba8 internal representation for param value index 2006-11-14 19:13:33 +00:00
aarne
f10d657df1 bug fix with ** in Evaluation 2006-11-13 23:55:50 +00:00
aarne
ae4ba74838 an alternative lookup strategy in Compute 2006-11-13 17:52:58 +00:00
aarne
49c8a52ade robustness to gfcc interpreter ; make gfcc to bin 2006-11-12 20:48:01 +00:00
aarne
52bb034d8e thread EEnv into ShellState 2006-11-12 13:24:13 +00:00
aarne
69dba72a3e i -eval bug fixed: should work now 2006-11-12 11:31:08 +00:00
aarne
0ea31f2601 new compilation phase, not finished 2006-11-10 16:22:01 +00:00
aarne
0958c2e838 experimental new evaluation 2006-11-09 22:07:24 +00:00
aarne
d3e1295243 lookup with more information 2006-11-09 22:05:43 +00:00
aarne
2fc97fa6fa took away godis_tram from darcs 2006-11-08 15:14:47 +00:00
aarne
c94d5a5f1e corrections in finnish tram 2006-11-08 15:12:35 +00:00
aarne
eb3d750459 godis tram grammars, augmented with Fin 2006-11-08 15:08:09 +00:00
aarne
1fd0113015 real parser for Alvey grammar: new version of BigLexEng 2006-11-07 16:38:37 +00:00
aarne
e8bad7f7e0 purge in pm 2006-11-07 12:56:16 +00:00
aarne
790ad6d4a5 return ? for nonexistent fun in gfcc 2006-11-03 21:57:37 +00:00
aarne
048ef7d1d1 big lex compiles again 2006-11-03 21:47:56 +00:00
aarne
db95cbad6d bew BigLexEng (not ready) 2006-11-03 10:23:06 +00:00
aarne
c922c0c488 more accurate BigLexEng (V3 still to do) 2006-11-02 21:45:32 +00:00
aarne
3396a13ee7 new big and shallow modules 2006-11-02 17:04:35 +00:00
aarne
b8a454a7d3 shallow grammar experiment 2006-11-01 16:45:07 +00:00
aarne
81b973e197 formal rules in the compilation doc 2006-11-01 09:47:28 +00:00
aarne
264bcfb28e top-level big swedish grammar 2006-10-31 16:49:41 +00:00
aarne
a06f512e4b swedish paradigm extensions 2006-10-31 16:34:25 +00:00
aarne
daccb10def biglex experiment 2006-10-31 16:33:38 +00:00
aarne
8b753833b5 compilation doc close to final for presentation 2006-10-30 16:43:13 +00:00
aarne
f240612ef4 todo in compiler doc 2006-10-23 20:36:40 +00:00
aarne
445f448a6e on module deps in compiling doc 2006-10-23 15:21:02 +00:00
aarne
6b00e78f66 working on gf compiler doc 2006-10-22 14:17:50 +00:00
aarne
6f7617bc72 optimization of RP in gfcc; syntax for lambda 2006-10-22 11:00:38 +00:00
aarne
98e916831a doc on gfcc-lincat 2006-10-19 16:25:55 +00:00
aarne
4b528b6ee2 generated lincat in GFCC 2006-10-19 15:57:44 +00:00
aarne
6c0f599055 compiling examples for doc started 2006-10-18 09:54:17 +00:00
aarne
7dea021ece started compiling-gf 2006-10-18 08:46:44 +00:00
aarne
cbedfd152a index news 2006-10-16 14:13:52 +00:00
aarne
c3cefb4d48 record order bug fix 2006-10-11 20:44:18 +00:00
aarne
72699f446f italian disamb example 2006-10-10 20:24:15 +00:00
aarne
65fd6edb6c started disambiguation example 2006-10-10 16:43:41 +00:00
aarne
604ec0a8c9 gfcc doc 2006-10-09 07:37:25 +00:00
aarne
5028ea9d9b printing of GFCC 2006-10-07 15:56:54 +00:00
aarne
f9cc79eba6 slight change in gfcc syntax and evaluation 2006-10-07 14:08:58 +00:00
aarne
2f284deb1c gfcc.txt almost ready 2006-10-02 19:16:38 +00:00
aarne
514f732d16 removed a silly bug with gfcc generation for multiple languages 2006-10-03 16:10:07 +00:00
aarne
35b9067ed4 more commands in gfcc 2006-10-03 12:59:47 +00:00
aarne
1a86f3bb4c completed gfcc.txt 2006-10-03 09:08:33 +00:00
aarne
c8a92c74d0 started documentation of gfcc 2006-10-02 15:40:15 +00:00
aarne
537cacb36e yet another bug found and fixed in gfcc 2006-10-02 08:32:20 +00:00
aarne
e97bbc054f gfcc compilation: know bugs fixed 2006-10-01 15:41:32 +00:00
aarne
35e17afb38 param record compiler bug fixed 2006-09-30 14:17:34 +00:00
aarne
31b1321845 tracing a bug in gfcc generation 2006-09-29 15:22:20 +00:00
aarne
b39ecf4c32 new constructs in gfcc, removed lambda 2006-09-29 10:55:36 +00:00
aarne
f705205b52 resource generates exceptionless gfcc now 2006-09-26 12:53:15 +00:00
aarne
deee60f2c2 improving gfcc generation 2006-09-26 10:23:50 +00:00
aarne
be2f1ac5c8 another fix towards gfcc compilation 2006-09-25 17:18:40 +00:00
aarne
902ff81773 some fixes in gfcc compilation 2006-09-25 13:03:33 +00:00
aarne
9ae36df220 tools/c++ 2006-09-22 15:13:23 +00:00
aarne
fb89adc1cf finished compact tb format (for a C++ interpreter now) 2006-09-21 20:55:49 +00:00
aarne
2d8cff01d4 adjusting compact tb format (not yet ready) 2006-09-21 15:56:39 +00:00
aarne
e8530abb74 compact treebank format for translation systems 2006-09-20 19:59:57 +00:00
aarne
be200897b8 brute force parsing method in RunGFCC 2006-09-20 15:19:44 +00:00
aarne
5ac6f4bd78 the other direction of FCFG translation 2006-09-19 20:12:28 +00:00
aarne
8a9f2df33d monitor timeout in gfcc generation 2006-09-19 15:45:47 +00:00
aarne
7ea135378f FCFG format in BNFC 2006-09-19 12:59:33 +00:00
aarne
1242b8cc91 predef types in gfcc 2006-09-17 14:57:46 +00:00
aarne
35f81967ea random generation in GFCC 2006-09-17 13:50:41 +00:00
aarne
927ad7b135 bug fixes in multigrammar handling and GFCC generation 2006-09-16 18:42:46 +00:00
aarne
3917291e92 debugging CanonToGFCC 2006-09-15 19:29:45 +00:00
aarne
35932d5472 commented out Swadesh.other_A, which is not implemented 2006-09-15 09:48:20 +00:00
aarne
a8a43ed55c fixed some bugs in GFCC compilation; use optimize=values to import GF! 2006-09-15 09:37:18 +00:00
aarne
314d00fab3 generation in GFCC 2006-09-14 14:27:25 +00:00
bringert
429cbe1139 Removed extra comma in import list of src/GF/Speech/Relation.hs. This prevented compilation on current ghc HEAD. 2006-09-13 16:46:07 +00:00
bringert
f41c8fd2fc transferc now uses env var TRANSFER_PATH to locate imports. 2006-09-13 11:46:04 +00:00
aarne
ba950aab14 lambda in GFCC 2006-09-13 16:49:23 +00:00
aarne
a64131afbe RunGHCC for testing 2006-09-07 14:21:08 +00:00
aarne
5664f4da9e simplified recursive search of labels 2006-09-07 09:55:49 +00:00
aarne
dbc874d62f finding labels behind selections in GFCC 2006-09-06 20:09:37 +00:00
aarne
9657d57e5b overcoming problems in GFCC generation one by one 2006-09-06 12:59:09 +00:00
aarne
117a1547b7 arranging c2c 2006-09-05 20:18:35 +00:00
aarne
f1fc34daaf started translating parameters to numbers in GFCC 2006-09-05 17:11:40 +00:00
aarne
b84c129e2f eliminated one-element suffix lists in GFCC 2006-09-05 15:15:02 +00:00
aarne
62c21539db started analysing labels for GFCC 2006-09-05 13:10:55 +00:00
aarne
8484cfab1b starting GFCC format 2006-09-05 12:14:13 +00:00
bringert
1807dc4379 Added darcs add to darcs instructions. 2006-09-03 20:14:10 +00:00
aarne
39a31d07d5 the Error type; better lexer error reporting 2006-09-01 15:11:22 +00:00
aarne
04933ef3c9 the EOF error changed to more informative lexer error msg 2006-08-28 19:36:41 +00:00
bringert
df370ec7f8 Updated darcs.html with simpler instructions for current darcs versions (removed the ControlMaster stuff). 2006-08-28 12:12:21 +00:00
bringert
d71b576f6e Use mkPrep instead of mkPreposition in peace keeping grammars. 2006-08-28 11:57:19 +00:00
aarne
dc5f5811dc some more options to gt 2006-08-16 08:48:26 +00:00
aarne
6bf419c50c help for gt 2006-08-15 20:28:37 +00:00
aarne
28245481a7 Improved generation algorithm (old with -old, all with -all (-lin)) 2006-08-15 19:59:10 +00:00
aarne
6ee69593f0 started looking at gt -all, not ready 2006-06-28 12:31:16 +00:00
aarne
0555834d24 bronzeageAra 2006-06-26 11:41:04 +00:00
aarne
a78ded21d8 integrating arabic to document 2006-06-26 11:31:05 +00:00
aarne
67d9dae437 darcs push 2006-06-22 22:41:55 +00:00
aarne
2137f47bff Updated version numbers. 2006-06-22 22:36:13 +00:00
aarne
72ffc5af60 updated gfdoc 2006-06-22 22:18:56 +00:00
aarne
a003271549 cleaned up API comments for document 2006-06-22 19:57:31 +00:00
aarne
5382e222d3 integrating russian in document 2006-06-22 13:57:36 +00:00
aarne
56aa14bf60 working with resource.txt 2006-06-22 13:24:41 +00:00
aarne
f50f9ce592 preparing doc for Russian 2006-06-22 12:41:42 +00:00
aarne
1704cfa653 utf8 workaround; some restricted inheritances 2006-06-22 09:41:26 +00:00
kr.angelov
af555cc6a7 Optimized mkSingletonSelectors 2006-06-21 19:37:18 +00:00
kr.angelov
4813788a9b tail call recursive implementation of BacktrackM 2006-06-21 19:17:25 +00:00
kr.angelov
eed8c6f813 the newName variable wasn't used and now it is removed 2006-06-21 13:45:45 +00:00
kr.angelov
811621520c Some performance optimizations 2006-06-21 13:40:59 +00:00
aarne
3fd9f33323 nocf default, docf explicit or by HOAS 2006-06-21 07:55:35 +00:00
aarne
b5539fe0db romance ImpPlP1 corrected 2006-06-21 07:51:44 +00:00
aarne
a3b054778f note on Italian contracts 2006-06-20 16:51:04 +00:00
aarne
a75c3b1907 resource.txt updates ; lock field and lookup book fixes 2006-06-20 15:05:22 +00:00
aarne
402a113b56 made -fcfg default parser; added lexer textvars 2006-06-20 08:38:44 +00:00
kr.angelov
cb168e92e2 Sync FCFG with the latest repo version 2006-06-19 20:17:05 +00:00
kr.angelov
694f6eb984 code polishing for the literal category support 2006-06-08 21:23:29 +00:00
kr.angelov
98d0af8d73 add the chartAssocs function. It returns both the key and the item. 2006-06-08 21:19:40 +00:00
kr.angelov
f09e929dd1 initial support for literal categories e.g. String,Int and Float 2006-06-06 21:30:14 +00:00
kr.angelov
283379b57f support for non-linear grammars 2006-06-03 17:58:34 +00:00
aarne
fb32d7f3e9 Spanish irregular verbs 2006-06-19 13:09:15 +00:00
aarne
c07a901090 parameters in resource doc summaries 2006-06-19 11:53:38 +00:00
aarne
09c91e29d8 lock fields in DialogueI 2006-06-18 21:35:31 +00:00
aarne
d1dc04747b restored lock fields with a clearer warning 2006-06-18 19:23:00 +00:00
aarne
4204b3e4eb doc update, preparing 2.6 2006-06-17 09:53:42 +00:00
aarne
df3b453f3b tutorial edited 2006-06-16 15:29:01 +00:00
aarne
c84e19b21d tables and figures to resource.txt 2006-06-16 14:25:10 +00:00
aarne
653f571826 dep types in new tutorial 2006-06-16 08:35:24 +00:00
aarne
be0e4d6203 tutorial example of LF 2006-06-16 08:06:52 +00:00
aarne
cb3dfbd9bf updated tutorial and resource howto 2006-06-15 23:05:42 +00:00
aarne
a25c73cb1a adjustments in Paradigms ; lang-specific modules for all except Rus, Ara 2006-06-15 16:24:09 +00:00
bringert
afac97b821 Block SIGINT while running gfInteract, as suggested by Peter. 2006-06-15 01:41:18 +00:00
aarne
3efba2f5cc API module titles, resource.txt corrections 2006-06-14 21:16:06 +00:00
aarne
faeb1125a3 improved final-resource 2006-06-13 14:40:12 +00:00
aarne
876c3389d2 complete resource document 2006-06-13 10:07:16 +00:00
aarne
1395c5e359 continuing with resource.txt 2006-06-12 20:29:25 +00:00
aarne
c58fa965b4 still resource.txt 2006-06-12 18:56:12 +00:00
aarne
479132383a more work on resource.txt 2006-06-12 15:10:39 +00:00
aarne
be4e21f4b5 working on resource.txt 2006-06-12 09:02:59 +00:00
aarne
d44e420b6e more overview of linguistic structures 2006-06-10 23:00:54 +00:00
aarne
1f2310da94 started document on linguistic structures in the resource 2006-06-09 15:22:54 +00:00
aarne
a0c60530cb bug fix in MkConcrete 2006-06-08 09:54:41 +00:00
aarne
112eea3f36 updated lexicon in animal 2006-06-08 09:44:22 +00:00
aarne
00934345ed BronzeageRus 2006-06-08 08:55:53 +00:00
peb
14f9452fd8 added the file GF.Conversion.MCFGtoFCFG 2006-06-07 20:25:39 +00:00
aarne
06e8ae025e Lang modules in terms of Grammar 2006-06-07 18:37:11 +00:00
peb
da3a5d27e3 corrected bottomup MCFG parsing, added GF.Parsing.MCFG.FastActive 2006-06-07 16:18:28 +00:00
peb
55cb508a0f corrected bottomup FCFG parsing 2006-06-07 16:16:17 +00:00
peb
4009b46358 new conversion MCFG -> FCFG, new grammar printers for FCFG 2006-06-07 16:06:49 +00:00
aarne
4a3d280df5 fixed a file reading bug ; improved pi 2006-06-03 13:03:17 +00:00
kr.angelov
97dada16f6 remove the dummy (Print n) context 2006-06-03 10:31:36 +00:00
kr.angelov
81d9aea92f the constraints list in the conversion rules should be sorted too 2006-06-03 10:30:10 +00:00
aarne
c5550bd482 check circularities in ln 2006-06-03 11:51:08 +00:00
aarne
f24ec8b8c2 also count lin in oper circ check (some problems remain) 2006-06-02 15:42:57 +00:00
peb
3ddb066a55 added -fcgf grammar printer 2006-06-02 10:44:41 +00:00
kr.angelov
58bcb9e22e fix the "stack overflow" error with the Swedish grammar 2006-06-02 08:34:17 +00:00
kr.angelov
81f2e036e7 enable parsing of empty string 2006-06-01 21:37:22 +00:00
kr.angelov
d1fa17ba6b bugfix 2006-06-01 21:36:17 +00:00
aarne
501c3eed7f less recompilation of cf and morpho 2006-06-01 22:35:43 +00:00
aarne
013f3ce803 resource examples in tutorial 2006-06-01 16:16:18 +00:00
aarne
89bd3aff33 author list 2006-06-01 14:15:51 +00:00
kr.angelov
35d2d47356 update the copyright messages 2006-06-01 11:29:30 +00:00
kr.angelov
e51eaed4fd add the FCFG parser 2006-06-01 11:19:47 +00:00
kr.angelov
496f1fc876 The SLinType type is changed so that you don't have to use enumerateTerms each time when you want to know the possible table arguments 2006-06-01 10:26:49 +00:00
kr.angelov
f7d8cdfc2e Add foldBM, foldSolutions and foldFinalStates functions 2006-06-01 10:12:38 +00:00
aarne
34ca8208ac reload = r command 2006-06-01 08:16:21 +00:00
aarne
5e665fa2ac bug fixes: too much reading of files ; lin of variant records 2006-06-01 07:51:53 +00:00
bringert
0e484f094f Disable special treatment of lists in SRGS+SISR generation, since OptimTalk can't handle it. 2006-05-31 19:41:05 +00:00
aarne
c51846361f l -multi -all/-table ; same with tb 2006-05-30 22:02:25 +00:00
aarne
719e751051 BronzeageDan 2006-05-30 14:36:40 +00:00
aarne
5dc1edf50f lincat typecheck and abstract-interface extension fixed 2006-05-30 12:19:19 +00:00
aarne
e9ce09cb45 Danish lexicon and verbs complete, but inflection has to be verified 2006-05-25 21:59:00 +00:00
aarne
479e2d5ed6 cleaned up in multimodal and dialogue 2006-05-24 16:51:52 +00:00
aarne
1aa8abb074 updated dialogue to multimodal ; bug fixes in grammar compilation 2006-05-24 15:40:15 +00:00
aarne
750ef2ca30 bug fix in with-modules and gr checker; factoring out cats to Common 2006-05-23 22:20:00 +00:00
aarne
00e7c3225e bug fix in Predef.toStr compilation 2006-05-21 11:38:00 +00:00
aarne
4f9ba74f72 removed automatic lock fields - must be added by hand in places in resource 2006-05-22 15:48:59 +00:00
aarne
41519ea40b removed a large obsolete fine 2006-05-20 07:20:51 +00:00
bringert
6217a2a4d9 Imported latest config.sub and config.guess from http://cvs.savannah.gnu.org/viewcvs/config/config/ 2006-05-20 03:31:59 +00:00
bringert
b7e1e31909 Changes to make GF compile with GHC 6.5 from CVS: remove inlines use of !, change all latin-1 characters in haskell code to escapes. 2006-05-20 02:56:06 +00:00
bringert
49849d7fe3 Regenerated transfer bnfc stuff with latest bnfc, happy and alex, to be able to compile on GHC CVS. 2006-05-20 01:41:53 +00:00
aarne
25bc367f40 gfwl example 2006-05-18 15:01:43 +00:00
aarne
7fa31cc644 Wordlist format 2006-05-18 14:59:58 +00:00
aarne
747eccf2df some godis additions to dialogue 2006-05-17 21:04:54 +00:00
aarne
cc07890344 changed readme name 2006-05-16 21:18:40 +00:00
aarne
63f03f8c73 field names added to Prolog 2006-05-16 21:10:47 +00:00
aarne
29d04d8a90 extended dialogue example 2006-05-16 20:44:33 +00:00
aarne
5082ebd0f4 renamed Godis to Prolog ; added Fin 2006-05-16 18:48:46 +00:00
aarne
ecf429c593 README completed in dialogue 2006-05-16 13:13:33 +00:00
aarne
6bbd4e423a examples of dialogue system grammars 2006-05-16 13:07:41 +00:00
bringert
e1ea20277c VoiceXML generation: use cond attribute with blocks, instead of having ifs inside. Recommended by OptimSys support. 2006-04-27 09:30:59 +00:00
bringert
1db0885429 Commented out one_Det in peacekeeping grammar. 2006-04-25 15:44:43 +00:00
bringert
10bf3b1d9f Moved punctuation to a separate field, to allow spoken language grammars to omit it. Created top-level spoken language grammars. (all in peacekeeping) 2006-04-21 21:53:20 +00:00
bringert
9a51ac6ebf Peacekeeping README: added reference to "Emergency multilingual phrasebook" 2006-04-21 14:49:46 +00:00
bringert
4bc12bcde1 Peace keeping: added more lexicon words. Added this_NP and that_NP. Added some more examples. 2006-04-21 14:34:45 +00:00
aarne
f75efc970a PeacePhrase_Fin ; -p in resource Makefile 2006-04-21 15:20:03 +00:00
bringert
c4560e21b0 Build peace grammars with optimize=share to work with GF EI. 2006-04-21 13:55:19 +00:00
bringert
3c1ef84ddd Peacekeeping: moved startcat flags to top level concretes to work around problems in figuring out the startcat for CFGMs. 2006-04-21 13:16:14 +00:00
bringert
fc72f8b730 Added TODO item about startcat in CFGM grammars. 2006-04-21 13:13:28 +00:00
bringert
c4f36a024a Implemented some new words in swedish. Use english compound for police officer. 2006-04-21 12:08:10 +00:00
bringert
4bb72d9343 Changed gfdoc to: include modification time of the gf file, instead of document generation time; ignore pragmas at the start of the GF file; not put note about txt2tags in the generated html. 2006-04-21 11:49:06 +00:00
bringert
53b86102ff Changed PeacePhrases_Swe to latin-1. 2006-04-21 09:55:15 +00:00
aarne
0268576142 embedded haskelle example: query 2006-04-21 09:14:05 +00:00
bringert
028561ac2a peacekeeping: implemented the new lexicon entries in english. 2006-04-21 07:49:53 +00:00
bringert
44300844db peacekeeping: add a module with phrases which are very different in different languages, e.g. greetings. The english and swedish implementations do not yet use the resource grammars, and the finnish is empty. 2006-04-20 22:46:41 +00:00
bringert
79c0cc23e6 Added section for examples we I don't know how to handle well without overgenerating too much. 2006-04-20 22:33:47 +00:00
bringert
e75689439d Added some more words to the peacekeeping lexicon. Did not add them in the concrete syntaxes yet. 2006-04-20 22:18:35 +00:00
bringert
58a6088a4d Fixed a swedish peacekeeping missed latin-1 conversion. 2006-04-20 21:11:03 +00:00
aarne
95a672ce28 paths to parent dir ; Swe char coding 2006-04-20 21:23:13 +00:00
aarne
3ce9a4fd89 finnish peacekeeping 2006-04-20 21:04:04 +00:00
bringert
ca96cb741b Added swedish version of the peacekeeping grammar. 2006-04-20 18:27:51 +00:00
bringert
a1e2767dbe Reorganized the peacekeeping grammar. 2006-04-20 17:55:46 +00:00
bringert
f9cdc3c732 Added QuestIAdv_NP. 2006-04-20 16:43:13 +00:00
bringert
af52e49d59 PeaceKepp: added a bunch of examples. Added a few words. Added some missing syntax constructs. 2006-04-20 15:13:55 +00:00
bringert
35cd3af661 Added Quest category to PeaceKeep grammar. 2006-04-20 11:46:50 +00:00
bringert
72dbe753e0 Added the beginnings of the PeaceKeep grammar. 2006-04-20 11:13:43 +00:00
bringert
8c77d8e951 Added debugging flag to generated VoiceXML. 2006-04-20 09:46:54 +00:00
aarne
5f0b09fa08 star in morpho analysis 2006-04-19 10:04:01 +00:00
aarne
0ab646fa2f utf8 in editor 2006-04-19 09:33:39 +00:00
bringert
ccd5189766 Use quest_Cat to generate questions in the VoiceXML printer. 2006-04-19 09:03:19 +00:00
bringert
43b962f525 Disable readline support on cygwin, regardless of GHC version. 2006-04-19 08:48:54 +00:00
bringert
a663a046ed Look at both command-line and grammar startcat falgs in pg commands. 2006-04-18 12:42:20 +00:00
aarne
5ccf994499 spelling alphabet 2006-04-17 21:03:41 +00:00
bringert
6eac1e2be2 Fixed left recursion removal to not create cyclic rules. 2006-04-13 15:07:17 +00:00
bringert
dbfef31538 Removed cycles when building SRGs, to avoid getting left-recursive grammars. 2006-04-13 14:47:37 +00:00
bringert
c5d0416996 generate unique new category names when removing left recursion from cfgs. 2006-04-13 14:29:27 +00:00
aarne
8edb88dcab extended unix grammars with character-based spelling 2006-04-13 14:19:27 +00:00
bringert
47dedcf256 Fixed bug in SRG top-down filtering where the start category would be removed if it wasn't referenced by itself. 2006-04-13 14:18:13 +00:00
bringert
aa309abecf Added top-down filtering to the GSL printer. 2006-04-13 13:33:35 +00:00
bringert
293a0eb988 Added -startcat flag to the pg command. 2006-04-13 13:32:58 +00:00
bringert
97956fc13f The SLF removeTrivialEmptyNodes optimization could orphan the final node. Fixed this by not bypassing final nodes. 2006-04-12 23:22:35 +00:00
aarne
e07d9dea34 unix command grammar started 2006-04-12 21:14:32 +00:00
aarne
a42a232c57 inherent features of Int 2006-04-04 14:44:46 +00:00
peb
c437f63404 adding support for 2nd order functions in SimpleGFC format 2006-04-04 09:33:22 +00:00
aarne
f1000ca8c3 version 3 of quick reference 2006-04-04 07:41:32 +00:00
aarne
07c7333c0f editing the tutorial 2006-04-03 15:37:39 +00:00
aarne
c41537a447 date of 2.5 2006-03-31 16:41:53 +00:00
aarne
82fbc184b6 added some generation facilities 2006-03-31 16:30:44 +00:00
bringert
cb046fea18 In GSL generation: remove punctuation before LR analysis. 2006-03-31 15:52:03 +00:00
bringert
8dfa27bb6d Added colon to the list of punctuation chars in GSL generation. 2006-03-31 15:31:33 +00:00
aarne
ae30eca844 gt -noexpand 2006-03-31 13:20:40 +00:00
aarne
0b3af5175e doc/ 2006-03-29 11:58:04 +00:00
aarne
cccd3b166c reference linked 2006-03-29 11:56:02 +00:00
aarne
f69a95dbb4 reference card 2006-03-29 11:53:30 +00:00
aarne
eda051a318 gf reference 2006-03-28 17:02:00 +00:00
peb
e6beca01cb translated TODO to english, restructured to fit with todoo-mode.el 2006-03-22 12:38:47 +00:00
peb
2e25df8941 todo 2006-03-22 05:57:28 +00:00
aarne
d4c4038241 index 2006-03-21 16:52:49 +00:00
aarne
e7f325f975 unlexer bug ; "vilka" ; lib path warning ; p -lines result 2006-03-21 13:57:38 +00:00
bringert
da61e709ad Updated version numbers to 2.5. 2006-03-21 13:57:00 +00:00
bringert
789ce01032 Added release number in debian/changelog. 2006-03-21 13:49:42 +00:00
bringert
e97e112937 Set GF_LIB_PATH to the dist dir when building grammar-dist. 2006-03-21 13:20:03 +00:00
bringert
f5f230b6c0 Use date-based package name for grammar dist. Included compiled resource-1.0 in grammar dist. 2006-03-21 13:02:14 +00:00
bringert
385774a6b7 Debian package: build and install gfdoc. 2006-03-21 13:01:58 +00:00
bringert
388fd424a9 Don't rebuild java code when installing it. 2006-03-21 12:25:34 +00:00
bringert
b7f5f9d404 Updated copyright year in src/GF.hs. 2006-03-21 10:55:38 +00:00
bringert
1b28230449 Debian package: use install-gf 2006-03-21 10:49:59 +00:00
bringert
9cb1998948 Debian package: use prefix in isntall rule. 2006-03-21 10:48:54 +00:00
bringert
b87b82fbd9 Debian package: run configure and make in src/. 2006-03-21 10:30:19 +00:00
bringert
cf2c5641a2 Added beginnings of debian packaging stuff. 2006-03-21 10:25:40 +00:00
peb
6d13bb9e3c fixed bug with variants in GF.Conversion.RemoveErasing 2006-03-21 06:18:03 +00:00
peb
ab8edebcee todo 2006-03-10 05:49:30 +00:00
bringert
0419860b4e Transfer: some TODOs. Lots of minor fixes in type checking algorithm. 2006-03-20 18:23:55 +00:00
bringert
8d1543684a Some simple clarifications in the transfer type checking document. 2006-03-20 15:15:56 +00:00
bringert
eacb437f43 Expermintation woth a collections framework for transfer. 2006-03-20 14:46:47 +00:00
bringert
d760ce9738 Added some tricky transfer type checking examples. 2006-03-20 14:04:11 +00:00
bringert
2371a1fcca Transfer TODO: added (A,B : Type) argument types. 2006-03-20 14:03:34 +00:00
bringert
19af3254dc Replaced all used of Data.FiniteMap with Data.Map. 2006-03-20 12:49:31 +00:00
aarne
076c390b73 documenting nodupatom, announcing 2.5 2006-03-16 21:41:13 +00:00
aarne
5d772cbfa2 MatchTerm: testing conditions on terms, e.g. nodup 2006-03-16 21:26:22 +00:00
aarne
e658e345fd exitFailure with gf -make 2006-03-16 20:33:35 +00:00
aarne
f156073a13 method for flattening grammars 2006-03-16 15:26:37 +00:00
bringert
31fdc0d29a Updated config.sub and config.guess. 2006-03-16 09:11:12 +00:00
bringert
5da597da36 Transfer prelude: added missing type arguments to some type classes. 2006-03-15 16:48:35 +00:00
bringert
379a969f67 Fixed typo in transfer prelude: prim_eq_Str 2006-03-15 16:25:40 +00:00
bringert
626a23ac78 Use ghc-pkg field instead of latest, to work with ghc-pkg 6.4. 2006-03-14 09:31:27 +00:00
bringert
eee0f20ea8 Transfer reflexive example: added ideal version. 2006-03-13 10:56:45 +00:00
bringert
941a9f35ba Added transfer example: constructing reflexives. 2006-03-13 10:53:44 +00:00
aarne
c5eea4b375 example index 2006-03-10 10:05:49 +00:00
priesnit
eca7de185a Added SwadeshGer. 2006-03-09 17:01:12 +00:00
peb
00d3d0b27d fixing prolog printing 2006-03-09 12:39:11 +00:00
peb
641fa54ddc inferred constants in profiles 2006-03-09 11:32:52 +00:00
peb
960d4f1e78 added todo 2006-03-08 05:41:18 +00:00
aarne
dc53739149 todo 2006-03-07 20:12:23 +00:00
aarne
3c11bdfd1d merging Lexicon with Swadesh 2006-03-07 18:26:47 +00:00
aarne
0112bfb284 changed regN to be always of type Str -> N 2006-03-07 10:59:39 +00:00
aarne
7d2a9992f3 more treebank options; updated history 2006-03-06 21:27:49 +00:00
bringert
a961739bbf Transfer type system: some random changes 2006-03-06 16:55:22 +00:00
aarne
611f24d4df working on ExTramI and german verbs phrase 2006-03-06 15:36:09 +00:00
aarne
65d841bc1b make help and treebank options 2006-03-05 20:30:37 +00:00
aarne
2657c51e04 example based also with treebank, with real term parser 2006-03-04 22:14:33 +00:00
aarne
84e01c303d proper place of -treebank option 2006-03-04 15:24:03 +00:00
aarne
3589e352cc treebank creating script; duplicated consonants in LexiconEng 2006-03-04 14:58:11 +00:00
aarne
3ff765620c distinguished uni and multi treebanks 2006-03-03 20:51:03 +00:00
priesnit
e6f115a300 continuation of environment variable patch 2006-03-02 22:47:45 +00:00
priesnit
434053ac2c GFHOME must now be set in the environment
minor change in German numbers
2006-03-02 20:53:44 +00:00
bringert
f568dbcf64 Transfer type checking algorithm: started on conversion. 2006-03-03 15:56:15 +00:00
bringert
54542c8423 Transfer type checking: Added some notation explanation. Added constructor context. Added proper pattern checking operation. 2006-03-03 10:56:34 +00:00
bringert
0dfd55a30d SRGS generation: use XML module escape mechanism. Added beginnings of a not yet working SRGS minimization function. 2006-03-03 10:40:53 +00:00
bringert
11cba226ea Towards a working VoiceXML generator. 2006-03-03 10:40:23 +00:00
bringert
cbcdc01380 XML module: added CData support. Escape stuff that needs to be escaped in XML. 2006-03-03 10:38:49 +00:00
bringert
0453d5c45e Transfer: added beginnings of a type checking algorithm description. 2006-03-03 10:37:59 +00:00
bringert
145e0a4c82 Transfer: Removed PType from source and core languages. 2006-03-03 10:34:15 +00:00
aarne
6c5763615f several treebanks in shell state 2006-03-02 20:27:42 +00:00
aarne
32508e37b3 treebanks in shell state: i -treebank and lt 2006-03-02 17:19:36 +00:00
aarne
35aac815db tb -trees ; rl ; path in gfe ; removed spurious "file not found" 2006-03-02 09:55:50 +00:00
aarne
c30936dc16 refreshing gfe example 2006-03-01 17:36:34 +00:00
aarne
8cf236bfbb ResourceHOWTO updafed 2006-03-01 16:17:19 +00:00
bringert
c01ff143f4 Remove superfluous space in transfer let description. 2006-03-01 12:52:23 +00:00
bringert
4cb90a0c69 Transfer reference: remove type annotations in let. 2006-03-01 12:51:10 +00:00
bringert
41db0b588e SwadeshEng: give_V uses "to" 2006-02-28 19:47:42 +00:00
bringert
0814cf42a2 SwadeshSwe: know = känna. 2006-02-28 19:44:13 +00:00
bringert
6233a27c56 Swadesh: fog is a MassN. 2006-02-28 19:29:48 +00:00
bringert
5aa2ae4271 SwadeshSwe: give_V = ge till. 2006-02-28 19:25:38 +00:00
bringert
b81bd14d34 Swadesh: made fat MassN and guts N. 2006-02-28 19:25:02 +00:00
bringert
a632b947a6 SwadeshSwe: changed far_Adv to långt (was långt borta). 2006-02-28 19:19:53 +00:00
bringert
237af833a0 Swadesh: changed smell_v from V2 to V. 2006-02-28 19:18:01 +00:00
bringert
4c6994d0c7 Swadesh: fight_V is now "slåss med" in swedish. 2006-02-28 19:11:27 +00:00
bringert
4aa6113d57 Fixed morphology of swedish "mun". 2006-02-28 19:07:54 +00:00
bringert
ec217d9b6e Guessed implementation of left and right in spanish, french and italian. 2006-02-28 19:02:43 +00:00
bringert
cd1fcf61c3 Swadesh: added MassN category and made some nouns MassN instead of N. Removed some unused instantiations from Bronzeage??? modules. Swadesh: left and right are now Ord instead of A. Bronzeage: all pronouns as NP. 2006-02-28 18:49:04 +00:00
bringert
b90629b765 Fixed salt_N is swedish. 2006-02-27 21:34:02 +00:00
bringert
57f323e167 Print grammar names in translation exercise lists. 2006-02-27 20:45:54 +00:00
bringert
e85fb4bf69 VoiceXML generation: fixed threading of existing values through subdialog calls. 2006-02-06 16:45:59 +00:00
aarne
f24ab0fe79 adjustments and clean-up in resource 2006-02-26 18:43:13 +00:00
aarne
70ac18e908 bug fixed (?) in compilation 2006-02-26 11:16:53 +00:00
aarne
38a2d080f9 bronzeage 2006-02-25 23:23:05 +00:00
aarne
a911adada0 documenting the library 2006-02-25 22:58:55 +00:00
aarne
281f57112a directories of precompiled libraries under lib 2006-02-25 21:12:59 +00:00
aarne
3cbd135010 resource specialized to present tense ; preprocessor flag 2006-02-25 18:59:32 +00:00
aarne
56a9e025d5 bronzeage README ; topological sorting of abstract modules 2006-02-24 15:49:14 +00:00
aarne
e8b4d1697d bronzeage 2006-02-24 13:57:41 +00:00
aarne
f4775347f9 swadesh adjustments 2006-02-24 10:12:49 +00:00
aarne
22be1f33d5 swadesh migrated 2006-02-23 22:39:35 +00:00
aarne
d4a4c783dd templates for German 2006-02-23 18:06:15 +00:00
aarne
0215c2fdc3 started Swadesh in 1.0: Eng and Swe ready (also stoneage1) 2006-02-23 17:46:49 +00:00
aarne
c5666fabdd the -gfc option 2006-02-23 09:58:59 +00:00
aarne
97485761cb completed Multimodal and Tram with new languages 2006-02-23 09:16:11 +00:00
aarne
b30e817e55 tram using compiled resources 2006-02-22 22:29:11 +00:00
aarne
c2636ea968 testing precompiled libraries 2006-02-22 11:13:42 +00:00
aarne
13672549f8 Tense to Common ; Idiom ; Text 2006-02-20 22:11:57 +00:00
aarne
4e574703de nocf flag ; mathematical API 2006-02-14 21:19:24 +00:00
aarne
b087db0871 Romance clitics almost OK ; bug fix in tb -c 2006-02-14 20:42:36 +00:00
aarne
167a6dd60a test probabilities for resource; rounding of prob sum 2006-02-09 10:54:07 +00:00
aarne
fd9da86d24 added timeout to gr -cf 2006-02-08 22:43:07 +00:00
aarne
f916352116 testing treebanks 2006-02-08 21:58:36 +00:00
aarne
c9ae662c24 numeration in treebank 2006-02-08 14:05:46 +00:00
aarne
98b24d0e33 command tb for creating treebanks 2006-02-08 10:18:00 +00:00
aarne
85910ef776 Most of Finnish done. 2006-02-06 20:44:41 +00:00
aarne
8876a6a8db intro to gf-formalism 2006-02-06 08:28:20 +00:00
bringert
9bae44c37d Moved general XML stuff to GF.Data.XML. Started working on VoiceXML generation. 2006-02-03 18:43:06 +00:00
aarne
074efc5cd7 started talk for Paris 2006-02-03 14:46:27 +00:00
aarne
adad6f44b7 gf-formalism.html 2006-02-02 13:17:01 +00:00
bringert
bdf602b95c SRGS: add top-level rules for each GF category. 2006-02-01 19:00:48 +00:00
bringert
8cd03874f6 Include GF version and compile date in SRGS meta creator tag. 2006-02-01 18:09:47 +00:00
bringert
a26ccb40bd SRGS semantic results for list categories is now an array. 2006-02-01 18:03:13 +00:00
bringert
fd0dfd7d4d First version of SRGS with semantic tags. 2006-02-01 16:23:14 +00:00
bringert
992e212bcc Escape backslashes and double quotes in SRGS attribute values. 2006-02-01 10:24:37 +00:00
bringert
36492443e9 Set xml:lang in SRGS grammars to the value of the language flag. 2006-02-01 10:16:40 +00:00
aarne
e59bad1f19 math API; lock field warnings 2006-01-31 17:10:31 +00:00
aarne
755a3d4ccc Math to mathematical/Symbol 2006-01-31 14:04:38 +00:00
aarne
5c9b9213d0 shortcuts on index page 2006-01-31 13:41:15 +00:00
aarne
c04e8739c0 gslt sem 2006-01-29 10:22:31 +00:00
aarne
0839a2ce18 gslt talk 2006-01-27 14:52:20 +00:00
aarne
443f86ba4d Norwegian 2006-01-26 13:57:22 +00:00
bringert
ad65c86860 Updated GHC version requirement and file names for GF 2.4. 2006-01-26 12:06:24 +00:00
aarne
b830e47608 cheese.s in tutorial 2006-01-25 15:03:11 +00:00
aarne
7c11be5683 el date 2006 2006-01-25 14:19:18 +00:00
aarne
b2416daa0c el date 2006-01-25 14:18:49 +00:00
aarne
bdc36fe5f9 link to emacs mode 2006-01-25 14:07:11 +00:00
aarne
f7c3729106 documentation varia 2006-01-25 14:04:39 +00:00
aarne
32a0a9ac0f optimization of selection computation 2006-01-24 20:36:37 +00:00
aarne
e8d50c3841 the parser can read .gfm files (but they are not yet compiled all the way) 2006-01-24 15:18:46 +00:00
aarne
bcb62c87c5 completed French ordinals and thereby French/Romance 2006-01-24 12:55:30 +00:00
aarne
5a84f996b0 French close to complete; reported on regexp bindings 2006-01-23 16:38:42 +00:00
aarne
a5cd07e026 clean up tram; report German 2006-01-22 21:30:26 +00:00
aarne
2a0a60ef8f working towards tram in 4 langs 2006-01-20 23:03:50 +00:00
bringert
92f22c8f5c Use right start category names in si command. 2006-01-20 18:20:02 +00:00
bringert
0f6c51f741 Report errors in at command. 2006-01-20 18:18:49 +00:00
aarne
c9ed0c4218 more french 2006-01-20 16:56:38 +00:00
aarne
60d7d16906 started romance predication; some restructuring of modules; CheckGrammar value table bug fix 2006-01-20 10:54:38 +00:00
aarne
62105801a1 workaround for a compilation bug for param defs (to be fixed) 2006-01-19 17:27:46 +00:00
aarne
ae1d654a5b indexing the new resource document 2006-01-18 18:26:07 +00:00
bringert
d4d89c72f3 Use cat and language in ATK si. Support language switching with ATK. 2006-01-17 02:13:57 +00:00
aarne
74c5d41152 incompleteness warning and PNeg in CheckGrammar 2006-01-16 09:47:08 +00:00
aarne
90c7caa788 type checking pattern bindings 2006-01-13 13:47:15 +00:00
peb
acd24331af peb 2006-01-13 08:42:25 +00:00
aarne
7752543f04 API documentation and slight change in Det syntax 2006-01-10 15:39:20 +00:00
aarne
59c4536d5e fixes in multimodal document, last section 2006-01-09 19:30:27 +00:00
aarne
7fbaae3350 matching empty string fixed 2006-01-09 09:22:39 +00:00
aarne
316802e52c html version of multimodal doc 2006-01-08 20:51:32 +00:00
aarne
cba2b83ded multimodal document revised 2006-01-08 20:50:56 +00:00
aarne
54d77b022f multimodal grammar document 2006-01-08 18:57:17 +00:00
aarne
4dec64349a regex in the tutorial 2006-01-07 20:53:47 +00:00
aarne
00ea4e3dcd documenting regular patterns 2006-01-07 15:42:13 +00:00
aarne
d133e0353c regular expression patterns 2006-01-07 14:39:40 +00:00
aarne
4e42d73ee5 regex patterns for tokens 2006-01-07 12:26:11 +00:00
aarne
a641bf4004 documenting CC patterns 2006-01-06 22:19:02 +00:00
aarne
88b09b8ae0 concatenation string patterns 2006-01-06 21:49:25 +00:00
bringert
3bf8e5ce6f Fixed-point iterate unneccessary node removeal. 2006-01-05 20:55:13 +00:00
bringert
dc3f7e1d61 Generate monolithic FAs by expanding an MFA. 2006-01-05 20:35:22 +00:00
bringert
7faaa9772b Added monolithic SLF builind back in. 2006-01-05 19:34:12 +00:00
bringert
7ee1ba0001 Sort sub-networks topologically. HTK's HBuild seems to require this. 2006-01-05 19:03:31 +00:00
bringert
ca84f92302 Remove unused sub-networks when generating multiple FAs. 2006-01-05 17:46:30 +00:00
bringert
bffc7df07e Remove more unneccessary nodes in SLF networks. 2006-01-05 16:48:55 +00:00
bringert
12187f684e Refactored Graph module. Remove some unneccessary states in slf networks. 2006-01-05 16:35:04 +00:00
bringert
a373760ebb Use language flag to select the acoustic model to use with ATK. 2006-01-05 16:34:35 +00:00
bringert
5c0d9d52b3 Print slf_graphviz with subgraphs. 2006-01-05 12:59:36 +00:00
bringert
a4ba93cc55 Build SLF networks with sublattices. 2006-01-04 21:41:12 +00:00
bringert
e22275d467 Regenerate Transfer abstract syntaxes with updated BNFC. 2006-01-03 10:29:47 +00:00
bringert
14079a9d7c Finite state networks: more strictness. alternative (still unused) implementation of reachable. 2005-12-29 21:35:40 +00:00
bringert
d854890820 Fintie state networks: fixed stack overflow problem with strictness in Graph and FiniteState. Some clean-up and smaller performance fixes. 2005-12-29 20:24:34 +00:00
bringert
f4f1f04123 Finite state networks: replace some lookup tables with maps. Rewrite closure for speed. 2005-12-29 16:29:21 +00:00
bringert
5ad1ca8827 Finite state minimization: improved performance by using Set State instead of [State] as DFA labels. 2005-12-29 15:55:48 +00:00
bringert
cb5e52bd2e Finite state network generation: reimplemented getOutgoing using Data.Map to improve performance of minimize with large networks. 2005-12-29 13:33:58 +00:00
bringert
e32472a9bb Some performance improvements in the FA generation. 2005-12-22 23:16:15 +00:00
bringert
29ba681242 Some tracing and formatting stuff looking for the the stack overflow problem in the FA generation. 2005-12-22 18:04:05 +00:00
aarne
81aad9adeb mailing list 2005-12-22 20:24:33 +00:00
aarne
0f85146395 nosignal 2005-12-22 19:48:17 +00:00
aarne
ddc4b8803b newline in welcome 2005-12-22 18:27:27 +00:00
aarne
7b90174976 Updated version numbers. 2005-12-22 18:14:39 +00:00
aarne
3a753f926a moments 2005-12-22 18:05:00 +00:00
aarne
aa59c14b5a Hebrew Letter; news on index 2005-12-22 18:01:35 +00:00
aarne
58d1fa84c5 moved obsolete files; updated umlaut help 2005-12-22 17:27:00 +00:00
aarne
14f70e478d version number, encoding 2005-12-22 16:46:38 +00:00
aarne
b4fe6336af preparing for release in doc 2005-12-21 20:40:03 +00:00
aarne
89ec5b808b parsing escaped strings from command line fixed 2005-12-21 19:46:48 +00:00
bringert
f4c5fcf44a More details about the si command. 2005-12-21 11:48:28 +00:00
aarne
c15ee36f74 html version generated 2005-12-21 09:29:20 +00:00
aarne
e6f46da89b batch mode in tutorial 2005-12-21 09:28:28 +00:00
aarne
24953789b0 bug fix in updateShellState 2005-12-21 09:20:53 +00:00
aarne
8c9e6e2219 history update 2005-12-21 08:08:25 +00:00
aarne
59ee1bfd7c full disjunctive patterns ; more prec levels for Exp 2005-12-20 22:38:38 +00:00
bringert
7383e6d93e Don't import toLower in PrSLF. 2005-12-20 15:17:43 +00:00
aarne
25b3168437 CS's system S 2005-12-20 14:20:42 +00:00
aarne
774abf612d typo fix 2005-12-19 17:05:42 +00:00
aarne
b1480a4ef1 wrote on resource in tutorial 2005-12-19 17:01:39 +00:00
aarne
bfbe2e3d47 resource examples 2005-12-19 16:31:40 +00:00
aarne
7878cd5e0a diagrams 2005-12-18 21:29:55 +00:00
aarne
3d9a05f843 txt2tags result 2005-12-18 21:27:23 +00:00
aarne
6398140d0a new tutorial example 2005-12-18 21:26:21 +00:00
aarne
a205829623 end of tutorial sketched 2005-12-17 22:21:23 +00:00
aarne
14defedc65 tutorial; mkMorpho bug fix 2005-12-17 20:44:20 +00:00
aarne
d3157ad7e7 morpho in tutorial 2005-12-17 12:33:15 +00:00
aarne
c9264a4e1f progress in tutorial 2005-12-17 12:32:15 +00:00
aarne
5161a93ae8 tutorial goes on 2005-12-16 21:19:32 +00:00
aarne
7110ad70cc tutorial Tree 2005-12-16 20:27:01 +00:00
aarne
fd917d04ea tutorial elaboration 2005-12-16 20:25:52 +00:00
bringert
74792360f1 ATK: set CMNDEFAULT programmatically. Requires latest version of atkrec. 2005-12-16 15:13:37 +00:00
bringert
068180ecc0 Include atk config file in GF. Use environment variable to find the file. 2005-12-16 14:17:39 +00:00
aarne
9ebdba894b work on tutorial 2005-12-16 14:10:32 +00:00
aarne
43f43a176b resource mp3 document 2005-12-16 13:32:04 +00:00
bringert
9e19f5ab44 ATK: prepare for supporting multiple languages. 2005-12-16 13:05:56 +00:00
bringert
ed3700c5b3 Fixed conflict from Aarne's ATK path changes. Added NOILINE pragma to ATK initialized variable. 2005-12-16 09:54:31 +00:00
bringert
82cb712132 Use ATK_HOME variable to find resources. 2005-12-14 15:11:26 +00:00
aarne
e3a896685c tutorial in txt format 2005-12-15 15:45:42 +00:00
aarne
1acf3636d3 mp3.gfcm 2005-12-14 16:51:25 +00:00
aarne
f4cd764f2a mp3 example 2005-12-14 16:28:57 +00:00
bringert
cee5ee4b66 Fixed arguments of NoSpeechInput.recognizeSpeech so that GF compiles without ATK. 2005-12-14 14:53:28 +00:00
bringert
f996c8b186 Added explicit type signature to GF.System.NoSpeechInput.recognizeSpeech. 2005-12-13 21:09:29 +00:00
bringert
5a480fac52 Added semi-working speech_input command. 2005-12-13 21:03:56 +00:00
aarne
9f867c4922 float parsing fixed 2005-12-11 17:48:55 +00:00
aarne
8ee11c0e7e tram with new API 2005-12-09 16:29:49 +00:00
aarne
5766d566a8 multimodal for Swedish 2005-12-09 16:28:45 +00:00
aarne
f63542c17f gfdoc for tags 2005-12-09 14:18:32 +00:00
bringert
bf44a7aae3 Use tags in SLF generation to get out a parsable string. 2005-12-09 13:35:50 +00:00
aarne
7e1bf1dbd8 doc/ 2005-12-09 13:31:05 +00:00
aarne
313791d016 compiler example in index 2005-12-09 13:29:45 +00:00
aarne
08814d1d5a formats in index 2005-12-09 13:23:39 +00:00
aarne
438268c15a dashed and box 2005-12-09 13:12:19 +00:00
bringert
dc54207d3b Transfer compiler: rename variables before doing any substitutions. 2005-12-09 13:06:05 +00:00
bringert
ccfe7fb119 Transfer: changed syntax to remove the mandatory type annotation in let. 2005-12-09 11:45:57 +00:00
bringert
ce8376885c Regenerated gf-compiler-png with Aarne's and my changes. 2005-12-09 11:05:53 +00:00
bringert
1637695529 Added more steps in the speech grammar part of the GF compiler graph. 2005-12-09 11:04:53 +00:00
aarne
1b00603a8b more compiler data 2005-12-09 11:04:01 +00:00
bringert
bbd3222a6b Added note about Transfer being experimental. 2005-12-09 10:56:07 +00:00
aarne
e964a4d3ca doc on chart 2005-12-09 10:48:35 +00:00
aarne
12aa64ec7d doc on GF compiler 2005-12-09 10:46:59 +00:00
aarne
04b27db949 doc on embedded 2005-12-09 10:00:24 +00:00
aarne
d0737c7114 mcfg 2005-12-09 09:25:20 +00:00
aarne
129ad92662 link to GF prolog 2005-12-09 09:23:51 +00:00
bringert
cb18297ace SLF generation: make sure that there is only one final node, and that it is actually final. 2005-12-08 16:01:13 +00:00
bringert
913a15a083 Set encoding in txt2tags documents to utf-8. 2005-12-08 10:04:34 +00:00
bringert
a282336de6 Transfer: fixed bug in prelude partition. Fixed naming of tuple field names, made it 1-based as in docs, instead of 0-based as before. 2005-12-08 09:45:17 +00:00
bringert
df5ce0a256 Transfer: Added compile_all.sh. 2005-12-08 09:39:36 +00:00
aarne
feb2265d8f document on main index 2005-12-08 09:01:58 +00:00
aarne
4520420e00 documentation document 2005-12-08 08:59:24 +00:00
aarne
b25eb5c7c3 removing obsolete doc/book 2005-12-08 08:20:09 +00:00
aarne
d9d20326ce removed obsolete index file 2005-12-08 08:18:04 +00:00
aarne
a5f90fa0fc more Scandinavian 2005-12-07 18:59:35 +00:00
bringert
63f19f992d Transfer reference: first proof reading fixes. 2005-12-07 12:24:30 +00:00
bringert
84d60f7602 Transfer reference: operators, overloading 2005-12-07 11:53:29 +00:00
bringert
56a00d37dd Transfer: derive Eq Bool 2005-12-07 10:11:41 +00:00
bringert
09e62111fd Transfer reference: added list patterns, do notation. 2005-12-07 10:03:18 +00:00
bringert
06c3d3e004 Transfer reference: added metavariable section and implementation status section. 2005-12-07 09:46:21 +00:00
bringert
67395b24d9 Transfer tutorial: conjunction, not conjugation. 2005-12-06 22:51:00 +00:00
bringert
c703a92136 Transfer: Changed transfer program file extension from .tr to .tra to avoid collision with Troff file extension. 2005-12-06 16:33:40 +00:00
bringert
ee4adf5ba8 Simple transfer tutorial touch-up. 2005-12-06 16:26:55 +00:00
bringert
41aaed58d4 Moved transfer documentation to doc/. Added sections and text to transfer tutorial and reference. Added script for generating html from txt2tags files. 2005-12-06 16:23:29 +00:00
bringert
1094204640 Transfer: Fixed BNFC's layout resolver to not insert semicolon at end of line if there is one already. 2005-12-06 16:19:29 +00:00
bringert
cec34b7924 Transfer: fixed syntax error in prelude definition of partition. 2005-12-06 15:59:43 +00:00
bringert
5be879dd54 Transfer: Changed BNFC's layout syntax resolver to add a semicolon at EOF if using top-level layout sytax. Changed transfer syntax to use this to force semicolon after imports when pretty printing transfer. transfer grammar printer now produces Transfer syntax, not core. It also imports prelude and includes Eq and Compos instances. 2005-12-06 15:57:43 +00:00
bringert
54b8d70443 Transfer: moved pair stuff to prelude. Added partition function. 2005-12-06 12:39:11 +00:00
aarne
a6dc944356 opers in cnc 2005-12-06 12:39:36 +00:00
bringert
54671579f5 After suggestion from Jordi: note that darcs pull should be done inside the local repository. 2005-12-06 12:23:54 +00:00
aarne
66caf2aa65 bug fix in Shell commands at, wt 2005-12-06 11:46:35 +00:00
aarne
9db6f69d0a multimodal resource recreated for new API 2005-12-05 18:31:15 +00:00
bringert
6c9b2bf6df Added beginnings of a transfer language reference. 2005-12-05 18:01:59 +00:00
bringert
71349c1c5b Removed variable for the type argument of List. 2005-12-05 17:35:32 +00:00
bringert
f4a28c94aa Renamed transfer compiler and interpreter. 2005-12-05 16:53:27 +00:00
bringert
56e9e45171 Changed test.tr to run a fibNat test. 2005-12-05 16:52:56 +00:00
bringert
7c24fcb38f Added aggregation example. 2005-12-05 16:45:11 +00:00
bringert
747271941a Added tuple expressions and patterns. 2005-12-05 16:44:56 +00:00
aarne
066d5bb0a9 tidy up res; bug fix in ShellState.addTransfer 2005-12-05 16:14:12 +00:00
bringert
ddc8d5d0cc Transfer: fixed Eq derivation to at least work for GF-generated Tree types. 2005-12-05 14:14:19 +00:00
bringert
983aef132b Transfer added guards and Eq derivation. 2005-12-02 18:33:08 +00:00
aarne
dea5158cbf floats in GF and GFC (parsing user input still doesn't work) 2005-12-02 13:13:14 +00:00
bringert
50ddb387f4 Added some differences between Cayenne and Transfer to transfer README 2005-12-02 13:05:02 +00:00
bringert
6cba6eb004 Make words in SLF language models upper case. 2005-12-02 12:55:24 +00:00
bringert
6b536cf07a Transfer: removed list syntax from TODO. 2005-12-01 17:28:50 +00:00
bringert
396cc63cfc Added list patterns. Added som simple prelude functions. 2005-12-01 17:27:06 +00:00
aarne
8de44f741e EInteger 2005-12-02 08:46:30 +00:00
aarne
b1f6099025 rearranging resource-1.0 2005-12-01 21:18:42 +00:00
aarne
d3e74d9aa9 document update 2005-12-01 20:38:22 +00:00
aarne
9fcef260a1 updating documentation 2005-12-01 20:31:25 +00:00
aarne
13855da238 history link 2005-12-01 18:01:22 +00:00
aarne
da22eac180 making apply_transfer work 2005-12-01 17:58:31 +00:00
bringert
56f62f31d8 Transfer: Added Double type. 2005-12-01 16:55:57 +00:00
bringert
d15acf44b6 Transfer: remove disjunctive patterns from TODO. 2005-12-01 16:19:43 +00:00
bringert
635845eed8 Transfer: added support for disjunctive patterns. 2005-12-01 15:37:47 +00:00
bringert
30bb51372f Added binary numeral grammars. 2005-12-01 13:11:01 +00:00
bringert
bb82938d72 Transfer: removed some fixed TODOs. 2005-12-01 11:32:09 +00:00
bringert
4a40cf9861 Transfer: moved stuff around in prelude. Added some new simple instances. 2005-12-01 11:30:15 +00:00
bringert
01028ce52d Transfer: Added Add instance for lists. 2005-12-01 11:18:05 +00:00
bringert
938318d72b Fixed layout stop word bug. 2005-11-30 21:30:36 +00:00
bringert
71fb2c16cd Transfer: added example which makes the layout resolver go wrong. Added binary conversion from numerals. 2005-11-30 21:02:44 +00:00
bringert
7dfa184285 Added bind operators, do-notation, a cons operator and list sytnax. 2005-11-30 20:27:01 +00:00
bringert
d92a26fc9b Added monad isntances for List and Maybe. 2005-11-30 18:57:23 +00:00
bringert
12ca29b32b Transfer: derive instances, not functions. 2005-11-30 18:42:45 +00:00
bringert
01d1715994 Transfer: added monad class. fixed Compos class types. 2005-11-30 18:40:29 +00:00
bringert
a68cd282cb Transfer: reimplement operators with type classes. 2005-11-30 17:40:32 +00:00
bringert
94b99219b8 Transfer compiler: don't load the same module twice. 2005-11-30 17:40:11 +00:00
bringert
3139bd2a2e Transfer compiler now has a search path. Use -ipath to add to the path. Created CompilerAPI. 2005-11-30 16:32:13 +00:00
bringert
cba2fcb9b1 Moved transfer libraries to transfer/lib 2005-11-30 16:00:06 +00:00
bringert
86df2a69b1 Moved class stuff to prelude. 2005-11-30 15:51:43 +00:00
bringert
48b70b2d9b darcs.txt: mention that several patches can be sent at once. 2005-11-30 13:27:53 +00:00
bringert
eaf65c4e6a Transfer: Ord extends Eq. 2005-11-30 13:20:04 +00:00
bringert
b6ee983432 Fixed typo in overload.tr. 2005-11-30 13:18:43 +00:00
bringert
b846b4c4fd Transfer: fleshed out overloading examples. 2005-11-30 12:34:14 +00:00
bringert
71b77a5481 Added transfer Maybe module. 2005-11-30 12:28:50 +00:00
bringert
f2e0c40f5b Remove more useless pattern matching and variable bindings in transfer compilation. 2005-11-30 12:04:21 +00:00
bringert
afffb0367b Transfer: removed some fixed TODOs. 2005-11-29 19:43:57 +00:00
aarne
68d4cc143f added transfer cases 2005-11-30 09:14:07 +00:00
aarne
ac08470c22 transfer added to GF command interpreter[ 2005-11-30 09:04:45 +00:00
bringert
9db05c57f8 Added example of composOp overloading to overload.tr. 2005-11-29 19:43:00 +00:00
bringert
d0d110ed6a Added patterns with guards to transfer TODO. 2005-11-29 19:42:43 +00:00
bringert
9a2dea46d1 Use rec and sig for records. 2005-11-29 18:16:33 +00:00
bringert
5b9249a422 Split widesnake example. Changed examples to use rec and sig keywords. 2005-11-29 18:15:15 +00:00
bringert
f6159d4bff Added stoneage transfer example. 2005-11-29 17:42:43 +00:00
bringert
9cc9a1fa8b Transfer: let expressions caused non-termination due to excessive strictness, fixed. 2005-11-29 17:40:43 +00:00
bringert
f85a51515d Transfer: added derive composFold 2005-11-29 17:08:43 +00:00
bringert
3374034bbf Transfer: support printing meta variable values. 2005-11-29 17:08:08 +00:00
bringert
c756b75ad8 Transfer: don't eta-expand overshadowed constructors. 2005-11-29 17:07:17 +00:00
bringert
68411f04f9 Fixed type argument to recursive call in generated composOp. 2005-11-29 16:10:52 +00:00
bringert
0d0c7e5b2d Added numerals example. 2005-11-29 16:00:52 +00:00
bringert
bc2c57f5dc Made layout test example more compilcated. 2005-11-29 15:57:51 +00:00
bringert
ba9461090e In transfer beta reduction optimization: reduce bottom-up instead of top-down. 2005-11-29 15:56:35 +00:00
bringert
eef20fa404 Added meta variables to transfer front-end and core. 2005-11-29 15:48:13 +00:00
bringert
2be80a7e3b Transfer generation: cat constructors should not have tree types. 2005-11-29 14:55:45 +00:00
bringert
dc06abd643 Transfer data type generation now uses the Tree type constructor for data constructor types. 2005-11-29 13:59:27 +00:00
bringert
3564aa406b Added GrammarToTransfer. It works, except that the constructor types are missing Tree here and there. 2005-11-29 12:22:40 +00:00
bringert
19f052723f Added TODO about layout bug. 2005-11-28 23:03:22 +00:00
bringert
967891cfd7 Transfer compiler: extended variable removal to variables bound in case expressions. 2005-11-28 23:02:04 +00:00
bringert
884055566e Transfer compilation: Change varibles which are not used to wildcards. 2005-11-28 22:39:53 +00:00
bringert
cb6f3088b5 Fixed transfer composOp generation to support tree types that don't take a single type argument. 2005-11-28 22:31:09 +00:00
bringert
5d7bcac1e5 Changed precedence of projection to be higher than application. 2005-11-28 21:45:58 +00:00
bringert
02c23401a7 Changed all example programs to use layout syntax. 2005-11-28 21:45:22 +00:00
bringert
5a82068ddc Regenerated transfer layout syntax module with bug-fixed BNFC. Fixed printing of tokens in correct positions in the layout test program. 2005-11-28 21:25:03 +00:00
bringert
2455b73559 Changed exp.tr to use layout syntax and the Cat type. 2005-11-28 21:24:31 +00:00
bringert
8535445a81 Removed interpreter API TODO. 2005-11-28 19:15:27 +00:00
bringert
9fe010ce58 Removed BNFC layout fix from transfer TODO. 2005-11-28 19:12:50 +00:00
bringert
101f43dcd4 Cleaned up closure stuff in the transfer interpreter. 2005-11-28 19:12:15 +00:00
bringert
e74fc3a3b5 Add instructions about compressing patches. 2005-11-26 01:36:32 +00:00
bringert
2f5ee5b6ef Added evaluateExp and builtin to InterpreterAPI. Check for EOF in interactive transfer interpreter mode. 2005-11-25 18:02:36 +00:00
aarne
fe1fdf3afd questions and transfer in shell state 2005-11-25 17:40:51 +00:00
bringert
dbe8e61acc Move transfer into the GF repo. 2005-11-25 16:36:19 +00:00
bringert
fe2731e5f8 Added note about read-write access on Windows. 2005-11-24 16:27:43 +00:00
bringert
bb573d016c Document ControlMaster problem in Cygwin. 2005-11-24 15:34:49 +00:00
bringert
4e39769f07 Include darcs-cm wrapper. 2005-11-24 13:05:27 +00:00
bringert
853bcef7b9 Include darcs-cm script. 2005-11-24 12:59:28 +00:00
bringert
b71cf25c86 Mention what the ssh -M session looks like. 2005-11-24 10:43:56 +00:00
peb
78e272be3c solved: path problem in SimpleGFC 2005-11-24 10:02:53 +00:00
bringert
b3c7bd8e6b Emphasize need to use momo. 2005-11-24 10:31:05 +00:00
bringert
a197138357 Added mkdir to chalmers path setup. 2005-11-24 10:27:35 +00:00
aarne
9a9d057a34 simple problem tracing 2005-11-24 09:25:39 +00:00
aarne
2f8514e54a extending proto resource API 2005-11-23 21:38:11 +00:00
bringert
fe0408c9a4 Make tools/mktoday.sh executable in dist and snapshot. Reported by Johan Bockgård. 2005-11-23 15:35:21 +00:00
bringert
68e216d7f8 Added srgs_xml_prob to HelpFile. 2005-11-23 13:16:31 +00:00
aarne
ce6c032c6f experimenting with English VP 2005-11-22 22:00:47 +00:00
bringert
e8cc4b5967 Added SRGS printing and command interruption to gf-history. 2005-11-21 10:21:05 +00:00
bringert
90bdab23e0 Fixed bugs in the snapshot versioning code. 2005-11-18 14:43:44 +00:00
bringert
92973fe78a Fixed snapshot building to use data-based version number. 2005-11-18 14:40:31 +00:00
aarne
7c6210d6e6 matching with "" 2005-11-18 14:24:12 +00:00
aarne
524c4829f9 nondeterministic lexer, e.g. subseqs 2005-11-17 23:17:42 +00:00
bringert
e29a1430bf Added section with technical information. 2005-11-17 18:21:42 +00:00
bringert
da018afd5a Documented how to record changes when using read-only access. 2005-11-17 18:00:17 +00:00
bringert
a889489b95 Added a missing dot in darcs.txt (testing new permissions posthook). 2005-11-17 17:51:47 +00:00
bringert
6cf5a133ab Updated ReleaseProcedure with darcs stuff. 2005-11-17 16:13:37 +00:00
bringert
f9e1075bc5 Changed Makefile use of CVS for creating dists to use darcs. 2005-11-17 16:07:51 +00:00
bringert
65b42711d6 Document version requirements for ssh. 2005-11-17 15:57:09 +00:00
bringert
68972edf3e Some formatting fixes. 2005-11-17 15:03:30 +00:00
bringert
2e808d442d Some fixes in darcs.txt. Added darcs.html. 2005-11-17 14:57:23 +00:00
bringert
fc0316e7ae Added darcs.txt. 2005-11-17 14:31:15 +00:00
peb
01c9d9ebf2 "Committed_by_peb" 2005-11-16 09:21:21 +00:00
aarne
2cea1a25bb work on cf 2005-11-15 16:56:13 +00:00
aarne
1fd1f44fcc extended cf syntax; Det experiment 2005-11-15 10:43:32 +00:00
aarne
f339b8839b arbitrary lincat records; noparse pragmas 2005-11-14 15:03:40 +00:00
aarne
505eb2ec57 project to interpret CLE 2005-11-12 15:26:21 +00:00
aarne
00b435c839 compilation of functors 2005-11-11 22:24:33 +00:00
bringert
c52e57411b Made mapAssignM more efficient. 2005-11-11 15:38:00 +00:00
bringert
1c4c17f1b6 More efficient implementations of mapPairsM and mapPairListM 2005-11-11 15:12:41 +00:00
bringert
ac4ce06a21 Allow disabling signal support in configure. 2005-11-11 10:12:49 +00:00
bringert
136728e336 Prepared for generation of finite automata in C. 2005-11-10 15:43:44 +00:00
bringert
5ae8cdc3d0 Moved FA and regular grammar printers to a separate module. 2005-11-10 13:19:33 +00:00
aarne
e322a9e5e3 started IDE support project 2005-11-09 21:34:01 +00:00
aarne
aa3ba333d8 preparing for new ShellState 2005-11-09 14:14:30 +00:00
aarne
d1675f0aba trams with mm library 2005-11-07 21:45:22 +00:00
bringert
71cd8efe27 Restore old signal handler after each computation. 2005-11-07 21:27:13 +00:00
bringert
abf9823601 Allow interrupting commands with Ctrl-C. Catch exceptions throw by commands. 2005-11-07 19:15:05 +00:00
aarne
c113c20862 multimodal resource 2005-11-06 21:00:36 +00:00
aarne
9ee93b4dce tt 2005-11-02 09:51:37 +00:00
bringert
928c84b36c Documented SRGS XML generation. Started working on support for probabilities in SRG generation. Added support for probabilities in for SRGS. 2005-11-01 19:09:04 +00:00
aarne
a6cd4c131b variants compilation 2005-11-01 14:39:12 +00:00
aarne
27c65e985d doc of prob 2005-11-01 08:20:09 +00:00
aarne
a48236172f PCFG example 2005-11-01 08:10:54 +00:00
aarne
f06638cc7d probabilities in ShellState 2005-10-31 18:02:34 +00:00
bringert
94f87d8502 Added SRGS XML grammar printer. 2005-10-31 15:48:08 +00:00
aarne
7c78f5e409 more probs 2005-10-31 07:12:18 +00:00
aarne
f9293c6b29 probabilistic 2005-10-30 22:44:00 +00:00
janna
815dda6b4b *** empty log message *** 2005-10-28 08:45:28 +00:00
aarne
c9977d50bf so 2005-10-27 12:21:53 +00:00
bringert
9dfa8a5032 Reduced complexity of reachable in FA determinization. 2005-10-27 08:16:30 +00:00
bringert
f3bd409b1b Made removeIdenticalRules faster by using sortNubBy instead of nubBy. 2005-10-26 17:47:16 +00:00
bringert
a01248d1c9 Removed superfluous Debug.Trace import from SRG.hs. 2005-10-26 16:14:03 +00:00
bringert
3d4200d3fe Moved Graph and Relation stuff to separate modules. Added some QuickCheck properties for Relation. Improved relation datastructure and algorithms, making FA generation much faster. 2005-10-26 16:13:13 +00:00
janna
5a9ec27143 *** empty log message *** 2005-10-16 20:16:05 +00:00
aarne
129c509516 make resource 2005-10-13 12:43:47 +00:00
aarne
7b941a4ffa gt -atoms 2005-10-12 11:38:29 +00:00
aarne
ea1dcfd70a Embed/TemplateApp 2005-10-07 12:06:19 +00:00
aarne
01466aa3fd cfgm 2005-10-07 10:24:51 +00:00
aarne
bf2fdeb22e eqStr ; pipe to system 2005-10-06 13:21:33 +00:00
aarne
c2aeb9ae16 macro commands 2005-10-06 09:02:33 +00:00
aarne
a78acc722e grep etc 2005-10-05 19:02:19 +00:00
peb
1703bb826e "Committed_by_peb" 2005-10-05 10:56:42 +00:00
aarne
fff9b01aa9 ENglish 2005-10-05 07:47:26 +00:00
aarne
1d83b32f61 data defs 2005-10-04 10:05:06 +00:00
aarne
1ea059cdcb def and List 2005-10-02 19:50:19 +00:00
aarne
1db8b90811 lexer=ignore 2005-09-29 12:20:08 +00:00
aarne
34c0e79259 check deps 2005-09-27 09:25:07 +00:00
aarne
93a57fbbca index 2005-09-22 18:01:26 +00:00
bringert
a2ff05dfd9 Added placeholder for minimizing SLF-style automata. 2005-09-22 16:08:48 +00:00
bringert
9bb01bfc38 Generated finite state networks are now state minimal. 2005-09-22 15:56:05 +00:00
aarne
eace8bcd68 history 2005-09-20 08:38:12 +00:00
aarne
6d179267de CSEE now works fine 2005-09-20 08:32:55 +00:00
aarne
263beccd56 debugging csee 2005-09-19 15:11:06 +00:00
aarne
517d7ec419 more clee fix 2005-09-19 12:01:18 +00:00
aarne
8342cba9bd debug csee 2005-09-19 09:05:48 +00:00
aarne
db4cf670d0 common subexp elimination 2005-09-18 21:55:46 +00:00
aarne
076452779c tabulation optimization 2005-09-16 12:56:12 +00:00
bringert
5171e7d384 Fixed some bugs in the Graphviz printer. 2005-09-15 17:10:44 +00:00
aarne
989fb2e4d3 MAth 2005-09-15 15:22:00 +00:00
bringert
eeb833ca43 Started wotking on NFA to DFA. 2005-09-14 17:00:19 +00:00
aarne
e3395efbf1 unpar 2005-09-14 15:26:21 +00:00
bringert
b109bcaafa Parametrized the type of FAs over the state type. 2005-09-14 15:08:35 +00:00
bringert
6381c27bff Parametrized the Graph type over the node type. 2005-09-14 14:29:53 +00:00
bringert
a8bc5590af Added Graphviz module for graphviz stuff. Move a lot of utility functions to GF.Data.Utilities. 2005-09-14 14:17:29 +00:00
peb
16f2bf8cd6 "Committed_by_peb" 2005-09-14 08:51:18 +00:00
aarne
95463f6dba fix in tc 2005-09-13 21:05:32 +00:00
bringert
314a9db89f Added FA and SRG stuff to HelpFile. Fixed typos in history file. 2005-09-13 07:33:56 +00:00
bringert
0199234b2d Added FA approximation to history file. 2005-09-13 07:24:30 +00:00
bringert
42d3ccda90 Fixed makeTransitions/mapTransitions typo in PrSLF. 2005-09-13 07:20:20 +00:00
bringert
b90e16b221 Cleaned up some stuff while trying to find a bug. Turned out I just had not set the startcat in the grammar file. Time to go home I think. 2005-09-12 21:32:24 +00:00
bringert
8e53a8e849 Some preparations for graph minimization. 2005-09-12 20:54:32 +00:00
bringert
37ef225420 Used home-grown graph implementation in FiniteState, to remove dependency on fgl. This also lead to a dramatic performance increase. 2005-09-12 20:41:19 +00:00
bringert
01ef25792c Added printer for regular grammars. Changed some foldrs to foldls to improve stack usage. 2005-09-12 15:10:23 +00:00
bringert
ddda900d53 Completed unoptimized SLF generation. 2005-09-12 14:46:44 +00:00
hdaniels
f882f97a22 Lots of refactorings for gfeditor 2005-09-10 09:15:54 +00:00
bringert
aa92464b1c More work on make_fa. 2005-09-08 14:45:17 +00:00
bringert
832a2219c5 Started working on make_fa. 2005-09-08 14:40:49 +00:00
bringert
9508120dd1 Defined compileAutomaton in terms of make_fa 2005-09-08 14:39:12 +00:00
bringert
982a522272 Added the prerequisits for automaton building. 2005-09-07 13:21:30 +00:00
bringert
7bbdc17211 Finished untested function for making context-free grammars regular. 2005-09-06 07:06:42 +00:00
aarne
1a9a2ceaea stat; type of imperatives in lib/resource 2005-09-04 10:45:37 +00:00
bringert
6a01681d73 Some baby stpes closes to ATK SLF generation. 2005-09-02 14:47:46 +00:00
aarne
5e190b38fd parameters to dep 2005-09-01 19:18:55 +00:00
peb
7ad0dda9ed "Committed_by_peb" 2005-09-01 08:53:18 +00:00
aarne
f323d48fbb experiment with dep resource 2005-08-31 20:43:38 +00:00
bringert
919ebaade9 Removed -package util (why was it ever there?), since that caused linking with libreadline on Unix, even with --without-readline. 2005-08-31 13:02:32 +00:00
peb
f812648dc3 "Committed_by_peb" 2005-08-18 12:18:10 +00:00
aarne
b235391d51 edit command ct pos1 pos2; fixed undo bug 2005-08-17 14:13:55 +00:00
aarne
dfba9956ae edit command ct pos 2005-08-17 13:43:50 +00:00
peb
73c6ae2a4c "Committed_by_peb" 2005-08-17 07:27:29 +00:00
peb
26b84344f7 "Committed_by_peb" 2005-08-11 13:11:46 +00:00
peb
1351c10133 "Committed_by_peb" 2005-08-08 08:01:10 +00:00
peb
b03a738c44 "Committed_by_peb" 2005-08-08 07:09:49 +00:00
bringert
edab6db989 Fixed shell scripts for java apps to use windows paths instead of cygwin paths. 2005-07-20 10:34:04 +00:00
bringert
c575a9b864 Removed unneeded elements in classpath when building gfeditor in order to work around problems with different path separators. 2005-07-17 14:49:50 +00:00
bringert
7065b5b42e Changed jar target according to Kristofers note about OS X behaviour. 2005-07-17 14:31:47 +00:00
aarne
348406b6a7 correction 2005-07-02 05:37:38 +00:00
aarne
2b33526ca7 oops doc 2005-07-01 19:59:03 +00:00
aarne
dc8cc04a91 doc 2005-07-01 19:31:50 +00:00
aarne
c4f1ebc2ca Finnish and res doc 2005-07-01 18:54:08 +00:00
peb
0c3da8e32f "Committed_by_peb" 2005-07-01 16:14:26 +00:00
hdaniels
f3d774c5f7 Navigating in the tree now works (using absolute positions), what it not always did before. 2005-07-01 14:29:38 +00:00
hdaniels
8f785c8ed4 Append an additional newline before the message from GF. reordering of read and form methods. 2005-07-01 11:40:50 +00:00
hdaniels
be4ad4a7cf Eliminated result as a global variable 2005-07-01 08:47:21 +00:00
aarne
c8a190cba9 vt -o doc 2005-07-01 07:19:01 +00:00
aarne
d27fd4913b vt -o ; Finnish infinitives 2005-07-01 07:16:31 +00:00
aarne
4d94cdfd66 gfcm in Java ; Finnish close to finished 2005-06-30 22:09:36 +00:00
aarne
7bb9e88cb8 Updated version numbers. 2005-06-30 10:36:49 +00:00
aarne
cbb34f6518 work on Finnish 2005-06-30 07:35:01 +00:00
hdaniels
4a0abcaf1f parsing via middle-click works now 2005-06-29 17:53:04 +00:00
aarne
093ac15f72 unoptimize for Java ; Finnish 2005-06-29 15:27:56 +00:00
aarne
99ea0f8bfc more Finnish 2005-06-29 09:31:56 +00:00
aarne
14cd757e13 started Finnish 2005-06-28 17:36:42 +00:00
aarne
fc0e0eee39 history updates 2005-06-27 14:15:24 +00:00
aarne
2d8dd807d8 added README on Dj Godis 2005-06-27 12:32:04 +00:00
aarne
3c508f4f89 added Ann-Charlotte's grammars 2005-06-27 12:20:33 +00:00
aarne
b9e13711db Finnish close to production ; Predef.occurs 2005-06-26 19:40:31 +00:00
hdaniels
5d6bb705e6 Fixed double r 'refine ...' or even refine 'refine ...' 2005-06-23 15:23:32 +00:00
hdaniels
8dbdf17270 added a prominent place for the current tooltip description + bugfixes there 2005-06-23 14:38:52 +00:00
aarne
22b5b12a2a finnish vowel harmony unlexer ; optimizations and mcfg 2005-06-23 13:32:43 +00:00
peb
34e441d2e3 "Committed_by_peb" 2005-06-23 12:23:01 +00:00
hdaniels
46e7ad75aa better icon for the editor 2005-06-23 11:48:10 +00:00
hdaniels
82a8acca71 added an application icon for gfeditor. But the icon itself is worth improvement 2005-06-23 10:52:38 +00:00
hdaniels
c9b5a36e03 changed 'Open' into 'Open Text' and 'New Topic' into 'New Grammar' 2005-06-23 10:18:36 +00:00
hdaniels
c68aa2b0e6 added GPL headers to JavaGUI2. Include LICENSE files in gfeditor.jar 2005-06-23 09:18:52 +00:00
peb
5438bcfc9a "Committed_by_peb" 2005-06-23 08:43:40 +00:00
hdaniels
1f193ff830 reduced log level if no param descriptions are present 2005-06-22 14:57:02 +00:00
hdaniels
8d79dd035a deleted log4j jar. It is no more used. 2005-06-22 14:53:10 +00:00
hdaniels
46976becbd removed calls to log4j. Logging sth. does not work yet 2005-06-22 14:48:25 +00:00
hdaniels
e7a7f7b223 typed menu entries even with printnames, on exit one is asked if 'text' instead of 'constraint' should be saved 2005-06-22 12:09:08 +00:00
bringert
ae2627ff5b Fixed some formatting errors in the rpm spec. 2005-06-22 11:54:57 +00:00
aarne
20f694b8e9 printname cat bug fixed 2005-06-22 07:52:02 +00:00
bringert
5398983836 Fixed silly typo in Makefile.binary. 2005-06-21 18:56:32 +00:00
bringert
50f52aa183 Delete GF_DATA_DIR in binary dist uninstall. 2005-06-21 18:55:32 +00:00
hdaniels
7d32e5b390 added gfeditor script to Makefile.binary 2005-06-21 18:52:45 +00:00
bringert
f96b05923a Include gfeditor.in in binary dists. 2005-06-21 18:50:27 +00:00
hdaniels
37ac948641 Changed gf.spec to produce a rpm for the HTML and printnames enhanced editor. Package called editor2 2005-06-21 18:46:37 +00:00
hdaniels
6693b50c9d added daniels' version of the Java editor 2005-06-21 18:40:22 +00:00
aarne
0c71d62d4c better tree viz 2005-06-21 14:49:08 +00:00
bringert
1073bc1d3f Wrote about list syntax in gf-history.html 2005-06-21 14:19:03 +00:00
aarne
9cf71d3bba parse tree visualization 2005-06-20 15:14:19 +00:00
bringert
2c48a10236 Changed name of Con constructor in GFC.cf to avoid errors on Windows when generating Java code with BNFC for the GFC grammar. CON is a reserved filename on Windows. Con was changed to Par, and all the code using was changed too. 2005-06-17 13:15:16 +00:00
bringert
05b5ffe5bf Added beginnings of ATK SLF generation. 2005-06-17 11:46:04 +00:00
bringert
30e3a8fd99 Generate Haskell lists for GF lists. 2005-06-17 11:39:07 +00:00
aarne
fd56758c40 started Finnish paradigms (still dummy); exper with non-precomuted gfr 2005-06-14 19:09:56 +00:00
aarne
a40d1b5305 some more tense in FInnish 2005-06-14 14:43:03 +00:00
aarne
e2cc1184d4 undo k and keep position in editor 2005-06-11 19:27:05 +00:00
aarne
6a66fc5d71 gfe as preprocessing to compiler 2005-06-10 20:04:00 +00:00
aarne
3f192bd2bb editor command pc n ; resource/finnish 2005-06-10 14:59:58 +00:00
aarne
17c4219691 qualified cat in gfe 2005-06-06 08:56:28 +00:00
aarne
9d6aaadb03 improved parsing of gfe 2005-06-05 08:11:00 +00:00
aarne
e6e29eab78 editor command sequence 2005-06-03 21:44:36 +00:00
aarne
0bb4ffe057 oops 2005-06-03 20:53:36 +00:00
aarne
e8aa32d746 example substitutions 2005-06-03 20:51:58 +00:00
aarne
4b281ab7d6 adjusting doc on gfe 2005-06-03 08:35:22 +00:00
aarne
2e0b40f138 improved gfe; sloc stats 2005-06-03 07:29:37 +00:00
aarne
f0e13dd29f better MkConcrete and example in lib/resource/doc/example 2005-06-02 16:31:56 +00:00
aarne
a38a894481 lin rules by parsing 2005-06-02 09:23:52 +00:00
aarne
d1ce9df464 history doc 2005-05-31 19:27:58 +00:00
aarne
d4c1a0f09d cf for restricted import; new API funs 2005-05-31 11:47:51 +00:00
aarne
3a3342a0f9 restricted inheritance almost implemented 2005-05-30 20:08:14 +00:00
aarne
5bf9a7fe70 BinTree vs. FiniteMap 2005-05-30 17:39:43 +00:00
aarne
24d5b02523 a dialogue resource started 2005-05-30 15:22:42 +00:00
peb
e04956a42d "Committed_by_peb" 2005-05-30 07:11:32 +00:00
aarne
136b0203eb experiment with gfc input 2005-05-27 20:05:17 +00:00
aarne
dc49b7a891 lib path and * 2005-05-27 10:37:57 +00:00
aarne
276a08a0d7 paths 2005-05-27 07:13:35 +00:00
aarne
f77c9c86ae include - in header 2005-05-26 13:34:21 +00:00
aarne
9a756a3ac1 romance Inf ; %, included 2005-05-26 13:18:17 +00:00
bringert
71c50e18d3 Added new GF.cf. 2005-05-26 08:26:18 +00:00
aarne
908add0d17 printing % 2005-05-25 18:59:59 +00:00
bringert
ef49f67b1c Added very basic list test grammars. 2005-05-25 09:42:32 +00:00
bringert
65bc1948d4 Added support for list categories. 2005-05-25 09:41:59 +00:00
bringert
4690a23538 Use explicit imports from SourceToGrammar 2005-05-25 09:27:12 +00:00
bringert
820be04201 Updated GF language doc to include list categories. 2005-05-25 09:20:00 +00:00
aarne
04f6e91ee8 disc. cont in tut 2005-05-23 20:16:29 +00:00
aarne
f4a453c119 Spanish verbs (almost) corrected 2005-05-23 15:42:54 +00:00
aarne
d3e1fdd291 stared on discont const 2005-05-23 07:05:08 +00:00
aarne
3984f65688 improved resource doc 2005-05-22 18:43:00 +00:00
aarne
1a292ca64e Spanish 2005-05-22 09:12:49 +00:00
aarne
0441f07242 oops, doc 2005-05-20 15:59:51 +00:00
aarne
f6a921cf6c more quick start 2005-05-20 15:57:11 +00:00
bringert
06469bd953 i, wf, af, rf commands unquote first argument. 2005-05-20 13:34:11 +00:00
bringert
8952bb9abd Allow quoted strings for shell command arguments. 2005-05-20 13:18:15 +00:00
bringert
e10c1bea53 Allow both slash and backslash as separators. 2005-05-20 12:31:28 +00:00
bringert
058bc27936 Mark platform-specific functions that need to be fixed. 2005-05-20 12:12:33 +00:00
peb
d04c1afb2b "Committed_by_peb" 2005-05-20 08:42:18 +00:00
aarne
b89cfa7c5d optimize restriction doc 2005-05-20 07:12:45 +00:00
aarne
f2bd241375 quick start 2005-05-20 06:48:07 +00:00
bringert
9843884512 Only create gf.wxs when build MSI package, to avoid including it in binary dists. 2005-05-19 19:19:10 +00:00
bringert
b6028484a6 Use $(TAR) instead of gtar in Makefile 2005-05-19 19:11:18 +00:00
bringert
8f34e389bc Look for tar in configure, since we must have gtar on Solaris and tar on Windows. 2005-05-19 19:07:18 +00:00
bringert
f0e3d46b33 Added jgf.bat. Set GF_HOME variable and use it in jgf.bat. 2005-05-19 17:56:30 +00:00
bringert
138ac2dece Clean target now works in cygwin. Quoted paths to java executables to handle spaces in paths. Include more files in the MSI package. Disable readline automatically on GHC 6.4 for Windows. 2005-05-19 17:19:42 +00:00
bringert
c2ac91bc16 Can now build Windows MSI packages using WiX. 2005-05-19 14:19:13 +00:00
bringert
fb90359e32 Allow setting GHCFLAGS with configure. 2005-05-19 12:48:00 +00:00
peb
a3bdf26f22 "Committed_by_peb" 2005-05-18 08:04:07 +00:00
aarne
d57b5b2416 reformulate vint-i 2005-05-18 07:51:54 +00:00
bringert
6446a9f8b5 Changed wording of -utf8id highlight. 2005-05-17 19:13:48 +00:00
bringert
b7a27396b5 Added a few more highlights. 2005-05-17 19:12:58 +00:00
aarne
5d511c397e index moved 2005-05-17 19:12:42 +00:00
aarne
9a59b5e4fd index and bib 2005-05-17 19:12:04 +00:00
bringert
f56d32a96e Added SourceForge file release stuff and grammar dist building to ReleaseProcedure. 2005-05-17 18:56:31 +00:00
aarne
6dd070f12e index etc 2005-05-17 18:50:43 +00:00
bringert
1d6094c7ef Updated version numbers to 2.2. 2005-05-17 18:04:01 +00:00
aarne
a0cc2e00c9 index 2005-05-17 16:43:55 +00:00
aarne
ef10aef38a some doc fixes 2005-05-17 16:25:50 +00:00
aarne
f592002e7d some doc for release 2005-05-17 16:16:59 +00:00
bringert
8abf80dc4d Changed CFGM format and printer to allow constants in profiles. 2005-05-17 13:04:35 +00:00
peb
31044ec728 "Committed_by_peb" 2005-05-17 12:38:46 +00:00
aarne
b12608fb09 ml and tl 2005-05-17 11:37:17 +00:00
peb
9b42aff901 "Committed_by_peb" 2005-05-17 10:20:25 +00:00
aarne
fc11aeef6d more in tutorial 2005-05-16 16:07:18 +00:00
aarne
486eed70c5 on resource 2005-05-15 19:14:15 +00:00
aarne
3304438e5a corrected option order; tutorial 2005-05-14 07:38:55 +00:00
peb
20eae7786f "Committed_by_peb" 2005-05-13 11:40:18 +00:00
bringert
0853d7bcfb Added defattr for editor rpm files. 2005-05-13 08:30:46 +00:00
aarne
f496c49263 index and tutorial 2005-05-12 16:12:03 +00:00
bringert
73a60aabf5 Added grammar-dist target. 2005-05-12 13:10:16 +00:00
bringert
d31e5a4d44 Restored package name to upper case GF. 2005-05-12 12:20:41 +00:00
bringert
1d2830d8bd Split rpm into gf and gf-editor rpms. 2005-05-12 12:19:03 +00:00
bringert
24f2eb8e33 Put RPM-building stuff on one line. 2005-05-12 09:23:46 +00:00
bringert
1e5041cc78 Changed version to 2.2pre2 2005-05-12 09:22:09 +00:00
bringert
c7b82c43e2 Add optP/optl flags only when needed, and last to avoid ghc 6.2.1
Add optP/optl flags only when needed, and last to avoid ghc 6.2.1
problems.
2005-05-12 09:21:26 +00:00
aarne
ae60299c7d pre-release adjustments 2005-05-12 09:03:33 +00:00
bringert
d50c932a41 Use -optl/-optP hacks to pass CPPFLAGS and LDFLAGS 2005-05-11 14:50:35 +00:00
bringert
20a0ff0bff Changed version number to 2.2pre1 because of rpm requirements. 2005-05-11 14:44:27 +00:00
bringert
ebc7114469 Fixed more jgf.in weirdness. 2005-05-11 14:03:15 +00:00
bringert
e3caa322bc Fixed some shell spacing weirdness in the jgf script. 2005-05-11 13:57:17 +00:00
bringert
d06f41240b Print more useful erro messages when GF cannot be started. 2005-05-11 13:52:06 +00:00
bringert
c3da162360 Quote and print command in jgf 2005-05-11 13:39:47 +00:00
bringert
a3ad05ad10 Fixed typo in binary-dist target. 2005-05-11 13:29:14 +00:00
bringert
5a4b683d10 Set version to 2.2-pre1 2005-05-11 13:23:12 +00:00
bringert
11b9dee938 Updated RPM spec for 2.2 release. 2005-05-11 13:20:01 +00:00
peb
54a1e0f879 "Committed_by_peb" 2005-05-11 09:28:16 +00:00
bringert
faa3144390 Fixed some missing lincats and a syntax error introduced when adding lincats. 2005-05-11 08:34:17 +00:00
bringert
6ad5b937bb Added all missing lincats in numerals grammars. 2005-05-11 08:10:23 +00:00
bringert
3645de0113 Fix conditional checks so that java code is compiled when it should. 2005-05-11 07:38:11 +00:00
bringert
63d3bb58ee Made conditional compilation of readline stuff cleaner 2005-05-10 14:04:01 +00:00
bringert
2fa6b60d04 Added option to disable readline. 2005-05-10 13:55:01 +00:00
aarne
41657fed46 tiny fixes 2005-05-10 13:16:59 +00:00
peb
6f3229f087 "Committed_by_peb" 2005-05-10 11:52:06 +00:00
aarne
5111762d31 modules for embedded GF 2005-05-10 11:49:13 +00:00
bringert
75f12f69e3 Updated INSTALL, removing difference between windows and unix. 2005-05-10 11:07:45 +00:00
bringert
09efc28c01 Allow disabling building of Java components 2005-05-10 11:05:40 +00:00
bringert
6896332b66 Get executable suffix in configure, unify unix and windows make targets. 2005-05-10 10:45:00 +00:00
aarne
0d5329eaf8 typos 2005-05-09 16:49:49 +00:00
aarne
8d5e4b2538 preliminary release 2005-05-09 16:36:17 +00:00
aarne
6a79b6fe2d empty in pre 2005-05-09 14:44:59 +00:00
bringert
3ce7d2ca18 Use GHCFLAGS when compiling for windows. 2005-05-09 14:29:25 +00:00
aarne
2805a8ee2c fix in CheckGrammar case exprs 2005-05-09 08:45:23 +00:00
peb
2b059b811d "Committed_by_peb" 2005-05-09 08:25:56 +00:00
bringert
01696e4f86 Removed use of lang package. 2005-05-02 08:18:34 +00:00
aarne
830f7c14bc library adjustments, error message clean-up 2005-04-28 15:42:47 +00:00
bringert
8b7e450f1c Changed IOExts import to Debug.Trace 2005-04-26 08:54:11 +00:00
aarne
8f84c1934c record extension typs checking fixed 2005-04-25 17:19:32 +00:00
bringert
d4b55ae65f Updated config.sub after bug report that configure does not work on x86-64. 2005-04-25 15:23:06 +00:00
bringert
153418f0aa Some small Makefile dist tweaks 2005-04-21 16:17:05 +00:00
bringert
a7532df686 Changed version to 2.2 2005-04-21 16:13:35 +00:00
bringert
e2b689cea3 Cleaned up Makefile 2005-04-21 16:12:10 +00:00
bringert
f3bdbbef58 Removed for-ghc, for-ghc-nofud and for-windows directories. 2005-04-21 15:45:56 +00:00
bringert
5c9917ff8d Fixed module names and imports after giant file move. 2005-04-21 15:21:02 +00:00
bringert
3433c97848 Removed GF/UseGrammar/TeachYourself.hs, it seems to have been replaced by GF/Shell/TeachYourself.hs 2005-04-21 10:47:28 +00:00
bringert
a2662cd563 Added new HelpFile 2005-04-21 10:40:58 +00:00
bringert
2d420088a2 Removed HelpFile.hs from top-level. 2005-04-21 10:39:29 +00:00
bringert
5f999f0eef A bunch of Makefile fixes. Moved HelpFile and HelpFile.hs. 2005-04-21 10:38:24 +00:00
bringert
ed5b70164d Removed some now removed dirs from NOT_IN_DIST 2005-04-21 10:14:47 +00:00
bringert
9b8d7a994f Changed mktoday to generate use hierarchical name 2005-04-21 10:11:21 +00:00
aarne
3155a82696 smaller exx 2005-04-20 19:55:00 +00:00
aarne
eabbc979df sub in modules 2005-04-20 19:22:38 +00:00
aarne
b60b42ccef pg printnames 2005-04-20 19:09:19 +00:00
peb
78108f7817 "Committed_by_peb" 2005-04-20 11:49:44 +00:00
peb
5621344c73 "Committed_by_peb" 2005-04-19 10:57:18 +00:00
peb
6e93b2c4c6 "Committed_by_peb" 2005-04-19 09:46:07 +00:00
peb
c1592825c7 "Committed_by_peb" 2005-04-18 13:55:32 +00:00
aarne
1323b74063 defLinType and pr no s label 2005-04-17 18:48:34 +00:00
aarne
df4f4bcd6f shrank example 2005-04-17 18:47:51 +00:00
aarne
2f692a7dd2 more fixes in htmls 2005-04-17 16:29:51 +00:00
aarne
e21633c5df minor fixes in htmls 2005-04-16 19:24:42 +00:00
aarne
adecc423db added toc generation to htmls 2005-04-16 16:35:42 +00:00
aarne
026701b2f7 oops, renamed files 2005-04-16 16:02:51 +00:00
aarne
b71611851a arrived to the module system 2005-04-16 16:02:03 +00:00
aarne
e24a8298f0 new tutorial 2005-04-16 11:32:08 +00:00
peb
9e510f5245 "Committed_by_peb" 2005-04-16 04:40:48 +00:00
aarne
9d112935dc links 2005-04-15 18:58:58 +00:00
bringert
2c36d9c623 Removed some dead code from gsl and cfgm generation. 2005-04-15 08:45:32 +00:00
peb
5207c27bff "Committed_by_peb" 2005-04-14 17:38:36 +00:00
peb
f070a412a1 "Committed_by_peb" 2005-04-14 10:42:05 +00:00
aarne
03fad6e1b8 updated resource doc 2005-04-12 14:20:29 +00:00
peb
fa6ba9a531 "Committed_by_peb" 2005-04-12 09:49:44 +00:00
aarne
5f25c82817 corrected gf-modules 2005-04-11 15:03:03 +00:00
peb
ac00f77dad "Committed_by_peb" 2005-04-11 12:57:45 +00:00
aarne
f6273f7033 module rules added 2005-04-10 18:40:08 +00:00
aarne
dc0ec11e28 just module rules missing 2005-04-10 15:57:33 +00:00
aarne
792fea08bd still more tutorial to the module system 2005-04-10 15:29:39 +00:00
aarne
46fbfe4bff more tutorial to the module system 2005-04-10 10:39:34 +00:00
aarne
43559cdd6e tutorial to the module system 2005-04-10 08:42:25 +00:00
bringert
7fd69dad23 Added italian stoneage grammar to stoneage grammar script 2005-04-07 16:01:48 +00:00
aarne
2c6c4e4bce Italian Swadesh (incomplete) 2005-04-04 20:14:41 +00:00
aarne
f7ecc10d13 started Italian Swadesh 2005-04-04 16:29:18 +00:00
aarne
41108818c9 support for multi-character string literals 2005-04-04 14:50:27 +00:00
aarne
3f91f61735 mapStr ; appPredefined in err monad 2005-04-01 20:24:24 +00:00
aarne
75c08d7abf capitalization in lexer 2005-03-31 15:57:35 +00:00
aarne
0151c5c418 new unlexers ; work on Romance 2005-03-31 14:47:42 +00:00
aarne
70deda4132 ArchEdit moved; spanish/Structural now works 2005-03-30 11:41:12 +00:00
aarne
3c11f7e112 removed deprecated stuff; changed parser default 2005-03-29 12:26:34 +00:00
peb
2160e648da "Committed_by_peb" 2005-03-29 10:58:46 +00:00
peb
67aa6e7a81 "Committed_by_peb" 2005-03-29 10:17:53 +00:00
peb
ccf6017b03 "Committed_by_peb" 2005-03-21 21:40:03 +00:00
peb
531be3a72e "Committed_by_peb" 2005-03-21 21:31:43 +00:00
bringert
75d228629a Build cfgm files using the nondeterministic conversion. Allow coercions in cfgm rule functions and remove the name. 2005-03-21 13:27:04 +00:00
peb
96a08c9df4 "Committed_by_peb" 2005-03-21 13:17:44 +00:00
peb
aef9430eb0 "Committed_by_peb" 2005-03-21 12:54:24 +00:00
peb
b36e9e32c6 "Committed_by_peb" 2005-03-21 12:16:27 +00:00
peb
dbae321c69 "Committed_by_peb" 2005-03-18 09:17:10 +00:00
aarne
5b9d27ee9f fix in TC handling with qualified names 2005-03-17 08:58:18 +00:00
aarne
1f16988540 fixed an end tag 2005-03-15 16:44:59 +00:00
aarne
4f8bb52fc4 news in index 2005-03-15 16:38:18 +00:00
aarne
c68a3fd63d bug fixes in dependency handling 2005-03-15 16:18:51 +00:00
bringert
b3f5d1f0fe Changed Think to an action without an object. 2005-03-15 15:38:20 +00:00
peb
581ead0a73 "Committed_by_peb" 2005-03-15 10:18:51 +00:00
krijo
2edae8de54 Err is now an instance of MonadPlus. 2005-03-14 22:45:36 +00:00
aarne
4ca5d0b507 swadesh fixes; bug fix in i -old 2005-03-14 16:40:08 +00:00
aarne
623521c70b French Swadesh, some bugs remain 2005-03-13 21:29:29 +00:00
aarne
79fd7902f0 Norwegian checked 2005-03-13 11:09:51 +00:00
aarne
505d19f4d2 checkd BasicNor and half of SwadeshNor 2005-03-13 09:55:09 +00:00
aarne
f11a6b6813 fixed lbnf printing 2005-03-12 12:01:48 +00:00
bringert
8886f40660 Include norwegian stoneage grammar in stoneage.gfcm 2005-03-11 15:04:46 +00:00
aarne
328cf308f3 Norwegian Swadesh (raw); bug fix in TC of variants 2005-03-11 14:37:18 +00:00
bringert
1507a4afcd Added snapshot target 2005-03-11 14:04:03 +00:00
bringert
e8d082fb82 Disabled stoneage conjunction. Added optimize=share to stoneage grammars. 2005-03-10 13:29:47 +00:00
aarne
03b2d09e79 hmsg for Hajo's editor 2005-03-10 10:14:10 +00:00
bringert
2bbc7418eb Added this, that, conjunctions and giving to stoneage grammars. 2005-03-09 20:13:24 +00:00
bringert
e037fe087f Fixed a number of error in swedish verbs, swadesh and stoneage grammars found by random generation and just talking to the system. 2005-03-09 19:34:27 +00:00
bringert
24e55ad36d Added mkStoneage script, added missing linearizations in swedish stoneage grammar 2005-03-09 16:24:53 +00:00
bringert
92012958ac Added The_Many to stoneage grammar 2005-03-08 17:21:50 +00:00
aarne
73b0f9dbab auto-insert default lincat; eliminate deps bug; less verbosity in import; take away word order variants in Scand 2005-03-08 17:08:58 +00:00
bringert
eefced4abe Use Phr for S linearization. 2005-03-08 16:38:12 +00:00
bringert
a1aa9c01e6 Removed unused utf8-conversion code. 2005-03-08 14:51:17 +00:00
bringert
e19f8f8922 Switched to doing utf8-conversion after pretty-printing. 2005-03-08 14:49:24 +00:00
bringert
7194efcea8 Finished UTF8 identifier conversion. Will probably redo it at string level, i.e. after pretty-printing instead 2005-03-08 14:31:22 +00:00
bringert
a4b8921544 Added onTermIdents function. 2005-03-07 16:50:00 +00:00
peb
dcf87cd664 "Committed_by_peb" 2005-03-07 11:44:09 +00:00
bringert
b2fa8408c6 Removed some old dead code. The functionality is in API.hs. 2005-03-04 13:08:36 +00:00
bringert
40191cc5b2 Added swedish linearizations of left and right 2005-03-04 11:34:09 +00:00
bringert
da66378851 Changed PresV to PresV2 for transitive verbs in StoneageResEng. 2005-03-04 11:20:14 +00:00
bringert
55465542c1 Use StoneageResEng, not the now non-existing StoneageRes 2005-03-04 11:12:36 +00:00
aarne
172d19ade9 gt with metavariables fixed 2005-03-04 11:05:10 +00:00
aarne
270b54395f one more improvement in gt 2005-03-04 07:12:56 +00:00
aarne
198ac61a65 better gt all the way 2005-03-03 15:40:51 +00:00
aarne
f07ea93082 better gt 2005-03-03 15:10:37 +00:00
bringert
0caa34b163 Added not yet working swedish stoneage stuff. 2005-03-02 13:48:06 +00:00
aarne
df0db79480 sorry, removed StoneageEng first by accident 2005-03-02 13:45:14 +00:00
aarne
696f85fdd6 Sats 2005-03-02 13:42:41 +00:00
aarne
48deedea14 fixed shell solve command 2005-03-02 13:25:45 +00:00
peb
7b08eb7ffd "Committed_by_peb" 2005-03-02 13:22:53 +00:00
aarne
d1a21f9562 bug fixes in generate and type check 2005-03-02 08:43:52 +00:00
janna
0bd427b5a8 *** empty log message *** 2005-02-28 21:21:24 +00:00
bringert
baf836e436 Added half-finished swedish swadesh lexicon. 2005-02-25 17:01:02 +00:00
aarne
115be3d52b p by lines, lin to multi 2005-02-25 14:35:48 +00:00
bringert
224244c825 Added numeral determiners to stoneage grammar 2005-02-25 14:18:46 +00:00
bringert
370125adc9 Added pronouns to stoneage grammar. 2005-02-25 14:13:13 +00:00
bringert
ed4fd35555 Added stonage grammar (abstract and english), which uses the Swadesh lexicon. 2005-02-25 12:44:16 +00:00
peb
bf436aebaa "Committed_by_peb" 2005-02-24 10:46:37 +00:00
bringert
0137dd5511 Added export list to TransformCFG and removed obsolete headers from other speech files. 2005-02-22 12:35:19 +00:00
bringert
fd08b83a6a Build java code and gfdoc when doing make all, since this is needed by make install. 2005-02-22 12:33:25 +00:00
peb
33962f95df "Committed_by_peb" 2005-02-22 12:31:44 +00:00
peb
ddc2276771 "Committed_by_peb" 2005-02-22 11:57:12 +00:00
peb
9568d7a844 "Committed_by_peb" 2005-02-18 18:21:06 +00:00
aarne
1c4f025320 error msg in update 2005-02-18 15:30:05 +00:00
aarne
75b03fb624 working on resource doc and exx, fixing bugs 2005-02-18 13:53:29 +00:00
peb
bafc9fbd05 "Committed_by_peb" 2005-02-17 09:21:04 +00:00
peb
359f1b8ea2 "Committed_by_peb" 2005-02-17 09:12:32 +00:00
peb
55f889eda8 "Committed_by_peb" 2005-02-16 10:33:05 +00:00
aarne
f8df4df530 record type extension freshness check 2005-02-15 10:06:30 +00:00
aarne
1befa19e22 command vg 2005-02-11 15:08:10 +00:00
aarne
b90332065c bugfix in make of incomplete 2005-02-11 11:06:47 +00:00
aarne
012d2dd0c4 more on romance 2005-02-11 08:11:29 +00:00
peb
40aed94124 "Committed_by_peb" 2005-02-11 06:08:28 +00:00
aarne
d676355271 gfc generation to incomplete modules 2005-02-10 09:43:33 +00:00
peb
9afbd25b64 "Committed_by_peb" 2005-02-09 19:45:54 +00:00
aarne
c467ef8d03 cleaned up French verbs 2005-02-09 16:50:49 +00:00
peb
a0d4129863 "Committed_by_peb" 2005-02-09 11:46:54 +00:00
aarne
4fd0c636f8 unlexer concat 2005-02-08 15:35:58 +00:00
peb
6fe9cca0ff "Committed_by_peb" 2005-02-07 09:58:08 +00:00
bringert
cec6ea60bd Convert tokens to lower case when printing GSL. 2005-02-07 08:39:00 +00:00
aarne
a19fce9abb optimization on src 2005-02-07 08:00:48 +00:00
aarne
92ba304626 tuning resource API 2005-02-06 09:52:19 +00:00
aarne
a1e8229910 cleand up Structural 2005-02-05 20:52:31 +00:00
aarne
45f3b7d5e7 optimization flags and improver eng 2005-02-05 09:52:04 +00:00
aarne
bc05653e82 resources and new instantiation syntax 2005-02-04 19:17:57 +00:00
bringert
b8b5139a8a Removed module headers from generated files with pragmas 2005-02-04 13:17:06 +00:00
peb
6381f3a998 "Committed_by_peb" 2005-02-04 09:10:28 +00:00
peb
b2a6b1a176 "Committed_by_peb" 2005-02-04 08:57:10 +00:00
peb
54e7b5a5ef "Committed_by_peb" 2005-02-04 08:46:17 +00:00
peb
1afb28b644 "Committed_by_peb" 2005-02-03 14:23:02 +00:00
peb
4a5a48157f "Committed_by_peb" 2005-02-03 14:13:35 +00:00
peb
a7b25a9ca4 "Committed_by_peb" 2005-02-02 14:37:28 +00:00
aarne
ca6dfea53e tense update for lib/resource/english 2005-01-30 14:45:01 +00:00
bringert
8947c49066 Make first letter in GSL category names upper case. 2005-01-28 15:57:59 +00:00
krijo
37db5016a8 Handling absolute paths in prefixPathName :: String -> FilePath -> FilePath
Handling absolute paths in prefixPathName :: String -> FilePath -> FilePath
(absolute paths are simply never prefixed).
2005-01-24 15:41:16 +00:00
aarne
d911208046 bug fixes in Danish 2005-01-19 19:58:31 +00:00
aarne
87b55df10f -val optimization 2005-01-11 15:06:12 +00:00
janna
bb3d2e1d42 *** empty log message *** 2005-01-07 19:48:22 +00:00
aarne
46f85fb13a command cm 2004-12-29 13:48:41 +00:00
janna
bba1cb2d10 *** empty log message *** 2004-12-22 15:11:10 +00:00
janna
310ba62601 *** empty log message *** 2004-12-22 14:47:06 +00:00
janna
49e901ec65 *** empty log message *** 2004-12-22 14:37:46 +00:00
aarne
bf022485b3 ShellState.changeMain 2004-12-22 12:49:44 +00:00
aarne
6e1f41b26a gfcc in Types 2004-12-20 07:57:05 +00:00
bringert
8caa3ed737 Added script for creating a clickable module dependency graph. 2004-12-10 15:24:50 +00:00
bringert
1711cac062 Minor clean-up and comment in module dep visualization. 2004-12-10 14:56:52 +00:00
bringert
95d434bbd2 Added visualization of source modules. 2004-12-10 14:02:00 +00:00
bringert
0d99169a7f Make flag value checking depend on the command. Fixed spurious error messages with pm -printer values. 2004-12-09 09:51:41 +00:00
janna
087b30adc9 *** empty log message *** 2004-12-08 22:16:18 +00:00
bringert
ecd0594547 Generated GF and GFC lexers with BNFC with string sharing support. 2004-12-08 13:21:40 +00:00
janna
b5ab17ca73 *** empty log message *** 2004-12-07 20:37:36 +00:00
bringert
d42984a08f Do string sharing after unescaping in source and canonical grammars. 2004-12-07 13:02:27 +00:00
bringert
eaa2dcde07 More sharing of reserved words in GF and GFC lexers. Added GF lexer alex file. 2004-12-06 19:08:58 +00:00
bringert
0098d5e943 Use strict parser and GHC-specific lexer for source grammars. 2004-12-06 17:44:59 +00:00
bringert
798cb37002 Use HashTable to share strings in tokens when parsing GFC files. 2004-12-06 16:02:08 +00:00
janna
b637293072 *** empty log message *** 2004-12-04 10:50:49 +00:00
aarne
b0fc3c72f4 experiment with new Rename 2004-12-03 16:04:25 +00:00
bringert
2e5bd1b547 Made GFC parser strict. Generated GFC lexer with alex -g. In total, this drops the memory residency after loading a large gfc file by about 40%. 2004-12-02 16:13:16 +00:00
bringert
78fa296cac Changed default optimization level to -O2 2004-12-01 14:14:07 +00:00
janna
1937fbfab3 *** empty log message *** 2004-11-29 19:42:14 +00:00
aarne
84c23918d0 finishing verbs; bug fixes in comp 2004-11-27 08:13:45 +00:00
bringert
fcbe58ef07 Added module file (hacky) URLs to nodes. 2004-11-26 14:53:44 +00:00
bringert
198c84c77f Added case (error) for transfer modules. 2004-11-24 18:07:04 +00:00
bringert
a16a420bed Added module graph visualization. 2004-11-24 17:54:58 +00:00
aarne
3d3a2080af resturcturing french resource 2004-11-17 14:33:15 +00:00
aarne
543d2c976a French logic 2004-11-12 09:49:36 +00:00
bringert
8b35ece65f Added uninstall target to Makefile in binary dists. jgf now looks for a jvm if the hardcoded one is not found. 2004-11-11 15:05:41 +00:00
bringert
29d00145cc Added uninstall target for binary tarballs 2004-11-11 14:49:07 +00:00
aarne
010e247445 testing ParadigmsFre 2004-11-11 14:41:51 +00:00
janna
001ff1b564 *** empty log message *** 2004-11-09 20:08:45 +00:00
aarne
b183a0a7bc Test.hs 2004-11-09 18:12:51 +00:00
aarne
12b9b5f3d3 Index 2004-11-09 12:08:52 +00:00
aarne
2ddf0e01b7 exe 2004-11-09 07:37:43 +00:00
aarne
53ffb6d7a9 book 2004-11-08 16:04:58 +00:00
aarne
a9d164ac68 doc 2004-11-08 15:54:55 +00:00
aarne
d3bf9fcf47 download doc 2004-11-08 15:30:40 +00:00
aarne
012fa1f6b1 rpm 2004-11-08 14:39:18 +00:00
aarne
c845ef57bb INSTALL 2004-11-08 13:57:50 +00:00
aarne
1a8c6fbbb8 make 2004-11-08 13:47:15 +00:00
aarne
01e206b979 2.1 2004-11-08 13:46:34 +00:00
aarne
5a1225aa56 doc pdf 2004-11-08 13:29:38 +00:00
aarne
86ac63bbfb for 2.1 2004-11-08 13:25:00 +00:00
aarne
1b8cec072d preparing 2.1 release 2004-11-08 13:15:25 +00:00
aarne
87334b8075 update doc 2004-11-08 09:27:30 +00:00
aarne
7dd63a449f completing for release 2004-11-08 09:22:37 +00:00
aarne
2bd22e078a some bug fixes in type check and solve 2004-11-01 21:41:18 +00:00
janna
42ff99469a *** empty log message *** 2004-11-01 09:02:55 +00:00
janna
7d8345300a *** empty log message *** 2004-10-28 14:13:31 +00:00
janna
02151b73d0 *** empty log message *** 2004-10-28 12:22:04 +00:00
janna
a47111ff1b *** empty log message *** 2004-10-28 11:46:37 +00:00
janna
8aa05c9736 *** empty log message *** 2004-10-27 18:24:56 +00:00
aarne
8be82a3936 constraint bug fix 2004-10-26 11:53:22 +00:00
aarne
2b9e31455d work on checking equations 2004-10-26 11:24:32 +00:00
aarne
24ba5b3b82 markup 2004-10-25 14:22:18 +00:00
aarne
51fb62890f added code map 2004-10-22 13:46:41 +00:00
aarne
a04c40348b basic 2004-10-22 07:59:13 +00:00
bringert
96edcf45d9 Remove more punctuation characters when printing GSL grammars 2004-10-19 10:27:28 +00:00
aarne
357c2fa4cf update highlights; fix cat warning bug 2004-10-13 11:47:24 +00:00
aarne
f299de7b3f version 2.1b 2004-10-11 14:25:09 +00:00
aarne
a0bc9b053a german paradigms 2004-10-11 14:21:57 +00:00
janna
4fe0119047 *** empty log message *** 2004-10-02 21:00:55 +00:00
bringert
f64502d4a7 Generalized Speech Recognition Grammar generation. Added JSGF grammar printer. 2004-10-01 08:43:59 +00:00
aarne
653c903dc7 fixed PredefAbs in TC 2004-09-30 06:24:09 +00:00
bringert
0dbd3d199c Removed dead code from CFGM grammar 2004-09-29 16:24:40 +00:00
bringert
7492cfd236 Updated to simple CFGM grammar, use CFGM pretty printer when printing cfgm grammars. 2004-09-29 15:53:46 +00:00
bringert
df2c63c559 Updated to latest CFG specification from gfc2java 2004-09-29 08:27:28 +00:00
aarne
01f872bf5d gfcc report 2004-09-28 19:44:02 +00:00
aarne
422b626a36 revising tex 2004-09-28 11:55:10 +00:00
aarne
c9f6079aa3 make runtime 2004-09-27 07:58:18 +00:00
aarne
901a62e061 hoas 2004-09-26 16:36:13 +00:00
aarne
ee213edb88 2 typos 2004-09-26 16:10:04 +00:00
aarne
f5519f77eb paper and references 2004-09-26 16:05:36 +00:00
aarne
693cbcb2f3 almost the final version 2004-09-26 15:44:08 +00:00
aarne
e1617bbb8e version 2 of doc 2004-09-25 21:49:21 +00:00
aarne
2094e335df added picture 2004-09-25 10:24:27 +00:00
aarne
a6219b3a09 more examples 2004-09-25 08:51:33 +00:00
aarne
5a208ce3ea compiler works on abs and fibonacci 2004-09-25 08:24:11 +00:00
aarne
ff2a2895c0 gfcc 2004-09-24 16:04:04 +00:00
aarne
33ea630d4d bug fixes in parsing etc; improved ImperC 2004-09-24 08:46:03 +00:00
aarne
2c60a2d82a Ints n 2004-09-23 14:41:42 +00:00
aarne
d5b4230d6d making parsing ImperC work 2004-09-22 20:42:21 +00:00
aarne
a0116fd288 printing to LBNF with profiles 2004-09-22 15:12:49 +00:00
aarne
6afcb5009a symbol table 2004-09-20 14:28:52 +00:00
aarne
07464264da conclusion 2004-09-20 11:51:44 +00:00
aarne
c8c9e517c1 editor 2004-09-20 09:04:13 +00:00
aarne
a3ae63e60b report ready 2004-09-20 08:51:48 +00:00
aarne
0e21dcbf54 Imper 2004-09-19 20:27:38 +00:00
aarne
df4cbb482f report 2004-09-19 20:27:01 +00:00
aarne
3a1f403a01 doc 2004-09-18 09:24:51 +00:00
aarne
6ec3a53d3c C compiler 2004-09-17 22:02:35 +00:00
aarne
ecc132dccf Karin C's example 2004-09-16 14:47:18 +00:00
bringert
7769d0fb00 When printing CFGM, only include the top-level modules 2004-09-16 11:09:37 +00:00
bringert
a38f028f04 Use .MAIN for the start category. 2004-09-15 16:16:34 +00:00
aarne
a25ee154e7 introducing multiple inheritance 2004-09-15 14:36:27 +00:00
aarne
7697b222d0 terms from rf 2004-09-15 11:37:45 +00:00
aarne
fe045070cf gfcm header 2004-09-14 17:05:46 +00:00
bringert
35f884ddfd Use grammar name as gsl category name prefix. Put some grammar info in GSL comments. 2004-09-14 15:45:17 +00:00
bringert
dabc4f1b8d gsl printer now figures out startcat from grammar flags 2004-09-14 15:05:37 +00:00
bringert
87eec27336 Added GSL speech recognition grammar generation. 2004-09-14 08:36:57 +00:00
aarne
318379f73a type check cc command 2004-09-08 11:36:53 +00:00
aarne
51c9afa5c8 codevars 2004-08-25 15:17:13 +00:00
aarne
4af78854b7 fixed incompleteness in prt 2004-08-24 19:16:48 +00:00
aarne
c861922736 some var parser bug fixes 2004-08-24 11:49:46 +00:00
bringert
b57e3fff8c Added coding flag to arabic_modern 2004-08-23 13:12:57 +00:00
bringert
c150719961 Added coding flag to newnumerals grammars. 2004-08-23 09:23:00 +00:00
bringert
65f012d155 Added CFGM format (pm -printer=cfgm) and utf8 conversion for pm. 2004-08-23 07:51:36 +00:00
aarne
25ffe15333 1.2 2004-08-17 13:51:05 +00:00
aarne
b60b2ab196 25 2004-08-17 13:46:59 +00:00
aarne
aed0fab455 exe 2004-08-17 11:47:25 +00:00
aarne
c96162ba8b experiments with unlexer 2004-08-15 21:02:10 +00:00
janna
f65d08638b *** empty log message *** 2004-08-14 10:37:29 +00:00
aarne
1142d18a08 -s 2004-08-13 20:46:54 +00:00
aarne
69aa3248d2 unique ref 2004-08-13 13:21:46 +00:00
janna
a760544742 *** empty log message *** 2004-08-13 12:16:00 +00:00
janna
f8ba5d3a69 *** empty log message *** 2004-08-13 11:48:25 +00:00
janna
6df004a3ed *** empty log message *** 2004-08-13 09:28:24 +00:00
aarne
a35b815f6f cygwin 2004-08-13 07:43:46 +00:00
aarne
33f8fb64e0 GUI msgs 2004-08-12 20:30:14 +00:00
aarne
ca280d8d31 (non)utf8 input in GUI 2004-08-12 18:29:35 +00:00
aarne
35f8c76210 os x 2004-08-12 13:06:57 +00:00
aarne
a12bf94035 utf8 2004-08-12 12:21:23 +00:00
aarne
0926a6aa53 cygwin 2004-08-12 11:05:24 +00:00
aarne
096c861fb4 fixes for Janna 2004-08-12 09:02:00 +00:00
janna
4bc5b35bcb *** empty log message *** 2004-08-11 20:21:24 +00:00
aarne
fce15fd6ef key 2004-08-11 14:01:08 +00:00
aarne
c37cc9bd96 docs 2004-08-11 13:37:43 +00:00
aarne
9191786a17 index 2004-08-11 13:26:56 +00:00
aarne
2f2ba01be8 download 2004-08-11 13:20:47 +00:00
aarne
e1bd5cfa82 Index 2004-08-11 12:18:11 +00:00
aarne
37f552d1fe index 2004-08-11 11:56:11 +00:00
aarne
720ccdfefa paths in release 2004-08-11 10:32:36 +00:00
aarne
8bc2cee831 bug fix in reading files 2004-08-11 10:02:26 +00:00
aarne
23db149b9b spec 2004-08-10 14:04:21 +00:00
aarne
43f687772e Index 2004-08-10 13:22:25 +00:00
aarne
330e383b32 make lib 2004-08-10 13:19:32 +00:00
aarne
52a030079f link to tout 2004-08-10 13:05:19 +00:00
aarne
23fb24d6d3 for www 2004-08-10 12:39:38 +00:00
aarne
470197d442 clean up 2004-08-10 11:52:42 +00:00
aarne
310e3e1001 mkLib 2004-08-10 11:14:31 +00:00
aarne
dd981f9ffc resource doc; make lib 2004-08-10 10:17:19 +00:00
peb
d045a98848 *** empty log message *** 2004-08-10 09:40:35 +00:00
aarne
9650864b06 the name gf2 2004-08-10 08:17:03 +00:00
aarne
9d07bd92a8 small adjustments in grs 2004-08-09 13:22:59 +00:00
aarne
60ae7ddbbe 2341 2004-08-04 12:54:47 +00:00
aarne
d201f6f4cd new web page 2004-08-04 12:18:58 +00:00
aarne
e9b010393b help flags for i 2004-08-03 15:24:23 +00:00
aarne
166a32b1e7 testing grammar distr 2004-08-03 15:21:01 +00:00
aarne
a843c8e0ec gramamr distr 2004-08-03 12:39:55 +00:00
aarne
59b5745c0e Preparing for release. 2004-08-03 11:47:32 +00:00
bringert
541ef75fb4 Do not escape single quotes in strings in PrintGF. This seems to be unmarked hand-hacked behaviour that the old pretty printer had. 2004-07-22 11:12:27 +00:00
bringert
2b1f64eb06 Added -- H to an unmarked hand-hacked section. 2004-07-22 10:26:27 +00:00
bringert
f02c2bbef0 Recreated GF and GFC pretty printers using the new BNFC version which makes more efficient pretty printers. 2004-07-22 09:00:27 +00:00
bringert
db433bc409 Added target for building GF with profiling 2004-07-14 12:44:15 +00:00
aarne
ffd6c23155 some fixes 2004-06-24 19:08:30 +00:00
aarne
22e3bdce02 fixed unlexer 2004-06-24 15:13:40 +00:00
aarne
0a6ded780f welcome msg 2004-06-24 14:13:55 +00:00
aarne
3b39607bba last-minute bug fixes 2004-06-24 14:06:09 +00:00
bringert
d3db78ad31 Added RPM building setup instructions. 2004-06-24 11:01:03 +00:00
bringert
1870deb717 Fixed typo in install-editor target 2004-06-24 08:42:43 +00:00
bringert
306b9c8506 Added vendor tag 2004-06-24 08:25:21 +00:00
bringert
69065b0b74 Put jar file in share instead of lib 2004-06-24 08:21:59 +00:00
krijo
ff7f51ec15 Adding Mac OS X build instructions (essentially the same as other UNIXes). 2004-06-23 15:33:48 +00:00
krijo
7de578e146 Added .PHONY for install rule. 2004-06-23 15:21:33 +00:00
bringert
732db2269d Include auxillary files for configure in binary packages. 2004-06-23 15:15:13 +00:00
bringert
63f5a7b62f binary-dist now builds the gf binary. this takes a looong time. 2004-06-23 14:15:16 +00:00
bringert
aa917b4a2d Reverted version to 2.0, the pre1 tag caused problems with rpm building. 2004-06-23 14:06:10 +00:00
bringert
785ce7e63d moved 'pre1' to release. rpm does not allow it in version 2004-06-23 14:02:30 +00:00
bringert
4c6926373f Set version number to 2.0-pre1 2004-06-23 13:53:49 +00:00
bringert
801a2cb9f1 Find java with configure, do not include preprocessed jgf script in binary dists. 2004-06-23 13:46:40 +00:00
bringert
09b3c82997 Added exec and final newline. 2004-06-23 13:35:52 +00:00
bringert
212a59c446 Added missing dirs for install in binary-dist target 2004-06-23 13:30:45 +00:00
bringert
29dc468900 Fixed tab/space snafu 2004-06-23 13:28:43 +00:00
bringert
ba9d7ba3e2 Do not use prefix inside the binary dist 2004-06-23 13:23:25 +00:00
bringert
e5315aa5fd Added autoconf step 2004-06-23 13:14:03 +00:00
bringert
bcb0adca84 Add final newline to not get messed up on solaris. 2004-06-23 13:12:44 +00:00
bringert
f753d01a0b Added ReleaseProcedure. Added configureation and makefiles for binary packages. Configure now lets you specify which javac and jar to use. 2004-06-23 13:09:56 +00:00
aarne
6802bcca2c some fixes for Shae 2004-06-23 11:57:17 +00:00
bringert
0c84670725 delete BIN_DIST_DIR at end of binary-dist 2004-06-23 10:41:05 +00:00
bringert
8a098696c1 Use gtar instead of tar to be sure to get GNU tar. 2004-06-23 10:40:22 +00:00
bringert
cd3f267daa Fixed script to only include .gf files. Updated generated script. 2004-06-23 09:44:27 +00:00
bringert
0f9070bf3a Added binary-dist target. 2004-06-23 09:02:54 +00:00
bringert
8443f80500 Added Solaris VCS configure instructions 2004-06-23 08:39:48 +00:00
bringert
7906215075 Get CPPFLAGS and LDFLAGS from configure 2004-06-23 07:24:46 +00:00
bringert
97112b53d3 Change references to gf2 to gf. 2004-06-22 15:48:57 +00:00
bringert
b19c44e163 Call gf as gf, not gf2. 2004-06-22 15:47:22 +00:00
bringert
bab786d20e Rename gf2 and jgf2 to gf and jgf2 2004-06-22 15:28:07 +00:00
bringert
d0ee0d6901 install target now installs gfdoc 2004-06-22 14:59:04 +00:00
bringert
cf1df1bab5 Include gfdoc in rpm 2004-06-22 14:55:33 +00:00
aarne
0b55c09abb make gfdoc 2004-06-22 14:54:05 +00:00
bringert
8a0d51c5f6 Put editor in main package. 2004-06-22 14:12:51 +00:00
bringert
06bd91870e Build separate package for the java editor 2004-06-22 13:54:31 +00:00
bringert
fad8e4c44f use -source 1.4 for java code 2004-06-22 13:42:48 +00:00
bringert
90337afc6f go to src before make install 2004-06-22 13:42:00 +00:00
bringert
ba567262b6 use target 1.4 for java code 2004-06-22 13:24:01 +00:00
aarne
bd99ecbea9 spec 2004-06-22 13:13:28 +00:00
aarne
65693a05fd arranging for dist 2004-06-22 13:09:56 +00:00
bringert
7edf59f000 Do make install in %install section 2004-06-22 13:06:03 +00:00
bringert
de80918427 don't include release2.html 2004-06-22 13:03:58 +00:00
bringert
3003113134 recreate for-ghc-nofun if it does not exist, since cvs export prunes empty dirs 2004-06-22 12:37:28 +00:00
aarne
53f7d4ecfb fixes in parsing 2004-06-22 12:33:31 +00:00
bringert
3986f8c265 Added rpm target. Fixed source dir name in rpm spec. 2004-06-22 12:15:39 +00:00
bringert
a3a4c3f8ca Delete files that should not be in the distribution. 2004-06-22 12:13:19 +00:00
bringert
8b71e75094 delete tarbalss in distclean 2004-06-22 12:02:14 +00:00
bringert
cc0fbb46f8 Added autoconf step. 2004-06-22 12:01:06 +00:00
bringert
457d00100a Do autoconf in src dir when making dist 2004-06-22 11:58:45 +00:00
bringert
1de7132520 Build jar file for java classes. Added dist target. 2004-06-22 11:56:24 +00:00
bringert
5629e77ba5 Moved distclean target to after clean 2004-06-22 09:44:46 +00:00
bringert
b41a8937db Cleaned up Makefile, build for unix be default, create nofud-links in the right places. 2004-06-22 09:33:43 +00:00
bringert
ed2dccfcf2 Added configure step to install instructions 2004-06-22 09:32:02 +00:00
bringert
d1190cc839 Added GF description and pointer to the INSTALL file. 2004-06-22 09:25:37 +00:00
bringert
d8dcb5a8ef Added RPM spec 2004-06-22 08:56:34 +00:00
bringert
9cc3e87735 Added configure script, added install target, changed MkToday to a shell script to avoid a build-time dependency on runhugs 2004-06-22 08:56:20 +00:00
bringert
464a2937cb Added placeholder readme file 2004-06-22 08:54:31 +00:00
bringert
56312ed045 Added license file 2004-06-22 08:54:14 +00:00
aarne
fdfd77a7d5 some new Swedish paradigms 2004-06-21 15:14:37 +00:00
aarne
b248e6e25e for release meeting 2004-06-21 08:53:58 +00:00
aarne
a134a1fd65 pdf 2004-06-21 08:35:01 +00:00
peb
1efb265000 *** empty log message *** 2004-06-18 14:23:15 +00:00
aarne
22613ceb37 small things 2004-06-18 13:14:50 +00:00
aarne
29b9dcaf82 preced 2004-06-18 08:52:38 +00:00
aarne
94f8d310cb path in file name test in ReadFiles 2004-06-17 14:10:06 +00:00
aarne
a77519ba10 bug fixes ; command so ; reintroduce batch mode 2004-06-16 14:49:50 +00:00
peb
9fae09a77c *** empty log message *** 2004-06-15 18:34:54 +00:00
peb
aa9f1ee7a3 *** empty log message *** 2004-06-15 18:24:17 +00:00
aarne
3fb91e0f44 improved make facility: remember state if fails; does not need source 2004-06-15 13:55:54 +00:00
peb
652618742a *** empty log message *** 2004-06-10 14:37:43 +00:00
aarne
3522b2a3cd readfiles 2004-06-10 14:34:07 +00:00
aarne
f07087647e KeY 2004-06-09 18:43:06 +00:00
janna
63232b6982 *** empty log message *** 2004-06-06 19:57:56 +00:00
peb
c10aa3b696 *** empty log message *** 2004-06-06 10:11:10 +00:00
aarne
e78e5a6af7 SymbPN and SymbCN in resources 2004-06-03 19:31:39 +00:00
peb
7716f81886 *** empty log message *** 2004-06-02 11:17:15 +00:00
peb
9b0a968597 *** empty log message *** 2004-06-02 11:05:39 +00:00
aarne
b103e87bc4 external translator 2004-05-28 12:18:28 +00:00
aarne
6dcf9f1cd4 command option check 2004-05-27 14:43:13 +00:00
aarne
244307ca37 MyParser: hook for external parser 2004-05-27 08:28:43 +00:00
peb
a4c388374f *** empty log message *** 2004-05-26 19:40:11 +00:00
peb
e3e0da73ac *** empty log message *** 2004-05-26 18:44:40 +00:00
aarne
2945d9bcb8 strict BinTree 2004-05-26 08:33:27 +00:00
aarne
ba74c109cd fix eng parad 2004-05-21 15:12:51 +00:00
aarne
8963681a3b peel head i ; gt nometas ; gf2hs 2004-05-18 20:57:13 +00:00
janna
086733a6fe *** empty log message *** 2004-05-03 21:02:18 +00:00
aarne
f644f13527 Generation with metavariables. 2004-05-03 12:39:32 +00:00
aarne
de3ad4cbd7 generation in jgf 2004-05-02 12:36:19 +00:00
aarne
54947d3e4c gt Term 2004-05-02 08:21:25 +00:00
aarne
487571a685 Improved gt; Karin C's examples. 2004-04-30 19:52:34 +00:00
aarne
fc99b225a7 generation command gt n 2004-04-30 15:18:38 +00:00
aarne
c9d10ab5ed random gen to fill given term 2004-04-30 11:28:35 +00:00
peb
36a68bce6a *** empty log message *** 2004-04-30 08:26:01 +00:00
peb
181e128230 *** empty log message *** 2004-04-30 07:17:03 +00:00
aarne
cbbb6d65c7 gr F ? ? 2004-04-30 05:02:49 +00:00
peb
9e23c25e28 *** empty log message *** 2004-04-29 08:22:32 +00:00
peb
51da7e3c0f 29/4-04, peb: added directory 'testConversions' with a simple grammar
for testing grammar conversions
2004-04-29 08:11:20 +00:00
aarne
b5bb4fc2b5 multimodality exx 2004-04-29 04:03:19 +00:00
peb
6993118eab peb (28/4-04):
- added directory 'conversions' for grammar conversions
- added some grammar printers in 'Custom.hs'
- added option 'ghci' in 'Makefile'
2004-04-28 09:37:10 +00:00
aarne
1bd3dc8433 timetable 2004-04-28 09:08:31 +00:00
aarne
e5c60c9cfd optimization in make 2004-04-27 19:37:01 +00:00
aarne
233d6910e4 ditt o datt 2004-04-23 13:45:07 +00:00
aarne
2e0c510285 some more printing 2004-04-19 15:33:45 +00:00
aarne
fa07ada6ab added srg; extended shallow 2004-04-16 15:21:56 +00:00
aarne
26b03cef10 error msg for term input 2004-04-13 11:55:52 +00:00
aarne
b79b2b8b41 Windows. 2004-04-05 14:47:31 +00:00
aarne
a9b2f69c3a Beta. 2004-04-02 12:35:23 +00:00
aarne
73c4fe8dda Beta release. 2004-04-02 12:23:48 +00:00
aarne
f53f35978f 2beta2 2004-04-01 09:51:32 +00:00
aarne
3f9b4e7855 Added support for cf and ebnf formats 2004-03-31 12:30:34 +00:00
aarne
6719aedde3 Better help. 2004-03-26 20:08:30 +00:00
aarne
2433403b62 Making cf2gf to work... 2004-03-24 15:31:38 +00:00
aarne
dc71ffcf5b Restoring old functionality 2004-03-24 15:09:06 +00:00
aarne
31836c0da9 String pattern handling 2004-03-23 12:06:12 +00:00
aarne
c3796cf04c Unions: a first version. 2004-03-01 21:03:25 +00:00
aarne
0166b27ee4 Started with unions. 2004-02-27 07:43:52 +00:00
aarne
2e1b578783 Improved make facility. 2004-02-26 14:49:16 +00:00
aarne
13be0d6356 Started experimenting with shallow resource API.
Started experimenting with shallow resource API.
Added PossessPrep to Structural.
2004-02-20 16:28:42 +00:00
janna
7d1d67ee5b *** empty log message *** 2004-02-03 09:22:37 +00:00
janna
2b8d794309 *** empty log message *** 2004-02-02 22:37:51 +00:00
janna
eb13f30e61 *** empty log message *** 2004-02-01 08:15:41 +00:00
aarne
4023dde116 Adjusting GFT for cgi. 2004-01-30 16:17:20 +00:00
janna
025274db07 *** empty log message *** 2004-01-30 16:01:15 +00:00
aarne
d3c8436f31 Remove n= 2004-01-30 13:20:03 +00:00
aarne
d09777a9aa New order among numerals. 2004-01-29 12:57:32 +00:00
aarne
fdddeca0d0 Improving unicode menus, e.g. in Letter. 2004-01-29 12:03:23 +00:00
janna
4c31deb839 *** empty log message *** 2004-01-29 10:05:43 +00:00
aarne
1ca54cca20 Unicode. Batch transl into HTML. 2004-01-28 12:42:20 +00:00
aarne
1b002dec90 Some new languges by Harald, plus translation scripts 2004-01-28 12:27:59 +00:00
janna
8dff8b0e3f *** empty log message *** 2004-01-28 08:51:28 +00:00
janna
590a85f970 *** empty log message *** 2004-01-26 13:46:05 +00:00
aarne
f807f76211 Improved unicode output. 2004-01-26 08:39:52 +00:00
aarne
7362e70af9 Quick fix in French. 2004-01-21 14:06:34 +00:00
aarne
74e0e11964 PredefAbs for bwc 2004-01-21 13:32:08 +00:00
aarne
ae9fe52eaa From Janna. 2004-01-12 16:46:00 +00:00
aarne
5c88df10bb Rewriting with interface to resource. 2004-01-09 16:48:19 +00:00
aarne
86d811f2a6 Interfaces and instances by reuse. 2004-01-09 16:40:56 +00:00
aarne
c7a953bb93 Some bug fixes mostly in editor commands. 2004-01-08 14:58:46 +00:00
aarne
62e8e319f9 Close to finishing new verisons of Finnish and GErman. 2004-01-05 15:42:38 +00:00
janna
e84db8989d *** empty log message *** 2004-01-04 21:03:27 +00:00
janna
20345064dd *** empty log message *** 2004-01-02 13:16:46 +00:00
aarne
9127333575 Starting Finnish for new API 2003-12-19 16:57:48 +00:00
aarne
08c9a2ab8c Introduced output of stripped format gfcm. 2003-12-09 16:39:24 +00:00
aarne
8e637feb79 Harald's new grammars. 2003-12-09 16:07:42 +00:00
aarne
15f94710f0 Added French for new API. Started alpha conv. Fixed bugs. 2003-12-04 12:08:29 +00:00
janna
6a9dc9e5f5 *** empty log message *** 2003-12-04 08:37:59 +00:00
janna
57d4300f86 *** empty log message *** 2003-12-02 22:36:34 +00:00
janna
e3dd913ce3 *** empty log message *** 2003-11-29 22:40:24 +00:00
aarne
9e631a4fc6 Added Swe databaseCVS: ---------------------------------------------------------------------- 2003-11-26 08:00:31 +00:00
janna
3c5a8768b9 *** empty log message *** 2003-11-25 21:10:53 +00:00
janna
61507ef2de *** empty log message *** 2003-11-25 16:34:42 +00:00
aarne
73103e5dd8 Beta release. 2003-11-25 16:27:47 +00:00
aarne
ba077a8a91 Preparing for beta release. 2003-11-25 15:43:05 +00:00
aarne
1574e20786 New place for new resource API implementations. 2003-11-25 15:11:59 +00:00
4263 changed files with 387936 additions and 4548685 deletions

View File

@@ -20,4 +20,3 @@ Markus Forsberg <markus>
Server Cimen <e1560697@ceng.metu.edu.tr>
Grégoire Détrez <gdetrez@crans.org>
Ketil Malde <ketil@ii.uib.no>
John J. Camilleri <john.j.camilleri@chalmers.se>, john@johnjcamilleri.com, john

2
.ghci
View File

@@ -1,2 +0,0 @@
:set -isrc/compiler -isrc/binary -isrc/runtime/haskell -isrc/server -isrc/example-based -isrc/server/transfer -idist/build/autogen -idist/build
:set -fwarn-unused-imports -optP-DSERVER_MODE -optP-DUSE_INTERRUPT -optP-DCC_LAZY -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/gf/gf-tmp -hidir dist/build/gf/gf-tmp -stubdir dist/build/gf/gf-tmp

View File

@@ -1,53 +1,29 @@
.PHONY: all build install doc clean gf sdist
# This gets the numeric part of the version from the cabal file
VERSION=$(shell sed -ne "s/^version: *\([0-9.]*\).*/\1/p" gf.cabal)
.PHONY: all build install doc clean sdist
all: build
dist/setup-config: gf.cabal Setup.hs WebSetup.hs
cabal configure
dist/setup-config: gf.cabal
chmod u+x lib/src/mkPresent
chmod u+x lib/src/mkMinimal
runghc Setup.hs configure
build: dist/setup-config
cabal build
runghc Setup.hs build
install:
cabal copy
cabal register
runghc Setup.hs install
doc:
cabal haddock
runghc Setup.hs haddock
clean:
cabal clean
#sdist:
# cabal sdist
runghc Setup.hs clean
sdist:
runghc Setup.hs sdist
gf:
cabal build rgl-none
runghc Setup.hs build rgl-none
strip dist/build/gf/gf
html::
bash bin/update_html
# Make a debian package. First add a suitable entry with the correct GF version
# number to the top of debian/changelog.
# (Tested on Ubuntu 15.04. You need to install dpkg-dev & debhelper.)
deb:
dpkg-buildpackage -b
# Make an OS X Installer package
pkg:
FMT=pkg bash bin/build-binary-dist.sh
# Make a binary tar distribution
bintar:
bash bin/build-binary-dist.sh
# Make a source tar.gz distribution using darcs to make sure that everything
# is included. We put the distribution in dist/ so it is removed on
# `make clean`
sdist:
test -d dist || mkdir dist
darcs dist -d dist/gf-${VERSION}
bash bin/update_html

3
README
View File

@@ -30,5 +30,4 @@ GF particularly addresses four aspects of grammars:
COMPILATION and INSTALLATION of source distribution:
See download/index.html for installation instructions.
(More details can be found in doc/gf-developers.html.)
See doc/gf-developers.html for installation instructions.

380
Setup.hs
View File

@@ -1,177 +1,130 @@
module Main where
import Distribution.Simple
import Distribution.Simple.LocalBuildInfo
import Distribution.Simple.BuildPaths(exeExtension)
import Distribution.Simple.BuildPaths
import Distribution.Simple.Utils
import Distribution.Simple.Setup
import Distribution.PackageDescription hiding (Flag)
import Control.Monad
import Data.Char(isSpace)
import Data.List(isPrefixOf,intersect,unfoldr,stripPrefix)
import Data.Maybe(listToMaybe)
--import System.IO
import qualified Control.Exception as E
import System.Process(readProcess)
import Data.Maybe
import Data.List(isPrefixOf)
import System.IO
import System.Cmd
import System.FilePath
import System.Directory(createDirectoryIfMissing,copyFile,doesDirectoryExist,getDirectoryContents)
--import System.Exit
--import Control.Concurrent(forkIO)
--import Control.Concurrent.Chan(newChan,writeChan,readChan)
import WebSetup
tryIOE :: IO a -> IO (Either E.IOException a)
tryIOE = E.try
import System.Directory
import System.Environment
import System.Process
import System.Exit
main :: IO ()
main = defaultMainWithHooks simpleUserHooks{ preBuild = gfPreBuild
, postBuild = gfPostBuild
, preInst = gfPreInst
, postInst = gfPostInst
, preCopy = const . checkRGLArgs
, postCopy = gfPostCopy
, sDistHook = sdistError
main = defaultMainWithHooks simpleUserHooks{ preBuild =checkRGLArgs
, postBuild=buildRGL
, preInst =checkRGLArgs
, postInst =installRGL
, preCopy =checkRGLArgs
, postCopy =copyRGL
, sDistHook=sdistRGL
, runTests =testRGL
}
where
gfPreBuild args = gfPre args . buildDistPref
gfPreInst args = gfPre args . installDistPref
gfPre args distFlag =
do h <- checkRGLArgs args
extractDarcsVersion distFlag
return h
gfPostBuild args flags pkg lbi =
do --writeFile "running" ""
buildRGL args flags (flags,pkg,lbi)
-- let gf = default_gf lbi
-- buildWeb gf (pkg,lbi)
gfPostInst args flags pkg lbi =
do installRGL args flags (pkg,lbi)
let gf = default_gf lbi
installWeb (pkg,lbi)
gfPostCopy args flags pkg lbi =
do let gf = default_gf lbi
copyRGL args flags (pkg,lbi)
copyWeb flags (pkg,lbi)
--------------------------------------------------------
-- Commands for building the Resource Grammar Library
--------------------------------------------------------
data Mode = AllTenses | Present deriving Show
all_modes = ["alltenses","present"]
default_modes = [AllTenses,Present]
data Mode = AllTenses | Present | Minimal deriving Show
all_modes = ["minimal","present","alltenses"]
default_modes = [Present,AllTenses]
data RGLCommand
= RGLCommand
{ cmdName :: String
, cmdIsDef :: Bool
, cmdAction :: [Mode] -> [String] -> Info -> IO ()
, cmdAction :: [Mode] -> [String] -> PackageDescription -> LocalBuildInfo -> IO ()
}
type Info = (BuildFlags,PackageDescription,LocalBuildInfo)
bf (i,_,_) = i
--pd (_,i,_) = i
lbi (_,_,i) = i
rglCommands =
[ RGLCommand "prelude" True $ \mode args bi -> do
[ RGLCommand "prelude" True $ \mode args pkg lbi -> do
putStrLn $ "Compiling [prelude]"
let prelude_src_dir = rgl_src_dir </> "prelude"
prelude_dst_dir = rgl_dst_dir (lbi bi) </> "prelude"
let prelude_src_dir = rgl_src_dir </> "prelude"
prelude_dst_dir = rgl_dst_dir lbi </> "prelude"
createDirectoryIfMissing True prelude_dst_dir
files <- list_files prelude_src_dir
run_gfc bi (["-s", "--gfo-dir="++prelude_dst_dir] ++ [prelude_src_dir </> file | file <- files])
, RGLCommand "all" True $ gfcp [l,s,c,t,sc]
, RGLCommand "lang" False $ gfcp [l,s]
, RGLCommand "api" False $ gfcp [t,sc]
, RGLCommand "compat" False $ gfcp [c]
, RGLCommand "web" True $ \ _ _ bi -> buildWeb (default_gf (lbi bi)) bi
, RGLCommand "pgf" False $ \modes args bi ->
parallel_ [
do let dir = getRGLBuildDir (lbi bi) mode
files <- getDirectoryContents prelude_src_dir
run_gfc pkg lbi (["-s", "--gfo-dir="++prelude_dst_dir] ++ [prelude_src_dir </> file | file <- files, take 1 file /= "."])
, RGLCommand "lang" True $ \mode args pkg lbi -> do
mapM_ (gfc mode pkg lbi . lang) (optl langsLang args)
mapM_ (gfc mode pkg lbi . symbol) (optl langsAPI args)
, RGLCommand "compat" True $ \mode args pkg lbi -> do
mapM_ (gfc mode pkg lbi . compat) (optl langsCompat args)
, RGLCommand "api" True $ \mode args pkg lbi -> do
mapM_ (gfc mode pkg lbi . try) (optl langsAPI args)
mapM_ (gfc mode pkg lbi . symbolic) (optl langsSymbolic args)
, RGLCommand "pgf" False $ \modes args pkg lbi ->
sequence_ [
do let dir = getRGLBuildDir lbi mode
createDirectoryIfMissing True dir
sequence_ [run_gfc bi ["-s","-make","-name=Lang"++la,
dir ++ "/Lang" ++ la ++ ".gfo"]
sequence_ [run_gfc pkg lbi ["-s","-make","-name=Lang"++la,
dir ++ "/Lang" ++ la ++ ".gfo"]
| (_,la) <- optl langsPGF args]
run_gfc bi (["-s","-make","-name=Lang"]++
run_gfc pkg lbi (["-s","-make","-name=Lang"]++
["Lang" ++ la ++ ".pgf"|(_,la)<-optl langsPGF args])
| mode <- modes]
, RGLCommand "demo" False $ \modes args bi -> do
, RGLCommand "demo" False $ \mode args pkg lbi -> do
let ls = optl langsDemo args
gf bi (demos "Demo" ls) ["demo/Demo" ++ la ++ ".gf" | (_,la) <- ls]
gf (demos "Demo" ls) ["demo/Demo" ++ la ++ ".gf" | (_,la) <- ls] pkg lbi
return ()
, RGLCommand "parse" False $ \modes args bi ->
gfc bi modes (summary parse) (map parse (optl langsParse args))
, RGLCommand "none" False $ \modes args bi ->
, RGLCommand "parse" False $ \mode args pkg lbi -> do
mapM_ (gfc mode pkg lbi . parse) (optl langsParse args)
, RGLCommand "none" False $ \mode args pkg lbi -> do
return ()
]
where
gfcp cs modes args bi = parallel_ [gfcp' bi mode args cs|mode<-modes]
gfcp' bi mode args cs = gfcn bi mode (unwords ss) (concat fss)
where (ss,fss) = unzip [(summary f,map f as)|c<-cs,let (f,as)=c mode args]
summary f = f ("*","*")
l mode args = (lang,optml mode langsLang args)
s mode args = (symbol,optml mode langsAPI args)
c mode args = (compat,optl langsCompat args)
t mode args = (try,optml mode langsAPI args)
sc mode args = (symbolic,optml mode langsSymbolic args)
optl = optml AllTenses
optml mode ls args = getOptLangs (shrink ls) args
where
shrink = case mode of
Present -> intersect langsPresent
_ -> id
optl ls args = getOptLangs ls args
--------------------------------------------------------
checkRGLArgs args = do
checkRGLArgs args flags = do
let args' = filter (\arg -> not (arg `elem` all_modes ||
rgl_prefix `isPrefixOf` arg ||
langs_prefix `isPrefixOf` arg)) args
unless (null args') $
putStrLn $ "Unrecognised flags: " ++ intercalate ", " args'
return emptyHookedBuildInfo
if null args'
then return emptyHookedBuildInfo
else die $ "Unrecognised flags: " ++ intercalate ", " args'
buildRGL args flags bi = do
buildRGL args flags pkg lbi = do
let cmds = getRGLCommands args
let modes = getOptMode args
mapM_ (\cmd -> cmdAction cmd modes args bi) cmds
mapM_ (\cmd -> cmdAction cmd modes args pkg lbi) cmds
installRGL args flags bi = do
installRGL args flags pkg lbi = do
let modes = getOptMode args
let inst_gf_lib_dir = datadir (uncurry absoluteInstallDirs bi NoCopyDest) </> "lib"
copyAll "prelude" (rgl_dst_dir (snd bi) </> "prelude") (inst_gf_lib_dir </> "prelude")
sequence_ [copyAll (show mode) (getRGLBuildDir (snd bi) mode) (inst_gf_lib_dir </> getRGLBuildSubDir mode)|mode<-modes]
let inst_gf_lib_dir = datadir (absoluteInstallDirs pkg lbi NoCopyDest) </> "lib"
copyAll "prelude" (rgl_dst_dir lbi </> "prelude") (inst_gf_lib_dir </> "prelude")
sequence_ [copyAll (show mode) (getRGLBuildDir lbi mode) (inst_gf_lib_dir </> getRGLBuildSubDir lbi mode)|mode<-modes]
copyRGL args flags bi = do
copyRGL args flags pkg lbi = do
let modes = getOptMode args
dest = case copyDest flags of
NoFlag -> NoCopyDest
Flag d -> d
let inst_gf_lib_dir = datadir (uncurry absoluteInstallDirs bi dest) </> "lib"
copyAll "prelude" (rgl_dst_dir (snd bi) </> "prelude") (inst_gf_lib_dir </> "prelude")
sequence_ [copyAll (show mode) (getRGLBuildDir (snd bi) mode) (inst_gf_lib_dir </> getRGLBuildSubDir mode)|mode<-modes]
let inst_gf_lib_dir = datadir (absoluteInstallDirs pkg lbi dest) </> "lib"
copyAll "prelude" (rgl_dst_dir lbi </> "prelude") (inst_gf_lib_dir </> "prelude")
sequence_ [copyAll (show mode) (getRGLBuildDir lbi mode) (inst_gf_lib_dir </> getRGLBuildSubDir lbi mode)|mode<-modes]
copyAll s from to = do
putStrLn $ "Installing [" ++ s ++ "] " ++ to
createDirectoryIfMissing True to
mapM_ (\file -> copyFile (from </> file) (to </> file)) =<< list_files from
{-
files <- fmap (filter (\f -> take 1 f /= ".")) $ getDirectoryContents from
mapM_ (\file -> copyFile (from </> file) (to </> file)) files
sdistRGL pkg mb_lbi hooks flags = do
paths <- getRGLFiles rgl_src_dir []
let pkg' = pkg{dataFiles=paths}
sDistHook simpleUserHooks pkg' mb_lbi hooks flags
where
getRGLFiles dir paths = foldM (processFile dir) paths =<< ls dir
getRGLFiles dir paths = do
files <- getDirectoryContents dir
foldM (processFile dir) paths [file | file <- files, file /= "." && file /= ".."]
processFile dir paths file = do
let path = dir </> file
@@ -182,57 +135,70 @@ sdistRGL pkg mb_lbi hooks flags = do
then return (path : paths)
else return paths
else getRGLFiles path paths
-}
-- | Cabal doesn't know how to correctly create the source distribution, so
-- we print an error message with the correct instructions when someone tries
-- `cabal sdist`.
sdistError _ _ _ _ = fail "Error: Use `make sdist` to create the source distribution file"
testRGL args _ pkg lbi = do
let paths = case args of
[] -> ["testsuite"]
paths -> paths
sequence_ [walk path | path <- paths]
where
walk path = do
files <- getDirectoryContents path
sequence_ [walkFile (path </> file) | file <- files, file /= "." && file /= ".."]
rgl_src_dir = "lib" </> "src"
walkFile fpath = do
exists <- doesFileExist fpath
if exists
then if takeExtension fpath == ".gfs"
then do let in_file = fpath
gold_file = addExtension fpath ".gold"
out_file = addExtension fpath ".out"
putStr (in_file++" ... ")
hFlush stdout
res <- runTest in_file out_file gold_file
putStrLn (if res then "OK" else "FAIL")
else return ()
else walk fpath
runTest in_file out_file gold_file = do
inp <- readFile in_file
out <- readProcess (default_gf pkg lbi) ["-run"] inp
writeFile out_file out
exists <- doesFileExist gold_file
if exists
then do gold <- readFile gold_file
return $! (out == gold)
else return False
rgl_src_dir = "lib" </> "src"
rgl_dst_dir lbi = buildDir lbi </> "rgl"
-- the languages have long directory names and short ISO codes (3 letters)
-- we also give the decodings for postprocessing linearizations, as long as grammars
-- don't support all flags needed; they are used in tests
langsCoding = [
(("afrikaans","Afr"),""),
(("amharic", "Amh"),""),
(("arabic", "Ara"),""),
(("bulgarian","Bul"),""),
(("catalan", "Cat"),""),
(("chinese", "Chi"),""),
(("danish", "Dan"),""),
(("dutch", "Dut"),""),
(("english", "Eng"),""),
(("estonian", "Est"),""),
(("finnish", "Fin"),""),
(("french", "Fre"),""),
(("ancient_greek","Grc"),""),
(("greek", "Gre"),""),
(("hebrew", "Heb"),""),
(("hindi", "Hin"),"to_devanagari"),
(("german", "Ger"),""),
(("icelandic","Ice"),""),
(("interlingua","Ina"),""),
(("italian", "Ita"),""),
(("japanese", "Jpn"),""),
(("latin", "Lat"),""),
(("latvian", "Lav"),""),
(("maltese", "Mlt"),""),
(("mongolian","Mon"),""),
(("nepali", "Nep"),""),
(("norwegian","Nor"),""),
(("nynorsk", "Nno"),""),
(("persian", "Pes"),""),
(("polish", "Pol"),""),
(("punjabi", "Pnb"),""),
(("romanian", "Ron"),""),
(("russian", "Rus"),""),
(("sindhi", "Snd"),""),
(("spanish", "Spa"),""),
(("swedish", "Swe"),""),
(("swedish", "Swe"),""),
(("thai", "Tha"),"to_thai"),
(("turkish", "Tur"),""),
(("urdu", "Urd"),"")
@@ -244,22 +210,17 @@ langs = map fst langsCoding
-- defaultLangs = langs `only` words "Eng Fre Ger Ita Spa Swe"
-- languagues for which to compile Lang
langsLang = langs -- `except` ["Amh","Ara","Lat","Tur"]
langsLang = langs `except` ["Amh","Ara","Lat","Hin","Tha","Tur"]
--langsLang = langs `only` ["Fin"] --test
-- languagues that have notpresent marked
langsPresent = langsLang `except` ["Afr","Chi","Gre","Heb","Ice","Jpn","Mlt","Mon","Nep","Pes","Snd","Tha","Thb","Est"]
-- languages for which to compile Try
langsAPI = langsLang `except` ["Hin","Ina","Tha"]
-- languages for which to compile Try
langsAPI = langsLang `except` langsIncomplete -- ["Ina","Amh","Ara"]
langsIncomplete = ["Amh","Ara","Grc","Heb","Ina","Lat","Tur"]
-- languages for which to compile Symbolic
langsSymbolic = langsAPI `except` ["Afr","Ice","Jpn","Mon","Nep"]
-- languages for which to compile Symbolic
langsSymbolic = langsAPI `except` ["Rus"]
-- languages for which to run demo test
langsDemo = langsLang `except` ["Ara","Hin","Ina","Lav","Tha"]
langsDemo = langsLang `except` ["Ara","Hin","Ina","Tha"]
-- languages for which to compile parsing grammars
langsParse = langs `only` ["Eng"]
@@ -268,28 +229,28 @@ langsParse = langs `only` ["Eng"]
langsPGF = langsLang `except` ["Ara","Hin","Ron","Tha"]
-- languages for which Compatibility exists (to be extended)
langsCompat = langsLang `only` ["Cat","Eng","Fin","Fre","Ita","Lav","Spa","Swe"]
langsCompat = langsLang `only` ["Cat","Eng","Fin","Fre","Ita","Spa","Swe"]
gfc bi modes summary files =
parallel_ [gfcn bi mode summary files | mode<-modes]
gfcn bi mode summary files = do
let dir = getRGLBuildDir (lbi bi) mode
gfc modes pkg lbi file = sequence_ [gfc1 mode pkg lbi file | mode<-modes]
gfc1 mode pkg lbi file = do
let dir = getRGLBuildDir lbi mode
preproc = case mode of
AllTenses -> ""
Present -> "-preproc="++({-rgl_src_dir </>-} "mkPresent")
Minimal -> "-preproc="++({-rgl_src_dir </>-} "mkMinimal")
createDirectoryIfMissing True dir
putStrLn $ "Compiling [" ++ show mode ++ "] " ++ summary
run_gfc bi (["-s", "-no-pmcfg", preproc, "--gfo-dir="++dir] ++ files)
putStrLn $ "Compiling [" ++ show mode ++ "] " ++ file
run_gfc pkg lbi ["-s", preproc, "--gfo-dir="++dir, file]
gf bi comm files = do
gf comm files pkg lbi = do
putStrLn $ "Reading " ++ unwords files
let gf = default_gf (lbi bi)
let gf = default_gf pkg lbi
putStrLn ("executing: " ++ comm ++ "\n" ++
"in " ++ gf)
out <- readProcess gf ("-s":files) comm
putStrLn out
demos abstr ls = "gr -number=100 | l -treebank " ++ unlexer abstr ls ++
demos abstr ls = "gr -number=100 | l -treebank " ++ unlexer abstr ls ++
" | ps -to_html | wf -file=resdemo.html"
lang (lla,la) = rgl_src_dir </> lla </> ("All" ++ la ++ ".gf")
@@ -310,7 +271,8 @@ getOptMode args =
then default_modes
else explicit_modes
where
explicit_modes =
explicit_modes =
[Minimal|have "minimal"]++
[Present|have "present"]++
[AllTenses|have "alltenses"]
@@ -333,14 +295,13 @@ getOptLangs defaultLangs args =
then findLangs langs [l]++ls
else ls
getRGLBuildSubDir mode =
getRGLBuildSubDir lbi mode =
case mode of
AllTenses -> "alltenses"
Present -> "present"
Minimal -> "minimal"
getRGLBuildDir :: LocalBuildInfo -> Mode -> FilePath
getRGLBuildDir lbi mode = rgl_dst_dir lbi </> getRGLBuildSubDir mode
getRGLBuildDir lbi mode = rgl_dst_dir lbi </> getRGLBuildSubDir lbi mode
getRGLCommands args =
let cmds0 = [cmd | arg <- args,
@@ -355,86 +316,27 @@ getRGLCommands args =
langs_prefix = "langs="
rgl_prefix = "rgl-"
unlexer abstr ls =
"-unlexer=\\\"" ++ unwords
[abstr ++ la ++ "=" ++ unl |
lla@(_,la) <- ls, let unl = unlex lla, not (null unl)] ++
unlexer abstr ls =
"-unlexer=\\\"" ++ unwords
[abstr ++ la ++ "=" ++ unl |
lla@(_,la) <- ls, let unl = unlex lla, not (null unl)] ++
"\\\""
where
unlex lla = maybe "" id $ lookup lla langsCoding
-- | Runs the gf executable in compile mode with the given arguments.
run_gfc :: Info -> [String] -> IO ()
run_gfc bi args =
do let args' = numJobs (bf bi)++["-batch","-gf-lib-path="++rgl_src_dir]
++ filter (not . null) args
gf = default_gf (lbi bi)
execute gf args'
run_gfc :: PackageDescription -> LocalBuildInfo -> [String] -> IO ()
run_gfc pkg lbi args =
do let args' = ["-batch","-gf-lib-path="++rgl_src_dir,"+RTS","-K32M","-RTS"] ++ filter (not . null) args
gf = default_gf pkg lbi
putStrLn $ "Running: " ++ gf ++ " " ++ unwords (map showArg args')
e <- rawSystem gf args'
case e of
ExitSuccess -> return ()
ExitFailure i -> die $ "gf exited with exit code: " ++ show i
where showArg arg = "'" ++ arg ++ "'"
default_gf :: LocalBuildInfo -> FilePath
default_gf lbi = buildDir lbi </> exeName' </> exeNameReal
default_gf pkg lbi = buildDir lbi </> exeName' </> exeNameReal
where
exeName' = "gf"
exeNameReal = exeName' <.> exeExtension
{- --old solution, could pick the wrong executable if there is more than one
exeName' = (exeName . head . executables) pkg
exeNameReal = exeName' <.> (if null $ takeExtension exeName' then exeExtension else "")
-}
-- | Create autogen module with detailed version info by querying darcs
extractDarcsVersion distFlag =
do info <- tryIOE askDarcs
createDirectoryIfMissing True autogenPath
updateFile versionModulePath $ unlines $
["module "++modname++" where",
"{-# NOINLINE darcs_info #-}",
"darcs_info = "++show (either (const (Left ())) Right info)]
where
dist = fromFlagOrDefault "dist" distFlag
autogenPath = dist</>"build"</>"autogen"
versionModulePath = autogenPath</>"DarcsVersion_gf.hs"
modname = "DarcsVersion_gf"
askDarcs =
do flip unless (fail "no _darcs") =<< doesDirectoryExist "_darcs"
tags <- lines `fmap` readProcess "darcs" ["show","tags"] ""
let from = case tags of
[] -> []
tag:_ -> ["--from-tag="++tag]
dates <- (init' . patches) `fmap` readProcess "darcs" ("changes":from) ""
-- let dates = init' (filter ((`notElem` [""," "]).take 1) changes)
whatsnew <- tryIOE $ lines `fmap` readProcess "darcs" ["whatsnew","-s"] ""
return (listToMaybe tags,listToMaybe dates,
length dates,either (const 0) length whatsnew)
where
init' [] = []
init' xs = init xs
-- | Only update the file if contents has changed
updateFile path new =
do old <- tryIOE $ readFile path
when (Right new/=old) $ seq (either (const 0) length old) $
writeFile path new
-- | List files, excluding "." and ".."
list_files path = filter ((/=".").take 1) `fmap` getDirectoryContents path
-- | For parallel RGL module compilation
-- Unfortunately, this has no effect unless Setup.hs is compiled with -threaded
parallel_ ms = sequence_ ms {-
do c <- newChan
ts <- sequence [ forkIO (m >> writeChan c ()) | m <- ms]
sequence_ [readChan c | _ <- ts]
--}
patches = paras . lines
where
paras = unfoldr para
para ls = case break null $ dropWhile null ls of
([],[]) -> Nothing
(xs,ys) -> Just (info xs,ys)
info = unwords . map dropHeaders . filter (\l->not $ any (`isPrefixOf` l) [" ","patch "])
dropHeaders = dropWhile isSpace . dropPrefix "Author: " . dropPrefix "Date: "
dropPrefix pre l = maybe l id (stripPrefix pre l)

View File

@@ -1,111 +0,0 @@
module WebSetup(buildWeb,installWeb,copyWeb,numJobs,execute) where
import System.Directory(createDirectoryIfMissing,copyFile)
import System.FilePath((</>),dropExtension)
import System.Process(rawSystem)
import System.Exit(ExitCode(..))
import Distribution.Simple.Setup(BuildFlags(..),Flag(..),CopyDest(..),copyDest)
import Distribution.Simple.LocalBuildInfo(datadir,buildDir,absoluteInstallDirs)
import Distribution.Simple.Utils(die)
{-
To test the GF web services, the minibar and the grammar editor, use
"cabal install" (or "runhaskell Setup.hs install") to install gf as usual.
Then start the server with the command "gf -server" and open
http://localhost:41296/ in your web browser (Firefox, Safari, Opera or
Chrome). The example grammars listed below will be available in the minibar.
-}
example_grammars = -- :: [(pgf, subdir, src)]
[("Letter.pgf","letter",letterSrc)
,("Foods.pgf","foods",foodsSrc)
,("Phrasebook.pgf","phrasebook",phrasebookSrc)
]
where
--foodsSrc = "Foods???.gf" -- doesn't work on Win32
foodsSrc = ["Foods"++lang++".gf"|lang<-foodsLangs]
foodsLangs = words "Afr Amh Bul Cat Cze Dut Eng Epo Fin Fre Ger Gle Heb Hin Ice Ita Jpn Lav Mlt Mon Nep Pes Por Ron Spa Swe Tha Tsn Tur Urd"
--phrasebookSrc = "Phrasebook???.gf" -- doesn't work on Win32
phrasebookSrc = ["Phrasebook"++lang++".gf"|lang<-phrasebookLangs]
phrasebookLangs = words "Bul Cat Chi Dan Dut Eng Lav Hin Nor Spa Swe Tha" -- only fastish languages
--letterSrc = "Letter???.gf"
letterSrc = ["Letter"++lang++".gf"|lang<-letterLangs]
letterLangs = words "Eng Fin Fre Heb Rus Swe"
buildWeb gf (flags,pkg,lbi) =
do --putStrLn "buildWeb"
mapM_ build_pgf example_grammars
where
gfo_dir = buildDir lbi </> "examples"
build_pgf (pgf,subdir,src) =
do createDirectoryIfMissing True tmp_dir
putStrLn $ "Building "++pgf
execute gf args
where
tmp_dir = gfo_dir</>subdir
dir = "examples"</>subdir
args = numJobs flags++["-make","-s"] -- ,"-optimize-pgf"
++["--gfo-dir="++tmp_dir,
"--gf-lib-path="++buildDir lbi </> "rgl",
"--name="++dropExtension pgf,
"--output-dir="++gfo_dir]
++[dir</>file|file<-src]
installWeb = setupWeb NoCopyDest
copyWeb flags = setupWeb dest
where
dest = case copyDest flags of
NoFlag -> NoCopyDest
Flag d -> d
setupWeb dest (pkg,lbi) =
do mapM_ (createDirectoryIfMissing True) [grammars_dir,cloud_dir]
mapM_ copy_pgf example_grammars
copyGFLogo
where
grammars_dir = www_dir </> "grammars"
cloud_dir = www_dir </> "tmp" -- hmm
logo_dir = www_dir </> "Logos"
www_dir = datadir (absoluteInstallDirs pkg lbi dest) </> "www"
gfo_dir = buildDir lbi </> "examples"
copy_pgf (pgf,subdir,_) =
do let dst = grammars_dir</>pgf
putStrLn $ "Installing "++dst
copyFile (gfo_dir</>pgf) dst
gf_logo = "gf0.png"
copyGFLogo =
do createDirectoryIfMissing True logo_dir
copyFile ("doc"</>"Logos"</>gf_logo) (logo_dir</>gf_logo)
execute command args =
do let cmdline = command ++ " " ++ unwords (map showArg args)
-- putStrLn $ "Running: " ++ cmdline
-- appendFile "running" (cmdline++"\n")
e <- rawSystem command args
case e of
ExitSuccess -> return ()
ExitFailure i -> do putStrLn $ "Ran: " ++ cmdline
die $ command++" exited with exit code: " ++ show i
where
showArg arg = if ' ' `elem` arg then "'" ++ arg ++ "'" else arg
-- | This function is used to enable parallel compilation of the RGL and
-- example grammars, but it is commented out by default
-- to avoid casing problems for developers using Cabal<1.20
numJobs flags =
if null n
then ["-j","+RTS","-A20M","-N","-RTS"]
else ["-j="++n,"+RTS","-A20M","-N"++n,"-RTS"]
where
-- buildNumJobs is only available in Cabal>=1.20
n = {-case buildNumJobs flags of
Flag mn | mn/=Just 1-> maybe "" show mn
_ ->-} ""

View File

@@ -1,86 +0,0 @@
#! /bin/bash
### This script builds a binary distribution of GF from the source
### package that this script is a part of. It assumes that you have installed
### the Haskell Platform, version 2013.2.0.0 or 2012.4.0.0.
### Two binary package formats are supported: plain tar files (.tar.gz) and
### OS X Installer packages (.pkg).
os=$(uname) # Operating system name (e.g. Darwin or Linux)
hw=$(uname -m) # Hardware name (e.g. i686 or x86_64)
# GF version number:
ver=$(grep -i ^version: gf.cabal | sed -e 's/version://' -e 's/ //g')
name="gf-$ver"
destdir="$PWD/dist/$name" # assemble binary dist here
prefix=${PREFIX:-/usr/local} # where to install
fmt=${FMT:-tar.gz} # binary package format (tar.gz or pkg)
extralib="$destdir$prefix/lib"
extrainclude="$destdir$prefix/include"
extra="--extra-lib-dirs=$extralib --extra-include-dirs=$extrainclude"
set -e # Stop if an error occurs
set -x # print commands before exuting them
## First configure & build the C run-time system
pushd src/runtime/c
bash setup.sh configure --prefix="$prefix"
bash setup.sh build
bash setup.sh install prefix="$destdir$prefix"
popd
## Build the python binding to the C run-time system
if which >/dev/null python; then
pushd src/runtime/python
EXTRA_INCLUDE_DIRS="$extrainclude" EXTRA_LIB_DIRS="$extralib" python setup.py build
python setup.py install --prefix="$destdir$prefix"
if [ "$fmt" == pkg ] ; then
# A hack for Python on OS X to find the PGF modules
pyver=$(ls "$destdir$prefix/lib" | sed -n 's/^python//p')
pydest="$destdir/Library/Python/$pyver/site-packages"
mkdir -p "$pydest"
ln "$destdir$prefix/lib/python$pyver/site-packages"/pgf* "$pydest"
fi
popd
else
echo "Python is not installed, so the Python binding will not be included"
fi
## Build the Java binding to the C run-time system
if which >/dev/null javac && which >/dev/null jar ; then
pushd src/runtime/java
rm -f libjpgf.la # In case it contains the wrong INSTALL_PATH
if make CFLAGS="-I$extrainclude -L$extralib" INSTALL_PATH="$prefix/lib"
then
make INSTALL_PATH="$destdir$prefix/lib" install
else
echo "*** Skipping the Java binding because of errors"
fi
popd
else
echo "Java SDK is not installed, so the Java binding will not be included"
fi
## Build GF, with C run-time support enabled
cabal install --only-dependencies -fserver -fc-runtime $extra
cabal configure --prefix="$prefix" -fserver -fc-runtime $extra
DYLD_LIBRARY_PATH="$extralib" LD_LIBRARY_PATH="$extralib" cabal build
cabal copy --destdir="$destdir"
libdir=$(dirname $(find "$destdir" -name PGF.hi))
cabal register --gen-pkg-config=$libdir/gf-$ver.conf
case $fmt in
tar.gz)
targz="$name-bin-$hw-$os.tar.gz" # the final tar file
tar -C "$destdir/$prefix" -zcf "dist/$targz" .
echo "Created $targz, consider renaming it to something more user friendly"
;;
pkg)
pkg=$name.pkg
pkgbuild --identifier org.grammaticalframework.gf.pkg --version "$ver" --root "$destdir" --install-location / dist/$pkg
echo "Created $pkg"
esac
rm -r "$destdir"

0
bin/gfmap Executable file → Normal file
View File

0
bin/update_html Executable file → Normal file
View File

Some files were not shown because too many files have changed in this diff Show More