1
0
forked from GitHub/gf-core

Release note updates and some other minor things

This commit is contained in:
hallgren
2013-12-18 16:22:59 +00:00
parent 35f86b7d81
commit 6ce085349d
4 changed files with 23 additions and 11 deletions

2
.ghci
View File

@@ -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

View File

@@ -6,16 +6,17 @@ Thomas Hallgren
%!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>
==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
(also known as iso-8859-1, cp1252). We plan to change the default to UTF-8.
+ The default character encoding was changed from Latin-1
(also known as iso-8859-1, cp1252) to UTF-8.
+ It is currently possible to use another character encoding by specifying it
with a ``flags coding = ...`` declaration in the source file. We plan to change
this to use a pragma ``--# -coding=...`` at the top of the file instead.
+ They way you specify alternate character encodings was changed. Instead of
using a ``flags coding = ...`` declaration in the source file, you should now
use a pragma ``--# -coding=...`` at the top of the file instead.
== Advantages ==

View File

@@ -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
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===
- Token gluing, BIND, SOFT_BIND [...]
- ``nonExist`` now exists. [...]
- The default character encoding in grammar files has been changed from
Latin-1 to UTF-8. Also, alternate character encodings should now be specified
as ``--# -coding=``//enc//, instead of ``flags coding=``//enc//.
See the separate document
[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
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
@@ -33,8 +41,9 @@ Closed issues: 25, 30, 41, 57, 60, 61, 68, 80.
- The refresh pass
% (and thus the command line option --dump-refresh)
had become obsolete and has been removed.
- ``nonExist`` now exists. [...]
- Unicode characters in identifiers [...]
- The old partial evaluator
(and thus the command line options --new-comp and --old-comp)
has been removed.
===Resource Grammar Library===

View File

@@ -83,7 +83,9 @@ Library
build-depends: binary
ghc-options: -fwarn-unused-imports
ghc-prof-options: -auto-all
extensions:
exposed-modules:
PGF
PGF.Data