From c90c8afca56ae5beaa74077301ff0f18586d1b0c Mon Sep 17 00:00:00 2001 From: hallgren Date: Thu, 25 Jun 2015 12:22:06 +0000 Subject: Update home page, download page & release notes for GF 3.7. Bump version number in gf.cabal --- download/index-3.6.t2t | 184 ++++++++++++++++++++++++++++++++++++++++++++++ download/index-next.t2t | 180 --------------------------------------------- download/index.t2t | 62 ++++++++-------- download/release-3.7.t2t | 110 +++++++++++++++++++++++++++ download/release-next.t2t | 110 --------------------------- gf.cabal | 2 +- index.html | 4 +- 7 files changed, 327 insertions(+), 325 deletions(-) create mode 100644 download/index-3.6.t2t delete mode 100644 download/index-next.t2t create mode 100644 download/release-3.7.t2t delete mode 100644 download/release-next.t2t diff --git a/download/index-3.6.t2t b/download/index-3.6.t2t new file mode 100644 index 000000000..4ba7f67fd --- /dev/null +++ b/download/index-3.6.t2t @@ -0,0 +1,184 @@ +Grammatical Framework Download and Installation + + +%!style:../css/style.css +%!postproc(html): +%!postproc(html): <meta name = "viewport" content = "width = device-width"><TITLE> +%!postproc(html): <H1> <H1><a href="../"><IMG src="../doc/Logos/gf0.png"></a> +%!postproc(html): <TD><I> <TD><small> +%!postproc(html): </I></TD> </small></TD> + +**GF 3.6** was released on 23 June 2014. + +What's new? See the [Release notes release-3.6.html]. + + +== Binary packages == + +|| Platform | Download | Features | How to install +| Mac OS X | [gf-3.6.pkg gf-3.6.pkg] | //GF+S+C// | Double-click on the package icon +| Mac OS X | [gf-3.6-bin-intel-mac.tar.gz gf-3.6-bin-intel-mac.tar.gz] | //GF+S+C+P// | ``sudo tar -C /usr/local -zxf gf-3.6-bin-intel-mac.tar.gz`` +%| Fedora (32-bit) | [Fedora RPMs /~hallgren/tmp/Fedora/] | //GF+S+C+P// | ``sudo rpm -i ...`` +| Ubuntu (32-bit) | [gf_3.6-1_i386.deb gf_3.6-1_i386.deb] | //GF+S+C+P// | ``sudo dpkg -i gf_3.6-1_i386.deb`` +| Ubuntu (64-bit) | [gf_3.6-1_amd64.deb gf_3.6-1_amd64.deb] | //GF+S+C+P// | ``sudo dpkg -i gf_3.6-1_amd64.deb`` +| Windows | [gf-3.6-bin-windows.zip gf-3.6-bin-windows.zip] | //GF+S// | ``unzip gf-3.6-bin-windows.zip`` +| MINGW | [gf-3.6-bin-i686-MINGW32_NT-6.1.tar.gz gf-3.6-bin-i686-MINGW32_NT-6.1.tar.gz] | //GF+S+C// | ``tar -C / gf-3.6-bin-i686-MINGW32_NT-6.1.tar.gz`` +%| ... | ... | | ... + +Features: GF = GF shell and grammar compiler and the Resource Grammar Library, +S = ``gf -server`` mode, C = C run-time system, P = Python binding to the C run-time system + +%More binary packages might be added later. + +===Notes=== + +The Windows package is installed by just unpacking it anywhere. +%It finds the libraries relative to the ``.exe`` file. +You will probably need to set the ``PATH`` and ``GF_LIB_PATH`` environment +variables, see Inari's notes on +[Installing GF on Windows http://www.grammaticalframework.org/~inari/gf-windows.html#toc3]. + +The new experimental MINGW package is for use in the +[MINGW http://www.mingw.org] environment in Windows. Unpack it in the MSYS shell +(which is started with ``C:\MinGW\msys\1.0\msys.bat``). +It should work out of the box without any additional settings. + +The ``.deb`` packages work on Ubuntu 12.04, 13.10 and 14.04. + +The packages for Mac OS work on 10.8 (Mountain Lion) and on 10.9 (Mavericks). + +The Mac OS and Linux ``.tar.gz`` packages are designed to be installed in +``/usr/local``. +You can install them in other locations, but then you need to set the +``GF_LIB_PATH`` environment variable: + +``` + export GF_LIB_PATH=/usr/local/share/gf-3.6/lib +``` + +where ``/usr/local`` should be replaced with the path to the location where you +unpacked the package. + + +==Installing the latest release from source== + +[GF is on Hackage http://hackage.haskell.org/package/gf], so under normal +circumstances the prodedure is fairly simple: + ++ Install the [Haskell Platform http://hackage.haskell.org/platform] + version 2013.2.0.0 or 2012.4.0.0 (see notes 2&3 below) ++ ``cabal update`` ++ On Linux: install some C libraries from your Linux distribution + (see note 1 below) ++ ``cabal install gf`` + + +You can also download the full source package from here: +[``gf-3.6.tar.gz`` gf-3.6.tar.gz]. + +=== Notes === + +The above steps installs GF for a single user. +% and does not require root privileges. +The executables are put in ``$HOME/.cabal/bin`` +(or, with recent versions of the Haskell platform on Mac OS X, +in ``$HOME/Library/Haskell/bin``), so it is a good +idea to put a line in your ``.bash_profile`` or ``.profile`` +to add that directory to you path: + +``` + PATH=$HOME/.cabal/bin:$PATH +``` +or +``` + PATH=$HOME/Library/Haskell/bin:$PATH +``` + +**Note 1**. +GF uses [``haskeline`` http://hackage.haskell.org/package/haskeline], which +on Linux depends on some non-Haskell libraries that +won't be installed automatically by cabal, and therefore need to be installed +manually. Here is one way to do this: + +- On Ubuntu: ``sudo apt-get install libghc-haskeline-dev`` +- On Fedora: ``sudo yum install ghc-haskeline-devel`` + + +**Note 2**. +We recommend using GHC 7.6 (which is part of the Haskell Platform 2013.2.0.0) +or GHC 7.4 (which is part of the Haskell Platform 2012.4.0.0). +Using GHC 7.0 will probably still work for the most part +(but there is an issue with error reporting in ``gf -server`` +when compiled with GHC 7.0). +Compilation with GHC 6.12 is no longer supported, because of multiple package +version dependency problems. + +The GF source code has been updated to be compilable with GHC 7.8, +unlike the [cgi http://hackage.haskell.org/package/cgi] package on Hackage, +which is needed to compile GF with ``gf -server`` mode support. +If you want to compile GF with GHC 7.8 and need ``gf -server`` mode, +there is +[a patched version of the cgi package on github https://github.com/jhenahan/haskell-cgi] +that you can install instead of the version on Hackage. + +**Note 3**. +[The Haskell Platform for Mac OS X http://www.haskell.org/platform/mac.html] +page states that you need Xcode 3.2 or later, but in fact it appears you need +Xcode 3.2.3 or later. If you have Xcode 3.2.2, you can get an error from the +linker: ``ld: unknown option: -no_pie``. + +=== Known problems === + +There seems to be a bug in some versions of Cabal that can cause + +``` + Distribution/Simple/PackageIndex.hs:124:8-13: Assertion failed +``` + +if the same version of GF is +already installed. If you encounter this, you can use ``ghc-pkg unregister gf`` +to remove the installed version of GF and ``ghc-pkg list gf`` to verify that +it is gone. + +==Installing from the latest developer source code== + +The first time: +%, assuming you already have the Haskell Platform and darcs + +``` + darcs get --lazy http://www.grammaticalframework.org/ GF + cd GF + cabal install +``` + +Subsequently: + +``` + cd GF + darcs pull -a + cabal install +``` + +Alternatively, you can get the code from the +[GF GitHub https://github.com/GrammaticalFramework/GF/] mirror, which is +updated nightly. + +The above notes for installing from source apply also in these cases. +For more info on working with the GF source code, see the +[GF Developers Guide ../doc/gf-developers.html]. + +==Older releases== + +- [GF 3.5 index-3.5.html] (August 2013) +- [GF 3.4 index-3.4.html] (January 2013). +- [GF 3.3.3 index-3.3.3.html] (March 2012). +- [GF 3.3 index-3.3.html] (October 2011). +- [GF 3.2.9 index-3.2.9.html] source-only snapshot (September 2011). +- [GF 3.2 index-3.2.html] (December 2010). +- [GF 3.1.6 index-3.1.6.html] (April 2010). +- [GF 3.1 old-index.html] (December 2009). + + +-------------------- + +[www.grammaticalframework.org http://www.grammaticalframework.org] diff --git a/download/index-next.t2t b/download/index-next.t2t deleted file mode 100644 index d234336e4..000000000 --- a/download/index-next.t2t +++ /dev/null @@ -1,180 +0,0 @@ -Grammatical Framework Download and Installation - - -%!style:../css/style.css -%!postproc(html): </HEAD> <STYLE>body { color: #333; } li>code,p>code,pre { color: #730; }</STYLE></HEAD> -%!postproc(html): <TITLE> <meta name = "viewport" content = "width = device-width"><TITLE> -%!postproc(html): <H1> <H1><a href="../"><IMG src="../doc/Logos/gf0.png"></a> -%!postproc(html): <TD><I> <TD><small> -%!postproc(html): </I></TD> </small></TD> - -**GF 3.7** was released on 25 June 2015. - -What's new? See the [Release notes release-3.7.html]. - - -== Binary packages == - -|| Platform | Download | Features | How to install -| Mac OS X | [gf-3.7.pkg gf-3.7.pkg] | //GF+S+C// | Double-click on the package icon -| Mac OS X | [gf-3.7-bin-intel-mac.tar.gz gf-3.7-bin-intel-mac.tar.gz] | //GF+S+C+P// | ``sudo tar -C /usr/local -zxf gf-3.7-bin-intel-mac.tar.gz`` -%| Fedora (32-bit) | [Fedora RPMs /~hallgren/tmp/Fedora/] | //GF+S+C+P// | ``sudo rpm -i ...`` -| Ubuntu (32-bit) | [gf_3.7-1_i386.deb gf_3.7-1_i386.deb] | //GF+S+C+P// | ``sudo dpkg -i gf_3.7-1_i386.deb`` -| Ubuntu (64-bit) | [gf_3.7-1_amd64.deb gf_3.7-1_amd64.deb] | //GF+S+C+P// | ``sudo dpkg -i gf_3.7-1_amd64.deb`` -| Windows | [gf-3.7-bin-windows.zip gf-3.7-bin-windows.zip] | //GF// | ``unzip gf-3.7-bin-windows.zip`` -%| MINGW | [gf-3.7-bin-i686-MINGW32_NT-6.1.tar.gz gf-3.7-bin-i686-MINGW32_NT-6.1.tar.gz] | //GF+S+C// | ``tar -C / gf-3.7-bin-i686-MINGW32_NT-6.1.tar.gz`` -%| ... | ... | ... | ... - -Features: GF = GF shell and grammar compiler and the Resource Grammar Library, -S = ``gf -server`` mode, C = C run-time system, P = Python binding to the C run-time system - -%More binary packages might be added later. - -===Notes=== - -The Windows package is installed by just unpacking it anywhere. -%It finds the libraries relative to the ``.exe`` file. -You will probably need to set the ``PATH`` and ``GF_LIB_PATH`` environment -variables, see Inari's notes on -[Installing GF on Windows http://www.grammaticalframework.org/~inari/gf-windows.html#toc3]. - -%The new experimental MINGW package is for use in the -%[MINGW http://www.mingw.org] environment in Windows. Unpack it in the MSYS shell -%(which is started with ``C:\MinGW\msys\1.0\msys.bat``). -%It should work out of the box without any additional settings. - -The ``.deb`` packages work on Ubuntu 12.04, 14.04 and 15.04. - -The packages for Mac OS work on 10.9 (Mavericks) and on 10.10 (Yosemite). - -The Mac OS and Linux ``.tar.gz`` packages are designed to be installed in -``/usr/local``. -You can install them in other locations, but then you need to set the -``GF_LIB_PATH`` environment variable: - -``` - export GF_LIB_PATH=/usr/local/share/gf-3.7/lib -``` - -where ``/usr/local`` should be replaced with the path to the location where you -unpacked the package. - - -==Installing the latest release from source== - -[GF is on Hackage http://hackage.haskell.org/package/gf], so under normal -circumstances the prodedure is fairly simple: - -+ Install the [Haskell Platform http://hackage.haskell.org/platform] - version 2013.2.0.0 or 2012.4.0.0 (see notes 2&3 below) -+ ``cabal update`` -+ On Linux: install some C libraries from your Linux distribution - (see note 1 below) -+ ``cabal install gf`` - - -You can also download the full source package from here: -[``gf-3.7.tar.gz`` gf-3.7.tar.gz]. - -=== Notes === - -The above steps installs GF for a single user. -% and does not require root privileges. -The executables are put in ``$HOME/.cabal/bin`` -(or, with recent versions of the Haskell platform on Mac OS X, -in ``$HOME/Library/Haskell/bin``), so it is a good -idea to put a line in your ``.bash_profile`` or ``.profile`` -to add that directory to you path: - -``` - PATH=$HOME/.cabal/bin:$PATH -``` -or -``` - PATH=$HOME/Library/Haskell/bin:$PATH -``` - -**Note 1**. -GF uses [``haskeline`` http://hackage.haskell.org/package/haskeline], which -on Linux depends on some non-Haskell libraries that -won't be installed automatically by cabal, and therefore need to be installed -manually. Here is one way to do this: - -- On Ubuntu: ``sudo apt-get install libghc-haskeline-dev`` -- On Fedora: ``sudo yum install ghc-haskeline-devel`` - - -**Note 2**. -We recommend using GHC 7.8 (which is part of the Haskell Platform 2014.2.0.0) -or GHC 7.6 (which is part of the Haskell Platform 2013.2.0.0). -Using GHC 7.4 (Haskell Platform 2012.4.0.0) still works too. -%Compilation with GHC 6.12 is no longer supported, because of multiple package -%version dependency problems. - -The GF source code has been updated to be compilable with GHC 7.10.1, but we -have seen cases where GF stops with the message ``gf: <<loop>>`` when running -with multiple threads (``-j +RTS -N -RTS``), so it's probably better to stick -with GHC 7.8, at least until GHC 7.10.2 is out. - -**Note 3**. -[The Haskell Platform for Mac OS X http://www.haskell.org/platform/mac.html] -page states that on OS X 10.6 you need Xcode 3.2 or later, but in fact it appears you need -Xcode 3.2.3 or later. If you have Xcode 3.2.2, you can get an error from the -linker: ``ld: unknown option: -no_pie``. - -=== Known problems === - -There seems to be a bug in some versions of Cabal that can cause - -``` - Distribution/Simple/PackageIndex.hs:124:8-13: Assertion failed -``` - -if the same version of GF is -already installed. If you encounter this, you can use ``ghc-pkg unregister gf`` -to remove the installed version of GF and ``ghc-pkg list gf`` to verify that -it is gone. - -==Installing from the latest developer source code== - -The first time: -%, assuming you already have the Haskell Platform and darcs - -``` - darcs get --lazy http://www.grammaticalframework.org/ GF - cd GF - cabal install -``` - -Subsequently: - -``` - cd GF - darcs pull -a - cabal install -``` - -Alternatively, you can get the code from the -[GF GitHub https://github.com/GrammaticalFramework/GF/] mirror, which is -updated nightly. - -The above notes for installing from source apply also in these cases. -For more info on working with the GF source code, see the -[GF Developers Guide ../doc/gf-developers.html]. - -==Older releases== - -- [GF 3.6 index-3.6.html] (June 2014) -- [GF 3.5 index-3.5.html] (August 2013) -- [GF 3.4 index-3.4.html] (January 2013). -- [GF 3.3.3 index-3.3.3.html] (March 2012). -- [GF 3.3 index-3.3.html] (October 2011). -- [GF 3.2.9 index-3.2.9.html] source-only snapshot (September 2011). -- [GF 3.2 index-3.2.html] (December 2010). -- [GF 3.1.6 index-3.1.6.html] (April 2010). -- [GF 3.1 old-index.html] (December 2009). - - --------------------- - -[www.grammaticalframework.org http://www.grammaticalframework.org] diff --git a/download/index.t2t b/download/index.t2t index 4ba7f67fd..d234336e4 100644 --- a/download/index.t2t +++ b/download/index.t2t @@ -8,22 +8,22 @@ Grammatical Framework Download and Installation %!postproc(html): <TD><I> <TD><small> %!postproc(html): </I></TD> </small></TD> -**GF 3.6** was released on 23 June 2014. +**GF 3.7** was released on 25 June 2015. -What's new? See the [Release notes release-3.6.html]. +What's new? See the [Release notes release-3.7.html]. == Binary packages == || Platform | Download | Features | How to install -| Mac OS X | [gf-3.6.pkg gf-3.6.pkg] | //GF+S+C// | Double-click on the package icon -| Mac OS X | [gf-3.6-bin-intel-mac.tar.gz gf-3.6-bin-intel-mac.tar.gz] | //GF+S+C+P// | ``sudo tar -C /usr/local -zxf gf-3.6-bin-intel-mac.tar.gz`` +| Mac OS X | [gf-3.7.pkg gf-3.7.pkg] | //GF+S+C// | Double-click on the package icon +| Mac OS X | [gf-3.7-bin-intel-mac.tar.gz gf-3.7-bin-intel-mac.tar.gz] | //GF+S+C+P// | ``sudo tar -C /usr/local -zxf gf-3.7-bin-intel-mac.tar.gz`` %| Fedora (32-bit) | [Fedora RPMs /~hallgren/tmp/Fedora/] | //GF+S+C+P// | ``sudo rpm -i ...`` -| Ubuntu (32-bit) | [gf_3.6-1_i386.deb gf_3.6-1_i386.deb] | //GF+S+C+P// | ``sudo dpkg -i gf_3.6-1_i386.deb`` -| Ubuntu (64-bit) | [gf_3.6-1_amd64.deb gf_3.6-1_amd64.deb] | //GF+S+C+P// | ``sudo dpkg -i gf_3.6-1_amd64.deb`` -| Windows | [gf-3.6-bin-windows.zip gf-3.6-bin-windows.zip] | //GF+S// | ``unzip gf-3.6-bin-windows.zip`` -| MINGW | [gf-3.6-bin-i686-MINGW32_NT-6.1.tar.gz gf-3.6-bin-i686-MINGW32_NT-6.1.tar.gz] | //GF+S+C// | ``tar -C / gf-3.6-bin-i686-MINGW32_NT-6.1.tar.gz`` -%| ... | ... | | ... +| Ubuntu (32-bit) | [gf_3.7-1_i386.deb gf_3.7-1_i386.deb] | //GF+S+C+P// | ``sudo dpkg -i gf_3.7-1_i386.deb`` +| Ubuntu (64-bit) | [gf_3.7-1_amd64.deb gf_3.7-1_amd64.deb] | //GF+S+C+P// | ``sudo dpkg -i gf_3.7-1_amd64.deb`` +| Windows | [gf-3.7-bin-windows.zip gf-3.7-bin-windows.zip] | //GF// | ``unzip gf-3.7-bin-windows.zip`` +%| MINGW | [gf-3.7-bin-i686-MINGW32_NT-6.1.tar.gz gf-3.7-bin-i686-MINGW32_NT-6.1.tar.gz] | //GF+S+C// | ``tar -C / gf-3.7-bin-i686-MINGW32_NT-6.1.tar.gz`` +%| ... | ... | ... | ... Features: GF = GF shell and grammar compiler and the Resource Grammar Library, S = ``gf -server`` mode, C = C run-time system, P = Python binding to the C run-time system @@ -38,14 +38,14 @@ You will probably need to set the ``PATH`` and ``GF_LIB_PATH`` environment variables, see Inari's notes on [Installing GF on Windows http://www.grammaticalframework.org/~inari/gf-windows.html#toc3]. -The new experimental MINGW package is for use in the -[MINGW http://www.mingw.org] environment in Windows. Unpack it in the MSYS shell -(which is started with ``C:\MinGW\msys\1.0\msys.bat``). -It should work out of the box without any additional settings. +%The new experimental MINGW package is for use in the +%[MINGW http://www.mingw.org] environment in Windows. Unpack it in the MSYS shell +%(which is started with ``C:\MinGW\msys\1.0\msys.bat``). +%It should work out of the box without any additional settings. -The ``.deb`` packages work on Ubuntu 12.04, 13.10 and 14.04. +The ``.deb`` packages work on Ubuntu 12.04, 14.04 and 15.04. -The packages for Mac OS work on 10.8 (Mountain Lion) and on 10.9 (Mavericks). +The packages for Mac OS work on 10.9 (Mavericks) and on 10.10 (Yosemite). The Mac OS and Linux ``.tar.gz`` packages are designed to be installed in ``/usr/local``. @@ -53,7 +53,7 @@ You can install them in other locations, but then you need to set the ``GF_LIB_PATH`` environment variable: ``` - export GF_LIB_PATH=/usr/local/share/gf-3.6/lib + export GF_LIB_PATH=/usr/local/share/gf-3.7/lib ``` where ``/usr/local`` should be replaced with the path to the location where you @@ -74,7 +74,7 @@ circumstances the prodedure is fairly simple: You can also download the full source package from here: -[``gf-3.6.tar.gz`` gf-3.6.tar.gz]. +[``gf-3.7.tar.gz`` gf-3.7.tar.gz]. === Notes === @@ -105,25 +105,20 @@ manually. Here is one way to do this: **Note 2**. -We recommend using GHC 7.6 (which is part of the Haskell Platform 2013.2.0.0) -or GHC 7.4 (which is part of the Haskell Platform 2012.4.0.0). -Using GHC 7.0 will probably still work for the most part -(but there is an issue with error reporting in ``gf -server`` -when compiled with GHC 7.0). -Compilation with GHC 6.12 is no longer supported, because of multiple package -version dependency problems. - -The GF source code has been updated to be compilable with GHC 7.8, -unlike the [cgi http://hackage.haskell.org/package/cgi] package on Hackage, -which is needed to compile GF with ``gf -server`` mode support. -If you want to compile GF with GHC 7.8 and need ``gf -server`` mode, -there is -[a patched version of the cgi package on github https://github.com/jhenahan/haskell-cgi] -that you can install instead of the version on Hackage. +We recommend using GHC 7.8 (which is part of the Haskell Platform 2014.2.0.0) +or GHC 7.6 (which is part of the Haskell Platform 2013.2.0.0). +Using GHC 7.4 (Haskell Platform 2012.4.0.0) still works too. +%Compilation with GHC 6.12 is no longer supported, because of multiple package +%version dependency problems. + +The GF source code has been updated to be compilable with GHC 7.10.1, but we +have seen cases where GF stops with the message ``gf: <<loop>>`` when running +with multiple threads (``-j +RTS -N -RTS``), so it's probably better to stick +with GHC 7.8, at least until GHC 7.10.2 is out. **Note 3**. [The Haskell Platform for Mac OS X http://www.haskell.org/platform/mac.html] -page states that you need Xcode 3.2 or later, but in fact it appears you need +page states that on OS X 10.6 you need Xcode 3.2 or later, but in fact it appears you need Xcode 3.2.3 or later. If you have Xcode 3.2.2, you can get an error from the linker: ``ld: unknown option: -no_pie``. @@ -169,6 +164,7 @@ For more info on working with the GF source code, see the ==Older releases== +- [GF 3.6 index-3.6.html] (June 2014) - [GF 3.5 index-3.5.html] (August 2013) - [GF 3.4 index-3.4.html] (January 2013). - [GF 3.3.3 index-3.3.3.html] (March 2012). diff --git a/download/release-3.7.t2t b/download/release-3.7.t2t new file mode 100644 index 000000000..4d74cc46d --- /dev/null +++ b/download/release-3.7.t2t @@ -0,0 +1,110 @@ +GF 3.7 Release Notes +June 2015 + +%!style:../css/style.css +%!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> + +==Installation== + +See the [download page http://www.grammaticalframework.org/download/index.html]. + +==What's new== + +Over 800 changes have been pushed to the source repository since +[the release of GF 3.6 release-3.6.html] in June 2014. + +===GF compiler and run-time library=== + +====New features and notable changes==== + +- GF shell: the commands available in the shell after importing with the + ``-retain`` flag are now a superset of the commands available after + importing without ``-retain``. + (Previously commands that require compilation all the way to PMCFG were + not available when the ``-retain`` flag was used.) +- The command line flag ``-s``/``-q`` now silences all warnings. +- GF now supports parallel batch compilation of grammars. + This is activated with the ``-j`` + flag. (For the time being, you also need to pass ``+RTS -N -RTS`` to enable + parallelism in the GHC run-time system.) +- Concrete syntax can now be translated to Haskell. The flag + ``-output-format=haskell`` translates abstract syntax to Haskell as before. + By also adding ``-haskell=concrete`` you get a Haskell module for each + concrete syntax of the grammar. These contain translations of + linearization types and linearization functions. + By adding ``-haskell=variants`` you get linearization functions that output + all variants. + (You don't get any functions for parsing.) +- Now there is full support for all orthographic primitives: + ``BIND``, ``SOFT_BIND``, ``SOFT_SPACE``, ``CAPIT``, ``ALL_CAPIT`` and + ``nonExist``. +- It is now possible to define callbacks for literals from the Haskell + binding to the C runtime. This is used for instance in + the Wide Coverage translator on the Web. + + +====Other changes and bug fixes==== + +- GF now uses colors to highlight errors and warnings (except on Windows). +- Even though GF works with absolute paths internally, GF now shows paths + relative to the current directory in diagnostic output. +- GF Shell and ``gf -server``: improved responsiveness when large grammars are + loaded (by increasing the GHC RTS idle timeout before full GC from the + default 0.3s to 5s). +- Numerous fixes in the translation dictionaries. +- C-run-time system: Bug fixes in the Java and Python bindings. +- C-run-time system: the parser is now fully Unicode compatible. +- Because of the new orthographic primitives, the version numbers in + ``.pgf`` and ``.gfo`` files have been bumped. PGF files + produced with this version of GF can not be used with older versions of GF. + If you get an error message saying ``.gfo file version mismatch``, remove + old ``.gfo`` files. + + +====Changes of interest to compiler developers==== + +- The compiler is now available as a Haskell library. The module ``GF`` + serves as a preliminary compiler API. It exports a selection of + types and functions from the compiler. [...] +- Some Haddock documentation improvements to document the compiler API. +- Various refactoring for readability, modularity and efficiency. Removal of + some dead code. + + +===Resource Grammar Library=== + +- New languages in the Resource Grammar Library: Mongolian + (see the [updated synopsis ../lib/doc/synopsis.html]). + + +===GF Cloud services=== + +- Minibar and Wide Coverage Translation Demo: speech output is now available + (in browsers that support it). +- The Wide Coverage Translation Demo can now draw syntax trees and show + inflection tables. There are also lots of improvements in the + translation grammar and dictionaries. +- PGF service: add commands ``c-abstrtree`` and ``c-parsetree``. + These are the C runtime variants of the ``absttree`` and ``parsetree`` + commands. They work in the same way, but support fewer rendering options. +- PGF service: + The ``parse``/``translate``/``c-parse``/``c-translate`` commands now + recognize the option ``jsontree=true`` to augment the returned JSON + structure with a field called + ``jsontree`` next to the field ``tree``, or ``jsontrees`` next to ``trees``, + containing the the returned syntax tree in JSON format. +- PGF service: when using ``full=yes`` with the ``complete`` command, + additional information about completions is included in the output, in + particular there is an additional field ``seq`` containing the longest + possible completion. +- PGF service: add command ``c-linearizeAll`` to obtain all variants. +- PGF service: PGFs now expire from the internal cache when they have been + unused for 24 hours, to keep memory use down in long running servers. +- PGF service: limit the number of parallel calls to the C run-time parse + function to 4 by default. The limit can be changed with the ``-j`` flag. + + +-------------------- + +[www.grammaticalframework.org http://www.grammaticalframework.org] diff --git a/download/release-next.t2t b/download/release-next.t2t deleted file mode 100644 index 4d74cc46d..000000000 --- a/download/release-next.t2t +++ /dev/null @@ -1,110 +0,0 @@ -GF 3.7 Release Notes -June 2015 - -%!style:../css/style.css -%!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> - -==Installation== - -See the [download page http://www.grammaticalframework.org/download/index.html]. - -==What's new== - -Over 800 changes have been pushed to the source repository since -[the release of GF 3.6 release-3.6.html] in June 2014. - -===GF compiler and run-time library=== - -====New features and notable changes==== - -- GF shell: the commands available in the shell after importing with the - ``-retain`` flag are now a superset of the commands available after - importing without ``-retain``. - (Previously commands that require compilation all the way to PMCFG were - not available when the ``-retain`` flag was used.) -- The command line flag ``-s``/``-q`` now silences all warnings. -- GF now supports parallel batch compilation of grammars. - This is activated with the ``-j`` - flag. (For the time being, you also need to pass ``+RTS -N -RTS`` to enable - parallelism in the GHC run-time system.) -- Concrete syntax can now be translated to Haskell. The flag - ``-output-format=haskell`` translates abstract syntax to Haskell as before. - By also adding ``-haskell=concrete`` you get a Haskell module for each - concrete syntax of the grammar. These contain translations of - linearization types and linearization functions. - By adding ``-haskell=variants`` you get linearization functions that output - all variants. - (You don't get any functions for parsing.) -- Now there is full support for all orthographic primitives: - ``BIND``, ``SOFT_BIND``, ``SOFT_SPACE``, ``CAPIT``, ``ALL_CAPIT`` and - ``nonExist``. -- It is now possible to define callbacks for literals from the Haskell - binding to the C runtime. This is used for instance in - the Wide Coverage translator on the Web. - - -====Other changes and bug fixes==== - -- GF now uses colors to highlight errors and warnings (except on Windows). -- Even though GF works with absolute paths internally, GF now shows paths - relative to the current directory in diagnostic output. -- GF Shell and ``gf -server``: improved responsiveness when large grammars are - loaded (by increasing the GHC RTS idle timeout before full GC from the - default 0.3s to 5s). -- Numerous fixes in the translation dictionaries. -- C-run-time system: Bug fixes in the Java and Python bindings. -- C-run-time system: the parser is now fully Unicode compatible. -- Because of the new orthographic primitives, the version numbers in - ``.pgf`` and ``.gfo`` files have been bumped. PGF files - produced with this version of GF can not be used with older versions of GF. - If you get an error message saying ``.gfo file version mismatch``, remove - old ``.gfo`` files. - - -====Changes of interest to compiler developers==== - -- The compiler is now available as a Haskell library. The module ``GF`` - serves as a preliminary compiler API. It exports a selection of - types and functions from the compiler. [...] -- Some Haddock documentation improvements to document the compiler API. -- Various refactoring for readability, modularity and efficiency. Removal of - some dead code. - - -===Resource Grammar Library=== - -- New languages in the Resource Grammar Library: Mongolian - (see the [updated synopsis ../lib/doc/synopsis.html]). - - -===GF Cloud services=== - -- Minibar and Wide Coverage Translation Demo: speech output is now available - (in browsers that support it). -- The Wide Coverage Translation Demo can now draw syntax trees and show - inflection tables. There are also lots of improvements in the - translation grammar and dictionaries. -- PGF service: add commands ``c-abstrtree`` and ``c-parsetree``. - These are the C runtime variants of the ``absttree`` and ``parsetree`` - commands. They work in the same way, but support fewer rendering options. -- PGF service: - The ``parse``/``translate``/``c-parse``/``c-translate`` commands now - recognize the option ``jsontree=true`` to augment the returned JSON - structure with a field called - ``jsontree`` next to the field ``tree``, or ``jsontrees`` next to ``trees``, - containing the the returned syntax tree in JSON format. -- PGF service: when using ``full=yes`` with the ``complete`` command, - additional information about completions is included in the output, in - particular there is an additional field ``seq`` containing the longest - possible completion. -- PGF service: add command ``c-linearizeAll`` to obtain all variants. -- PGF service: PGFs now expire from the internal cache when they have been - unused for 24 hours, to keep memory use down in long running servers. -- PGF service: limit the number of parallel calls to the C run-time parse - function to 4 by default. The limit can be changed with the ``-j`` flag. - - --------------------- - -[www.grammaticalframework.org http://www.grammaticalframework.org] diff --git a/gf.cabal b/gf.cabal index 6f3dda941..181bb9904 100644 --- a/gf.cabal +++ b/gf.cabal @@ -1,5 +1,5 @@ name: gf -version: 3.6.10-darcs +version: 3.7 cabal-version: >= 1.10 build-type: Custom diff --git a/index.html b/index.html index 249e43310..7bf14c9e6 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@ function sitesearch() { <img class="gflogo" src="doc/Logos/gf1.svg" alt=""> <H1>Grammatical Framework</H1> <small class=tagline>A programming language for multilingual grammar applications</small> -<!--<p>Version 3.6<br>June 2014--> +<!--<p>Version 3.7<br>June 2015--> </div> <div class=menu> @@ -109,6 +109,8 @@ document.write('<div style="float: right; margin-top: 3ex;"> <form onsubmit="re <div class=news2> <table class=news> +<tr><td>2015-06-25:<td><strong>GF 3.7 released!</strong> + <a href="download/release-3.7.html">Release notes</a>. <tr><td>2015-03-13:<td>New resource grammar language: Mongolian. See <a href="lib/doc/synopsis.html">library synopsis</a>. <tr><td>2015-02-09:<td><strong>GF Summer School in Gozo (Malta), 13-24 July 2015</strong> -- cgit v1.2.3