Thomas Hallgren
e6c2c844e9
GF.Main: leave the code page unchanged on Windows
...
This should make it easier to use GF with UTF-8 in the Windows Console
See https://groups.google.com/forum/#!topic/gf-dev/DCou6FDhCnU
2018-12-01 15:53:58 +01:00
Aarne Ranta
831252eb81
dealing with ',' as syncategorematic token
2018-12-01 09:32:22 +01:00
Peter Ljunglöf
4d34c7f66b
Fix deprecations from containers >= 0.4.0.0
...
E.g. `foldWithKey` has been deprecated since 0.4.0.0 (November 2010)[1] and has been removed in 0.6.0.1 (2018)[2]
[1]: https://github.com/haskell/containers/blob/master/changelog.md#0400--nov-2010
[2]: https://github.com/haskell/containers/blob/master/changelog.md#death-of-deprecated-functions
(commit originally by @fredefox)
2018-11-30 11:52:56 +01:00
Aarne Ranta
c6ec8cf302
fixed a bug in the cnclabel format
2018-11-28 19:56:47 +01:00
John J. Camilleri
07768ba4c4
Revert "Completely remove uses of example-based"
...
This reverts commit 69cea20dac .
2018-11-28 19:23:05 +01:00
John J. Camilleri
e2401f32ca
Revert "remove the example-based folder. The code is still in the archive"
...
This reverts commit 05c2cfb628 .
2018-11-28 19:22:19 +01:00
John J. Camilleri
69cea20dac
Completely remove uses of example-based
2018-11-28 18:09:56 +01:00
Krasimir Angelov
05c2cfb628
remove the example-based folder. The code is still in the archive
2018-11-28 14:34:15 +01:00
Krasimir Angelov
69ad1e617e
Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core
2018-11-28 14:25:53 +01:00
Krasimir Angelov
eb2774af2b
remove two obsolete options
2018-11-28 14:25:29 +01:00
John J. Camilleri
9b28d21b0a
Remove Htmls.hs
2018-11-28 13:48:40 +01:00
John J. Camilleri
507236fdcd
remove gf-server.cabal
2018-11-28 13:40:16 +01:00
John J. Camilleri
397f18a298
remove custom-binary flag; update Cabal version restriction; bump version to 3.10
2018-11-28 13:36:11 +01:00
Krasimir Angelov
abf3911b70
expose PGF and Concr for FFI
2018-11-27 21:09:35 +01:00
John J. Camilleri
735f5ff76f
Remove src/ui folder, moved to:
...
https://github.com/GrammaticalFramework/gf-offline-translator
2018-11-15 10:33:31 +01:00
John J. Camilleri
422248f11f
Move unused pgf-binary into its own repository, at:
...
https://github.com/GrammaticalFramework/pgf-binary
2018-11-07 10:07:20 +01:00
Inari Listenmaa
8c382b3cb1
Add {-# LANGUAGE GADTs -#} to the generated Haskell file
2018-10-19 15:20:05 +02:00
Thomas Hallgren
effa818408
gf -cshell bug fix
...
The functions cExpr and hsExpr in GF.Command.Commands2 need to
handle string literals.
2018-10-16 16:23:54 +02:00
Krasimir Angelov
a0afbfbad3
Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core
2018-10-15 12:04:36 +02:00
Krasimir Angelov
8a9430f63a
hide the compatibility API
2018-10-15 12:04:03 +02:00
Thomas Hallgren
6b1e21508e
Comment out links to some old demos that no longer work
2018-10-10 14:22:24 +02:00
Aarne Ranta
8787b56def
option rf -paragraphs
2018-09-21 10:40:39 +02:00
Frederik Hanghøj Iversen
6b2c2256d1
A version of readPGF where the user handles the IO.
2018-08-06 16:05:12 +02:00
Thomas Hallgren
4fd1ec71c9
gf-server.cabal: relax network version bounds and make building the library and pgf-service executable optional
...
This allows you to build the content-service without installing the problematic fastcgi library.
2018-07-31 14:29:18 +02:00
John J. Camilleri
636a8142b4
Minimal update with new repo URLs & build instructions
2018-07-26 01:37:03 +02:00
meng wong
8a14912ee3
GF_LIB_PATH can now be path1:path2:path3, not just path1
...
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-22 00:04:07 -07:00
John J. Camilleri
b9b0217160
Remove code which tries to get version information from darcs folder
2018-07-04 13:40:46 +02:00
Thomas Hallgren
23961ef0b3
GF.Server: add 'import Control.Applicative' for compatibilit with GHC<7.10
...
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-27 17:40:35 +02:00
Krasimir Angelov
6c4c22ff7a
undo the partial fix for word completion since it breaks normal parsing
2018-06-27 11:53:40 +02:00
Krasimir Angelov
68db7695f5
a simple fix for the linearizer
2018-06-20 22:21:10 +02:00
Krasimir Angelov
b86373438b
Revert "when linearizing missing functions with brackets, the name of the function should still be reported"
...
This reverts commit 18204bdd25bd460904ac475f3ea340daa96589df.
2018-06-20 21:16:19 +02:00
Krasimir Angelov
4cdd4dd8a7
Revert "forgot to switch off the debugger"
...
This reverts commit 5919dfa3366dfd2f2af8c3ce7749d066a2033f0d.
2018-06-20 21:13:58 +02:00
Krasimir Angelov
427f8d8478
forgot to switch off the debugger
2018-06-20 16:36:45 +02:00
Krasimir Angelov
aaefe4310d
when linearizing missing functions with brackets, the name of the function should still be reported
2018-06-20 16:35:28 +02:00
Krasimir Angelov
65cfdf1775
added bracketedLinearizeAll
2018-06-20 13:51:41 +02:00
Krasimir Angelov
09d576f5b4
bracketedLinearize in Haskell now emits the BIND constructor like in Java
2018-06-20 13:05:15 +02:00
Inari Listenmaa
9d2b92dbc1
Split gftest to a new repo
2018-06-15 14:31:21 +02:00
John J. Camilleri
4ca52bf763
Add TypeScript type definitions for gflib.js
2018-06-13 09:52:20 +02:00
Aarne Ranta
013f3573e6
added transliteration arabic_unvocalized, which omits the vowels
2018-06-12 20:39:39 +02:00
Inari Listenmaa
df6c9e047e
(gftest) Compare also functions of arity 0 + custom startcat for comparison
2018-06-12 14:35:03 +02:00
odanoburu
9a17ca21b5
* update GF mode
...
- 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-06-04 09:16:02 -03:00
Krasimir Angelov
44e387ec16
Merge branch 'master' of https://github.com/GrammaticalFramework/GF
2018-05-28 10:14:27 +02:00
Krasimir Angelov
e862968305
added comment for Windows
2018-05-28 10:14:03 +02:00
Krasimir Angelov
4c5fc9f3a8
some tweaks for Windows
2018-05-28 10:12:27 +02:00
Inari Listenmaa
a0849d8a5a
(gftest) Add --show-context + combine -o with -f,-c,-b
2018-05-24 22:36:23 +02:00
Prasanth Kolachina
ef4731e8ba
spell error in py.egs.README
2018-05-24 09:47:55 +02:00
Prasanth Kolachina
6faad1b3cf
add bracketLinearizeAll for variants
2018-05-24 09:47:27 +02:00
Inari Listenmaa
10df5a7269
(gftest) Multiple concrete categories for context generation
2018-05-22 11:49:42 +01:00
Inari Listenmaa
b635cb3d52
(gftest) Better pruning + add new command line option
2018-05-21 18:41:16 +01:00
Krasimir Angelov
9d39648dfb
fixed typo which broke the compilation on Windows
2018-05-21 16:03:30 +02:00