mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
Preparing for beta release.
This commit is contained in:
@@ -10,7 +10,7 @@ Highlights, preliminary version
|
||||
|
||||
<p>
|
||||
|
||||
13/10/2003
|
||||
13/10/2003 - 25/11
|
||||
|
||||
<p>
|
||||
|
||||
@@ -18,6 +18,12 @@ Highlights, preliminary version
|
||||
|
||||
</center>
|
||||
|
||||
|
||||
<h2>Syntax of GF</h2>
|
||||
|
||||
An accurate <a href="DocGF.ps.gz">language specification</a> is now available.
|
||||
|
||||
|
||||
<h2>Summary of novelties</h2>
|
||||
|
||||
<h4>Module system</h4>
|
||||
@@ -69,36 +75,42 @@ Highlights, preliminary version
|
||||
|
||||
<!-- NEW -->
|
||||
|
||||
<h2>Status (14/11/2003)</h2>
|
||||
<h2>Status (25/11/2003)</h2>
|
||||
|
||||
Grammar compiler, editor GUIs, and shell work.
|
||||
|
||||
<p>
|
||||
|
||||
GF1 grammars can be automatically translated to GF2 (although result not as good
|
||||
as manual). The results can be saved in GF2 files, but this is not necessary.
|
||||
as manual, since indentation and comments are destroyed). The results can be
|
||||
saved in GF2 files, but this is not necessary.
|
||||
|
||||
<p>
|
||||
|
||||
Example grammars and resource libraries are in the process of
|
||||
be converted. At the same time, their API has grown with
|
||||
new constructions.
|
||||
English and German resources are up-to-date.
|
||||
Finnish and Swedish are also, but their derived libraries
|
||||
have not been adapted to the use of security-bringing lock fields.
|
||||
|
||||
being converted. There will be a new API with
|
||||
many new constructions. The new versions lie in <tt>grammars/newresource</tt>.
|
||||
English and Swedish resources are up-to-date.
|
||||
In the old API version, <tt>grammars/resource</tt>, the other languages
|
||||
are up-to-date.
|
||||
|
||||
<p>
|
||||
|
||||
A make facility works, finding out which modules have to be recompiled.
|
||||
There is some room for improvement.
|
||||
<br>
|
||||
<b>Bug</b>.
|
||||
Sometimes the grammar compiler gets confused if there are many
|
||||
grammars open simultaneously. Then the advice is to empty
|
||||
the environment (using <tt>e</tt>) and compile grammar one by one.
|
||||
When read from <tt>gfc</tt> versions, there should be no problems
|
||||
to have several grammars simultaneously.
|
||||
|
||||
<p>
|
||||
|
||||
The module type <tt>grammar</tt> (to build multilingual grammars) not yet
|
||||
implemented.
|
||||
|
||||
<il> <tt>transfer</tt> modules have to be called by flags
|
||||
<tt>transfer</tt> modules have to be called by flags
|
||||
|
||||
<p>
|
||||
|
||||
@@ -153,6 +165,13 @@ line, e.g.
|
||||
% gf2 -old -abs=Tutorial tut1.Eng.gf tut1.Fin.gf tut1.Fra.gf
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
|
||||
GF2 has more reserved words than GF 1.2. When old files are read, a preprocessor
|
||||
replaces every identifier that has the shape of a new reserved word
|
||||
with a variant where the last letter is replaced by <tt>Z</tt>, e.g.
|
||||
<tt>instance</tt> is replaced by <tt>instancZ</tt>. This method is of course
|
||||
unsafe and should be replaced by something better.
|
||||
|
||||
|
||||
|
||||
|
||||
55
doc/index.html
Normal file
55
doc/index.html
Normal file
@@ -0,0 +1,55 @@
|
||||
<html>
|
||||
|
||||
<body bgcolor="#FFFFFF" text="#000000">
|
||||
|
||||
<center>
|
||||
|
||||
<h1>Grammatical Framework Version 2 beta</h1>
|
||||
|
||||
<p>
|
||||
|
||||
25/11/2003
|
||||
|
||||
<p>
|
||||
|
||||
<a href="http://www.cs.chalmers.se/~aarne">Aarne Ranta</a>
|
||||
|
||||
<p>
|
||||
|
||||
Beta version of GF2 now available:
|
||||
|
||||
<p>
|
||||
|
||||
<a href="gf2-highlights.html">Highlights</a>
|
||||
|
||||
<p>
|
||||
|
||||
<a href="gf2-beta-src.tgz">Sources</a>
|
||||
|
||||
<p>
|
||||
|
||||
<a href="gf2-beta-grammars.tgz">Example grammars</a>
|
||||
|
||||
<p>
|
||||
|
||||
<a href="gf2-beta-linux.gz">Linux binary</a> (with fudgets)
|
||||
|
||||
<p>
|
||||
|
||||
<a href="gf2-beta-sun.gz">Sun binary</a> (without fudgets;
|
||||
use Java GUI from src/java)
|
||||
|
||||
<p>
|
||||
|
||||
|
||||
<a href="DocGF.ps.gz">Language specification</a> is now available.
|
||||
|
||||
<p>
|
||||
|
||||
See <a href="http://www.cs.chalmers.se/~aarne/GF/">GF Homepage</a> for
|
||||
more information on GF.
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:../resource/nabstract:../resource/nenglish:../prelude
|
||||
--# -path=.:../newresource/abstract:../newresource/english:../prelude
|
||||
|
||||
concrete DatabaseEng of Database = open Prelude, ResourceEng in {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--# -path=.:../resource/nabstract:../resource/nenglish:../prelude
|
||||
--# -path=.:../newresource/abstract:../newresource/english:../prelude
|
||||
|
||||
concrete RestaurantEng of Restaurant =
|
||||
DatabaseEng ** open Prelude, ParadigmsEng in {
|
||||
|
||||
@@ -92,7 +92,7 @@ compileModule opts1 st0 file = do
|
||||
t <- ioeIO getNowTime
|
||||
return $ (reverseModules cgr, -- to preserve dependency order
|
||||
(reverseModules sgr, --- keepResModules opts sgr, --- keep all so far
|
||||
[(f,t) | f <- files])) -- pass on the time of creation
|
||||
[])) ---- (f,t) | f <- files])) -- pass on the time of creation
|
||||
|
||||
compileEnvShSt :: ShellState -> [ModName] -> CompileEnv
|
||||
compileEnvShSt st fs = (0,sgr,cgr) where
|
||||
|
||||
@@ -1 +1 @@
|
||||
module Today where today = "Tue Nov 25 08:16:52 CET 2003"
|
||||
module Today where today = "Tue Nov 25 16:53:53 CET 2003"
|
||||
|
||||
Reference in New Issue
Block a user