diff --git a/doc/gf2-highlights.html b/doc/gf2-highlights.html index c61afade5..d028ff133 100644 --- a/doc/gf2-highlights.html +++ b/doc/gf2-highlights.html @@ -6,11 +6,11 @@
-13/10/2003 - 25/11 - 2/4/2004 +13/10/2003 - 25/11 - 2/4/2004 - 18/6
@@ -21,7 +21,7 @@ Highlights, preliminary version
The updated HelpFile (accessible through h command) -marks unsupported but expected features with *. +marks unsupported features present in GF 1.2 with *. +They will be supported again if interested users appear.
-GF1 grammars can be automatically translated to GF2 (although result not as good +GF1 grammars can be automatically translated to GF2 (although the +result is not as good as manual, since indentation and comments are destroyed). The results can be -saved in GF2 files, but this is not necessary. +saved in GF2 files, but this is not necessary. +Some rarely used GF1 features are no longer supported (see next section).
-It is also possible to write a GF2 grammar back to GF1. +It is also possible to write a GF2 grammar back to GF1, with the +command pg -printer=old.
-Example grammars and resource libraries are have been -converted. There is a new resource API with -many new constructions. The new versions lie in grammars/newresource. +Resource libraries +and some example grammars and have been +converted. Most old example grammars work without any changes. +There is a new resource API with +many new constructions.
A make facility works, finding out which modules have to be recompiled. -There is some room for improvement.
-transfer modules have to be called by flags. - -
- - Soundness checking of module depencencies and completeness is not complete. This means that some errors may show up too late. @@ -134,15 +155,23 @@ complete. This means that some errors may show up too late. Latex and XML printing of grammars do not work yet. +
@@ -212,10 +241,6 @@ with a variant where the last letter is replaced by Z, e.g. instance is replaced by instancZ. This method is of course unsafe and should be replaced by something better. -
- -The package format of GF 1.2 is made obsolete -by the module system. It is not handled properly by GF2. @@ -334,10 +359,13 @@ first left bracket ({). The header gives File name extensions:
+ +If the compilation of a grammar fails at some module, the state of the +GF shell contains all modules read up to that point. This makes it +faster to compile the faulty module again after fixing it. + +
+ +Use the command po = print_options to see what +modules are in the state.
@@ -374,6 +412,29 @@ To force compilation: +
+ -path=.:../resource/russian:../prelude ++enables files to be found in three different directories. +By default, only the current directory is included. +If a path flag is given, the current directory +. must be explicitly included if it is wanted. + +
+ +The path flag can be set in any of the following +places: +