Krasimir Angelov
b7672b67a3
adjust the -view command depending on the OS
2022-05-31 10:15:50 +02:00
Inari Listenmaa
d2fb755fab
Merge branch 'master' into concrete-new
2021-07-06 09:37:22 +02:00
Meowyam
1e3de38ac4
remove redundant options
2021-07-06 15:22:59 +08:00
Meowyam
dff215504a
resolves GrammaticalFramework/gf-core/#97, without l
2021-07-06 15:00:17 +08:00
Meowyam
d53e1713c7
resolves GrammaticalFramework/gf-core/#97
2021-07-02 16:08:34 +08:00
John J. Camilleri
376b1234a2
Rename GF.Compile.TypeCheck.RConcrete to GF.Compile.TypeCheck.Concrete
2021-07-01 14:27:11 +02:00
John J. Camilleri
71d99b9ecb
Rename GF.Compile.Compute.ConcreteNew to GF.Compile.Compute.Concrete
2021-07-01 14:21:29 +02:00
Andreas Källberg
2c37e7dfad
Fix build for ghc-7.10.3
2021-06-16 14:54:36 +08:00
Andreas Källberg
b1ed63b089
Don't print stack traces in Command.hs
...
They don't provide useful info anyways and they are needlessly verbose.
2021-06-16 14:26:22 +08:00
Andreas Källberg
2fd1040724
Fix incorrect type and update dependencies
2020-09-12 11:04:32 +02:00
Andreas Källberg
9d8cd55cd5
Import orphan instances of MonadFail for ghc<8
...
Also upgrade alex/happy so automatic install works
2020-09-09 11:05:41 +02:00
Andreas Källberg
57ce76dbc1
Add two more missing MonadFail imports
2020-09-05 20:57:30 +02:00
Andreas Källberg
7268253f5a
MonadFail: Make backwards-compatible
2020-09-05 20:23:07 +02:00
Andreas Källberg
1234c715fc
Fix MonadFail for c-runtime as well
2020-09-05 18:57:40 +02:00
Andreas Källberg
0581d6827e
Fix most build errors
2020-08-05 18:48:24 +02:00
krangelov
0a915199e8
allow literals in the C shell
2020-05-20 20:18:47 +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
Aarne Ranta
8787b56def
option rf -paragraphs
2018-09-21 10:40:39 +02:00
Thomas Hallgren
820d2d503f
Fixes for GHC 8.4.1 compatibility
...
* 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-18 19:18:10 +02:00
Aarne Ranta
79feeaf5b8
new option linerize -tabtreebank for tab-separated treebank generation
2017-12-06 17:37:12 +01:00
Krasimir Angelov
0bb6b5968e
temporaryly fix GF.Command.Commands2
2017-10-05 21:09:38 +02:00
Krasimir Angelov
15d014abb8
the parser in the C runtime can now detect incomplete sentences just like the parser in the Haskell runtime. This is also reflected in all bindings.
2017-09-06 12:38:42 +02:00
Krasimir Angelov
c3297dd2e9
update documentation for command pt
2017-09-05 10:33:53 +02:00
Krasimir Angelov
01a8e1b88f
GF.Command.TreeOperations is now independent from the runtime's internals
2017-09-05 10:29:02 +02:00
Krasimir Angelov
13d8045814
added exprSize and exprFunctions in the Haskell runtime too and use them in TreeOperations
2017-09-05 10:16:48 +02:00
Krasimir Angelov
da091824a3
pt -paraphrase was never properly implemented and is now removed
2017-09-04 13:11:17 +02:00
Krasimir Angelov
1f908fa7bf
eliminate modules PGF.Lexing, PGF.LexingAGreek. Make PGF.Utilities an internal module in the runtime. These are not really part of the core runtime.
2017-09-04 11:43:37 +02:00
Krasimir Angelov
e214a00ed3
added command "rt" in the C shell
2017-09-01 10:40:12 +02:00
Krasimir Angelov
5c38482e56
the C shell now type checks expressions before they are used
2017-09-01 10:19:36 +02:00
Krasimir Angelov
d5a7945ba0
complete details for the "ai" command in the C shell
2017-09-01 09:57:00 +02:00
Krasimir Angelov
5a37660811
added function treeProbability in the Haskell binding
2017-09-01 08:46:52 +02:00
Krasimir Angelov
1182a9b63d
giza alignment in the C shell
2017-09-01 08:23:12 +02:00
Krasimir Angelov
b9c04fd612
graphvizWordAlignment in the C runtime
2017-08-31 13:03:11 +02:00
Krasimir Angelov
eaf9f0c3ac
the C runtime now supports the same customizations for GraphViz as the Haskell runtime
2017-08-31 10:58:49 +02:00
Krasimir Angelov
675ef4573c
remove move dead code in the C shell
2017-08-31 08:12:18 +02:00
Krasimir Angelov
16828fb91e
some dead code elimination
2017-08-30 20:42:04 +02:00
Krasimir Angelov
070d00a20c
an almost complete ai command in the C shell
2017-08-30 19:44:10 +02:00
Krasimir Angelov
13a854d349
implement rf in the C shell
2017-08-30 19:19:10 +02:00
Krasimir Angelov
34294bf36e
pg in the C shell now supports most output formats
2017-08-30 19:04:29 +02:00
Krasimir Angelov
fd56b4b5f3
remove some dead code in the C shell
2017-08-30 16:56:00 +02:00
Krasimir Angelov
ccf9227c05
in the C shell rename the ga command to gt to be consistent with the standard shell
2017-08-30 16:40:25 +02:00
Krasimir Angelov
137a06586a
"lc" was a temporary hack and is now removed from the C shell
2017-08-30 16:36:57 +02:00
Krasimir Angelov
7db9f51d78
"ma" command in the C shell
2017-08-30 16:35:57 +02:00
Krasimir Angelov
4a24bc98f2
the l command in the C shell now supports the same options as in the normal shell
2017-08-30 16:18:26 +02:00
aarne
ee2f3d085e
vd command now reads local concrete configurations to deal with syncat words; TODO: dissolve clustered multiwords bound with +
2017-04-06 11:55:21 +00:00
hallgren
ae512e09e0
Fix compilation errors caused by changes in PGF2
...
These prevented GF from being built with C run-time support (-fc-runtime).
2017-02-21 13:21:59 +00:00
krasimir
db0f8b0dce
improve the documentation for PGF2
2017-01-25 20:30:54 +00:00
hallgren
096b4cfcee
PGF service & minibar: only show dependency diagrams if the labels are known
...
+ The PGF service now reads and caches dependency label configuration files.
+ The grammar info returned by command=grammar has a new boolean field
'hasDependencyLabels' to indicate if dependency labels were found for
the grammar. Also, command=deptree will now fail if no labels are present.
+ The minibar only shows word dependency trees if labels are present.
+ Also changed the type of getDepLabels from [String] -> Labels to
String -> Labels, since all uses were in the form "getDepLabels . lines".
2016-06-09 13:12:14 +00:00
hallgren
649ab21cec
Changes for compatibility with GHC 8.0.1
2016-05-22 20:15:31 +00:00
hallgren
31df4a6c46
GF.Command.Commands2: adapt gf -cshell to the changes in the previous patch
2016-04-07 14:55:13 +00:00