krangelov
|
bbff79aaa3
|
added API for print names
|
2021-12-03 16:49:36 +01:00 |
|
krangelov
|
baf78528d3
|
implement bracketedLinearize
|
2021-12-03 09:44:03 +01:00 |
|
krangelov
|
15c03816ea
|
implemented nonExist
|
2021-12-01 14:10:34 +01:00 |
|
krangelov
|
ae08d42d6e
|
started the linearizer
|
2021-11-26 18:44:17 +01:00 |
|
krangelov
|
4a68ea93b3
|
generate and store the ranges for all linearization rules
|
2021-11-26 14:05:03 +01:00 |
|
krangelov
|
857e85c8a1
|
implement pre {..}
|
2021-11-25 19:04:35 +01:00 |
|
krangelov
|
fa1d7cf859
|
started on the typechecker
|
2021-11-19 10:39:06 +01:00 |
|
krangelov
|
f8fb64a53e
|
added test case for showPGF
|
2021-11-18 13:55:57 +01:00 |
|
krangelov
|
06980404a9
|
correctly distinguish between fun and data judgements
|
2021-11-18 13:50:09 +01:00 |
|
krangelov
|
7ff38bfcbe
|
show field names in double quotes
|
2021-11-18 11:43:44 +01:00 |
|
krangelov
|
09731b985c
|
fix showPGF for the case where a category has no fields
|
2021-11-18 11:41:24 +01:00 |
|
krangelov
|
aae6123e9e
|
fix: call symks instead of symvar
|
2021-11-18 11:17:20 +01:00 |
|
krangelov
|
dc609d2fff
|
change from curly braces to square brackets
|
2021-11-18 10:57:12 +01:00 |
|
krangelov
|
71020baa5e
|
added sanity checking in the linearization builder
|
2021-11-18 10:33:20 +01:00 |
|
krangelov
|
070f63a049
|
complete showPGF
|
2021-11-17 14:03:04 +01:00 |
|
krangelov
|
1e3efd9fa4
|
progress on showPGF
|
2021-11-16 16:15:22 +01:00 |
|
krangelov
|
10e26575de
|
started on showPGF
|
2021-11-16 12:07:38 +01:00 |
|
krangelov
|
5649bc1ef0
|
started piping PMCFG rules to the runtime
|
2021-11-16 11:49:02 +01:00 |
|
krangelov
|
81eb2217ac
|
more instructions for Windows
|
2021-11-10 15:22:47 +01:00 |
|
krangelov
|
064136cafd
|
another fix for Windows
|
2021-11-10 14:40:45 +01:00 |
|
krangelov
|
9eb88f9281
|
a number of new API functions for the concrete syntax.
|
2021-11-09 09:16:20 +01:00 |
|
krangelov
|
a4ad17a478
|
pgf_create_lin now has access to the abstract function
|
2021-11-09 08:50:54 +01:00 |
|
krangelov
|
02a84b12da
|
simplify types
|
2021-11-09 08:08:14 +01:00 |
|
krangelov
|
1aacc34deb
|
fix reference counting for concrete revisions
|
2021-11-09 08:02:20 +01:00 |
|
krangelov
|
6552bcf909
|
Unify the data model between the C runtime and the Haskell binding
|
2021-11-09 02:04:36 +01:00 |
|
krangelov
|
43f40e701a
|
test cases for the concrete syntax
|
2021-11-03 11:40:34 +01:00 |
|
krangelov
|
2320c6b3b0
|
export alterConcrete too
|
2021-10-28 19:32:37 +02:00 |
|
krangelov
|
7e0fc159ce
|
use newForeignPtrEnv instead of Foreign.Concurrent.newForeignPtr
|
2021-10-26 20:24:35 +02:00 |
|
krangelov
|
1413c273cc
|
API for adding concrete syntaxes. Garbage collection to be fixed!
|
2021-10-21 19:18:14 +02:00 |
|
krangelov
|
a909a85537
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-10-13 19:15:32 +02:00 |
|
krangelov
|
c3eb6973f4
|
working PMCFG generation
|
2021-10-13 19:14:56 +02:00 |
|
John J. Camilleri
|
6497a3dd95
|
runTestTTAndExit requires HUnit >= 1.6.1.0
|
2021-10-12 23:47:49 +02:00 |
|
krangelov
|
8c721e063c
|
partial support for runtime parameters
|
2021-10-12 12:06:59 +02:00 |
|
krangelov
|
98f42051b1
|
first steps towards PMCFG generation
|
2021-10-08 11:53:07 +02:00 |
|
John J. Camilleri
|
2deae9d402
|
Add PGF.writeToFile. Add categoryProbability, but it seems pgf_category_prob always returns 0.
|
2021-09-27 11:37:52 +02:00 |
|
krangelov
|
e11e775a96
|
merge pgf_free and pgf_free_revision since otherwise we cannot control the finalizers in Haskell
|
2021-09-22 13:21:07 +02:00 |
|
krangelov
|
ddb01b41be
|
In case of exception, report the offending function
|
2021-09-17 11:22:18 +02:00 |
|
krangelov
|
56d47ad561
|
forgot to update the testsuite
|
2021-09-16 11:31:09 +02:00 |
|
krangelov
|
b408650125
|
createFunction now takes arity as argument
|
2021-09-16 11:04:45 +02:00 |
|
krangelov
|
a79fff548d
|
readNGF now fails if the file doesn't exist. Instead there is newNGF
|
2021-09-16 10:34:51 +02:00 |
|
krangelov
|
e00be98ac6
|
added writePGF
|
2021-09-15 19:58:42 +02:00 |
|
krangelov
|
9fe6ee3cce
|
bugfixes for showContext & showType
|
2021-09-14 19:54:38 +02:00 |
|
krangelov
|
a7bf47cb87
|
added showContext
|
2021-09-14 19:10:01 +02:00 |
|
krangelov
|
e82fb7f32f
|
added exprProbability
|
2021-09-14 17:33:22 +02:00 |
|
krangelov
|
05813384e0
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-09-14 09:34:22 +02:00 |
|
krangelov
|
22f62be511
|
added PGF(pIdent,pExpr)
|
2021-09-14 09:34:00 +02:00 |
|
John J. Camilleri
|
a715d029f7
|
Fix Haskell tests after changes to categoryContext and functionProb
|
2021-09-13 22:35:23 +02:00 |
|
krangelov
|
cf7673525f
|
the compiler now compiles with the new runtime
|
2021-09-13 18:32:57 +02:00 |
|
krangelov
|
6cb4bef521
|
added API for accessing flags
|
2021-09-12 12:57:45 +02:00 |
|
krangelov
|
a7f00a4e84
|
detect and report an attempt to load non .ngf file in readNGF
|
2021-09-12 08:11:10 +02:00 |
|