mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-04 08:42:50 -06:00
Release note updates and some other minor things
This commit is contained in:
2
.ghci
2
.ghci
@@ -1,2 +1,2 @@
|
|||||||
:set -isrc/compiler -isrc/runtime/haskell -isrc/server -isrc/example-based -isrc/server/transfer -idist/build/autogen -idist/build/gf/gf-tmp
|
:set -isrc/compiler -isrc/binary -isrc/runtime/haskell -isrc/server -isrc/example-based -isrc/server/transfer -idist/build/autogen -idist/build/gf/gf-tmp
|
||||||
: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
|
: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
|
||||||
|
|||||||
@@ -6,16 +6,17 @@ Thomas Hallgren
|
|||||||
%!postproc(html): <TITLE> <meta charset="UTF-8"><meta name = "viewport" content = "width = device-width"> <TITLE>
|
%!postproc(html): <TITLE> <meta charset="UTF-8"><meta name = "viewport" content = "width = device-width"> <TITLE>
|
||||||
%!postproc(html): <H1> <H1><a href="../"><IMG src="../doc/Logos/gf0.png"></a>
|
%!postproc(html): <H1> <H1><a href="../"><IMG src="../doc/Logos/gf0.png"></a>
|
||||||
|
|
||||||
==Planned changes to character encodings in GF grammar files ==
|
==Changes to character encodings in GF grammar files ==
|
||||||
|
|
||||||
We plan to make two changes:
|
Between the release of GF 3.5 and the next version, two changes were made
|
||||||
|
relating to character encodings in GF grammar files:
|
||||||
|
|
||||||
+ Currently the default character encoding in GF grammar files is Latin-1
|
+ The default character encoding was changed from Latin-1
|
||||||
(also known as iso-8859-1, cp1252). We plan to change the default to UTF-8.
|
(also known as iso-8859-1, cp1252) to UTF-8.
|
||||||
|
|
||||||
+ It is currently possible to use another character encoding by specifying it
|
+ They way you specify alternate character encodings was changed. Instead of
|
||||||
with a ``flags coding = ...`` declaration in the source file. We plan to change
|
using a ``flags coding = ...`` declaration in the source file, you should now
|
||||||
this to use a pragma ``--# -coding=...`` at the top of the file instead.
|
use a pragma ``--# -coding=...`` at the top of the file instead.
|
||||||
|
|
||||||
|
|
||||||
== Advantages ==
|
== Advantages ==
|
||||||
|
|||||||
@@ -14,15 +14,23 @@ See the [download page http://www.grammaticalframework.org/download/index.html].
|
|||||||
Over [...] changes have been pushed to the source repository since the release
|
Over [...] changes have been pushed to the source repository since the release
|
||||||
of GF 3.5.
|
of GF 3.5.
|
||||||
|
|
||||||
Closed issues: 25, 30, 41, 57, 60, 61, 68, 80.
|
Closed issues: 25, 30, 41, 57, 60, 61, 68, 80, 81.
|
||||||
|
|
||||||
===GF compiler and run-time library===
|
===GF compiler and run-time library===
|
||||||
|
|
||||||
|
- Token gluing, BIND, SOFT_BIND [...]
|
||||||
|
- ``nonExist`` now exists. [...]
|
||||||
- The default character encoding in grammar files has been changed from
|
- The default character encoding in grammar files has been changed from
|
||||||
Latin-1 to UTF-8. Also, alternate character encodings should now be specified
|
Latin-1 to UTF-8. Also, alternate character encodings should now be specified
|
||||||
as ``--# -coding=``//enc//, instead of ``flags coding=``//enc//.
|
as ``--# -coding=``//enc//, instead of ``flags coding=``//enc//.
|
||||||
See the separate document
|
See the separate document
|
||||||
[GF character encoding changes encoding-change.html] for more details.
|
[GF character encoding changes encoding-change.html] for more details.
|
||||||
|
- Unicode characters in identifiers [...]
|
||||||
|
- The PGF file format has changed in minor but backward incompatible ways
|
||||||
|
GF can still read the old format, thanks to a backward compatibility
|
||||||
|
module. Old PGF files can be converted to the new format by loading them
|
||||||
|
in the GF shell and writing out a new PGF file with the ``pg -pgf`` command.
|
||||||
|
|
||||||
- Nonlinear patterns (i.e., patterns where the same variable appears more than
|
- Nonlinear patterns (i.e., patterns where the same variable appears more than
|
||||||
once) in concrete syntax are now detected and reported as errors.
|
once) in concrete syntax are now detected and reported as errors.
|
||||||
(Section C.4.13 in the GF book explicitly states that patterns must be
|
(Section C.4.13 in the GF book explicitly states that patterns must be
|
||||||
@@ -33,8 +41,9 @@ Closed issues: 25, 30, 41, 57, 60, 61, 68, 80.
|
|||||||
- The refresh pass
|
- The refresh pass
|
||||||
% (and thus the command line option --dump-refresh)
|
% (and thus the command line option --dump-refresh)
|
||||||
had become obsolete and has been removed.
|
had become obsolete and has been removed.
|
||||||
- ``nonExist`` now exists. [...]
|
- The old partial evaluator
|
||||||
- Unicode characters in identifiers [...]
|
(and thus the command line options --new-comp and --old-comp)
|
||||||
|
has been removed.
|
||||||
|
|
||||||
|
|
||||||
===Resource Grammar Library===
|
===Resource Grammar Library===
|
||||||
|
|||||||
Reference in New Issue
Block a user