Krasimir Angelov
18f70b786f
first draft for lookupMorpho
2022-05-30 21:16:34 +02:00
Krasimir Angelov
f0045e910e
better output for 'pg -fullform'
2022-01-28 17:32:40 +01:00
Krasimir Angelov
16b0eea568
code cleanup
2021-12-28 13:38:19 +01:00
krangelov
8b602d6c9f
mergePGF now detects when grammars have different abstract syntaxes
2021-12-24 16:19:14 +01:00
krangelov
39853b3c04
add command "import -resource"
2021-12-24 14:46:07 +01:00
krangelov
cb10e2fe32
add commands to add/remove concrete syntaxes
2021-12-24 13:56:27 +01:00
krangelov
67a7e928f6
the import command can also boot images from .pgf files now
2021-12-24 12:52:29 +01:00
krangelov
cf87f55fa0
remove the trace message
2021-12-24 12:41:02 +01:00
krangelov
f606547209
the import command can now create blank grammars
2021-12-24 12:35:12 +01:00
krangelov
5c16693da3
started create/drop with lin & lincat
2021-12-23 23:04:31 +01:00
krangelov
b000b80159
added commands create cat & drop cat
2021-12-23 19:21:55 +01:00
krangelov
f5798350fd
commands "create fun" & "drop fun" in the shell
2021-12-23 14:55:26 +01:00
krangelov
12b4958b99
make it possible to merge PGF files in the compiler
2021-12-22 10:47:22 +01:00
krangelov
8e841d8c9b
remove some dead code
2021-12-16 19:04:53 +01:00
krangelov
937a78c628
drop the -trace option
2021-12-15 13:08:10 +01:00
krangelov
b0672afc67
fully implement the linearize command
2021-12-10 10:34:57 +01:00
krangelov
a3d680f317
restored graphvizAbstractTree
2021-12-04 16:05:24 +01:00
krangelov
3d1123eed4
restore graphvizParseTree
2021-12-04 14:12:23 +01:00
krangelov
06980404a9
correctly distinguish between fun and data judgements
2021-11-18 13:50:09 +01:00
krangelov
62d5ed5b42
small progress on PMCFG
2021-10-08 19:25:21 +02:00
krangelov
2a2d7269cf
remove the Term(Error) constructor. Better propagation of errors.
2021-10-05 19:31:12 +02:00
krangelov
3dc2af61a6
done with partial evaluation for records and variants
2021-09-24 15:00:34 +02:00
krangelov
348c348e14
the compiler can now boot and load an .ngf file
2021-09-17 13:15:58 +02:00
krangelov
22f62be511
added PGF(pIdent,pExpr)
2021-09-14 09:34:00 +02:00
krangelov
cf7673525f
the compiler now compiles with the new runtime
2021-09-13 18:32:57 +02:00
krangelov
155657709a
Merge branch 'master' into c-runtime
2021-07-30 11:20:04 +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
krangelov
084b345663
added option to show the probabilities of results
2019-09-20 08:09:54 +02:00
krangelov
a0cfe09e09
added option -number to limit the number of parse results
2019-09-20 07:18:58 +02:00
krangelov
acb70ccc1b
cleanup
2019-09-19 22:30:08 +02:00
Krasimir Angelov
5a2b200948
manually copy the "c-runtime" branch from the old repository.
2018-11-02 14:38:44 +01: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