Krasimir Angelov
60bd12a952
the experimental export to Lambda Prolog is now obsolete and is removed
2017-09-07 14:01:46 +02:00
Krasimir Angelov
ef071d9157
Merge branch 'master' of https://github.com/GrammaticalFramework/GF
2017-09-06 12:40:22 +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
Aarne Ranta
8005aee378
in Haskell GADT generation, hide Tree in the import of PGF
2017-09-06 10:51:43 +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
Krasimir Angelov
1e4ab95e41
added option -output-format=java for producing code for embedded grammars in Java
2017-08-29 20:53:47 +02:00
Krasimir Angelov
b7b7a7c91c
the embedded grammars now work with both the pure Haskell and the Haskell binding API
2017-08-29 18:44:50 +02:00
Thomas Hallgren
0a0eaa01bc
Bump version requirements to base>=4.6, Cabal>=1.20
...
Cabal>=1.20 allows control over parallelism when compiling grammars from
Setup.hs and WebSetup.hs.
base>=4.6 allows conditional compilation with CPP to be eliminated from
a few modules.
base-4.6 corresponds to GHC 7.6.3, which is what you get in
Debian 8 (aka jessie, aka oldstable) from 2015.
2017-08-18 11:55:44 +02:00
Thomas Hallgren
8484dabd5b
Disable detailed version info from darcs
...
TODO: get version info from git instead.
2017-08-11 15:33:21 +02:00
aarne
d51cbb0f1a
added Arabic question mark to arabic and persian transliterations, as well as the zero-width non-joiner U+200C to persian"
2017-06-14 12:32:17 +00: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
aarne
1e33235144
fixed a bug in Eq instance generation for GADT and lexical categories
2017-03-22 22:25:21 +00:00
krasimir
f1240ef489
a better error message
2017-03-07 23:17:24 +00:00
krasimir
7361d22059
GF.Compile.Compute.ConcreteNew now handles Predef.Float
2017-03-07 19:50:43 +00:00
krasimir
2e5499ba97
bugfix in record subtyping checking
2017-03-07 17:53:56 +00:00
krasimir
5ec43f2f75
GF.Grammar.Printer now has a Terse mode which prints record types with lock fields with their corresponding abstract categories
2017-03-07 08:24:00 +00:00
krasimir
5a61ab5fcc
fix for EPatt
2017-03-06 17:15:46 +00:00
krasimir
6c5cfa7750
type checking EPatt
2017-03-06 16:24:58 +00:00
krasimir
a0d6a4f9a4
GF.Compile.Compute.ConcreteNew now can handle EPattType
2017-03-06 15:44:25 +00:00
krasimir
fe4f38f6ee
some missing patterns
2017-03-06 14:44:03 +00:00
krasimir
ad2a18592b
added overload resolution in the experimental type checker
2017-03-06 14:09:16 +00:00
krasimir
2c1c2da89f
some progress on the experimental type checker for the concrete syntax
2017-03-03 16:37:22 +00:00
aarne
34627e7427
corrected fg generation for lexical categories, to avoid a type error in generated code
2017-02-24 20:50:36 +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
aarne
8729339d26
BNF grammars (.bnf or .cf) can have rules without semicolons, as in the GF book examples. However, if the grammar has any multiline rules, all of them must have semicolons.
2016-09-05 21:15:44 +00:00
hallgren
12d2296991
GF cloud: more readable formatting of the GF version page
...
Factor out common CSS from gfse/editor.css into clouds.css.
2016-06-15 10:20:30 +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