summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-11-07Move unused `pgf-binary` into its own repository, at:John J. Camilleri
https://github.com/GrammaticalFramework/pgf-binary
2018-10-19Add {-# LANGUAGE GADTs -#} to the generated Haskell fileInari Listenmaa
2018-10-16gf -cshell bug fixThomas Hallgren
The functions cExpr and hsExpr in GF.Command.Commands2 need to handle string literals.
2018-10-15Merge branch 'master' of https://github.com/GrammaticalFramework/gf-coreKrasimir Angelov
2018-10-15hide the compatibility APIKrasimir Angelov
2018-10-10Comment out links to some old demos that no longer workThomas Hallgren
2018-09-21option rf -paragraphsAarne Ranta
2018-08-06A version of `readPGF` where the user handles the IO.Frederik Hanghøj Iversen
2018-07-31gf-server.cabal: relax network version bounds and make building the library ↵Thomas Hallgren
and pgf-service executable optional This allows you to build the content-service without installing the problematic fastcgi library.
2018-07-26Minimal update with new repo URLs & build instructionsJohn J. Camilleri
2018-07-22GF_LIB_PATH can now be path1:path2:path3, not just path1meng wong
Traditionally, GF_LIB_PATH points to something like `.../share/ghc-8.0.2-x86_64/gf-3.9/lib` and if you want prelude and alltenses and present, you add a `--# -path=.:present` compiler pragma to the top of your .gf file But if you are developing some kind of application grammar library or contrib of your own, you might find yourself repeating your library path at the top of all your .gf files. After painstakingly maintaining the same library path at the top of all your .gf files, you might say, let's factor this out into GF_LIB_PATH. Then you might then find to your surprise that GF_LIB_PATH doesn't accept the usual colon:separated:path notation familiar from, say, unix PATH and MANPATH. This patch allows you to define `GF_LIB_PATH=gf-3.9.lib:$HOME/gf-contrib/whatever/lib` in a more natural way. If you are an RGL hacker and have your own version of the RGL tree sitting somewhere, you should be able to have both paths in the GF_LIB_PATH, for added convenience. This minor convenience will probably lead to obscure bugs and great frustration when you find that your changes are mysteriously not being picked up by GF; so keep this in mind and use it cautiously. This caution should probably sit in the documentation somewhere. A subsequent commit will do that. If you use zsh, you can do this to quickly build up a big GF_LIB_PATH: % gf_lib_path=( $HOME/src/GF/lib/src/{api,abstract,common,english,api/libraryBrowser,prelude,..} ) % typeset -xT GF_LIB_PATH gf_lib_path
2018-07-04Remove code which tries to get version information from darcs folderJohn J. Camilleri
2018-06-27GF.Server: add 'import Control.Applicative' for compatibilit with GHC<7.10Thomas Hallgren
One could also add stricter version constraints in gf.cabal, e.g. base>=4.8 (implies GHC>=7.10) if we want to only support building with GHC>=7.10.
2018-06-27undo the partial fix for word completion since it breaks normal parsingKrasimir Angelov
2018-06-20a simple fix for the linearizerKrasimir Angelov
2018-06-20Revert "when linearizing missing functions with brackets, the name of the ↵Krasimir Angelov
function should still be reported" This reverts commit 18204bdd25bd460904ac475f3ea340daa96589df.
2018-06-20Revert "forgot to switch off the debugger"Krasimir Angelov
This reverts commit 5919dfa3366dfd2f2af8c3ce7749d066a2033f0d.
2018-06-20forgot to switch off the debuggerKrasimir Angelov
2018-06-20when linearizing missing functions with brackets, the name of the function ↵Krasimir Angelov
should still be reported
2018-06-20added bracketedLinearizeAllKrasimir Angelov
2018-06-20bracketedLinearize in Haskell now emits the BIND constructor like in JavaKrasimir Angelov
2018-06-15Split gftest to a new repoInari Listenmaa
2018-06-13Add TypeScript type definitions for gflib.jsJohn J. Camilleri
2018-06-12added transliteration arabic_unvocalized, which omits the vowelsAarne Ranta
2018-06-12(gftest) Compare also functions of arity 0 + custom startcat for comparisonInari Listenmaa
2018-06-04* update GF modeodanoburu
- moved to new repo at https://github.com/GrammaticalFramework/gf-emacs-mode - main changes: - use utf-8 encoding for inferior gf process - add display of operation types - update links
2018-05-28Merge branch 'master' of https://github.com/GrammaticalFramework/GFKrasimir Angelov
2018-05-28added comment for WindowsKrasimir Angelov
2018-05-28some tweaks for WindowsKrasimir Angelov
2018-05-24(gftest) Add --show-context + combine -o with -f,-c,-bInari Listenmaa
2018-05-24spell error in py.egs.READMEPrasanth Kolachina
2018-05-24add bracketLinearizeAll for variantsPrasanth Kolachina
2018-05-22(gftest) Multiple concrete categories for context generationInari Listenmaa
2018-05-21(gftest) Better pruning + add new command line optionInari Listenmaa
2018-05-21fixed typo which broke the compilation on WindowsKrasimir Angelov
2018-05-21Merge branch 'master' of https://github.com/GrammaticalFramework/GFKrasimir Angelov
2018-05-21fix the compilation when the byte order cannot be detected staticallyKrasimir Angelov
2018-05-21Update info about path to jni.h in Java binding install notesJohn J. Camilleri
2018-05-21Missing -I in Java bindings MakefileJohn J. Camilleri
2018-04-18Fixes for GHC 8.4.1 compatibilityThomas Hallgren
* In GHC 8.4.1, the operator <> has become a method of the Semigroup class and is exported from the Prelude. This is unfortunate, since <> is also exported from the standard library module Text.PrettyPrint, so in any module that defines a pretty printer, there is likely to be an ambiguity. This affects ~18 modules in GF. Solution: import Prelude hiding (<>) This works also in older versions of GHC, since GHC does't complain if you hide something that doesn't exists. * In GHC 8.4.1, Semigroup has become a superclass of Monoid. This means that anywhere you define an instance of the Monoid class you also have to define an instance in the Semigroup class. This affects Data.Binary.Builder in GF. Solution: conditionally define a Semigroup instance if compiling with base>=4.11 (ghc>=8.4.1)
2018-04-12bugfix in the Haskell bindingKrasimir Angelov
2018-04-12Merge branch 'master' of https://github.com/GrammaticalFramework/GFKrasimir Angelov
2018-04-12bugfix in the C parserKrasimir Angelov
2018-04-09- rm duplicate linesodanoburu
2018-04-09- rm trailing spacesodanoburu
2018-04-06Add more helpful printouts if no grammar providedInari Listenmaa
2018-04-06Add a tool to generate test cases for GF grammarsInari Listenmaa
2018-03-29gfse: show grammar comments in the list of public grammarsThomas Hallgren
gf -server now includes the comment field from the grammar in the response to /cloud requests with command=ls-t and ext=.json
2018-03-29gfse: allow public grammars to be deleted in more casesThomas Hallgren
The editor doesn't show delete buttons on grammars published by other users, but it was too picky when deciding which grammars you own. Now it should be possible to delete grammars from the device/browser you published it from, even if you don't have a private copy of it any more. On a related note, there seems to be problem with the way unique grammars names are created and maintained, causing published grammars to be duplicated in some cases. This needs to be overhauled.
2018-03-29gfse: fix for some browser: hovering over an empty grammar comment to edit itThomas Hallgren
This was a problem in Safari (an other similar browsers I presume), but not in Firefox: hovering over the grammar comment (shown below the grammar name when you edit a grammar) didn't reveal the button to edit it, thus preventing you from adding a comment. It was till possible by selecting the "Enable editing on touch devices." at the bottom of the screen, but most people probably didn't notice that it is possible to add a comment.