krangelov
|
1107b245da
|
remove obsolete code
|
2021-11-19 09:38:04 +01:00 |
|
krangelov
|
a5cbf3e894
|
fix other potential allocation failures
|
2021-11-18 18:16:41 +01:00 |
|
krangelov
|
9dc80f7706
|
fix the crash in the python testsuite
|
2021-11-18 14:11:35 +01:00 |
|
krangelov
|
06980404a9
|
correctly distinguish between fun and data judgements
|
2021-11-18 13:50:09 +01:00 |
|
krangelov
|
ad068151f8
|
simple fix for showPGF
|
2021-11-18 11:19:35 +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
|
2cbf59d75b
|
fix the include for WINDOWS
|
2021-11-16 17:23:03 +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
|
58b805606b
|
correct mode for pgf_boot_ngf on WIN32
|
2021-11-16 08:33:50 +01:00 |
|
krangelov
|
68fd5460f4
|
fix cleanup after exceptions in PgfDB::PgfDB
|
2021-11-10 17:10:31 +01:00 |
|
krangelov
|
c806ce2d26
|
minimal changes to make the runtime compilable on Windows
|
2021-11-10 15:52:02 +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
|
1aacc34deb
|
fix reference counting for concrete revisions
|
2021-11-09 08:02:20 +01:00 |
|
krangelov
|
73b52bf4b5
|
started on pgf_create_lin
|
2021-11-09 02:20:42 +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
|
d6cf023258
|
reading & writing grammars in the new format
|
2021-11-08 10:39:05 +01:00 |
|
krangelov
|
e806e94be9
|
fix typo
|
2021-11-04 08:31:31 +01:00 |
|
krangelov
|
309a16d471
|
reference counting for concrete syntaxes
|
2021-11-03 10:48:20 +01:00 |
|
krangelov
|
d061403ba2
|
fix typo in the comment
|
2021-10-25 18:21:20 +02:00 |
|
krangelov
|
1413c273cc
|
API for adding concrete syntaxes. Garbage collection to be fixed!
|
2021-10-21 19:18:14 +02:00 |
|
John J. Camilleri
|
2686e63e58
|
Use memcpy instead of strcpy
|
2021-10-13 14:56:42 +02:00 |
|
John J. Camilleri
|
3bdfe1a336
|
Minor cleanup
|
2021-10-12 23:27:49 +02:00 |
|
John J. Camilleri
|
ead1160a75
|
More changes to compile on macOS (incomplete)
|
2021-10-12 15:29:29 +02:00 |
|
krangelov
|
67f83ebf8a
|
don't add_ref if the revision doesn't exist
|
2021-09-28 11:12:12 +02:00 |
|
krangelov
|
38de1bf924
|
pgf_category_prob should return INFINITY for non-existant categories
|
2021-09-27 14:11: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
|
e41feae82a
|
database synchronization only on commit
|
2021-09-17 16:43:54 +02:00 |
|
krangelov
|
3f31d86d0d
|
errno is not set for FILE I/O so we do our best
|
2021-09-17 10:06:11 +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
|
c6d6914688
|
switch to using FILE * in the reader
|
2021-09-15 08:06:18 +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
|
22f62be511
|
added PGF(pIdent,pExpr)
|
2021-09-14 09:34:00 +02:00 |
|
krangelov
|
6cb4bef521
|
added API for accessing flags
|
2021-09-12 12:57:45 +02:00 |
|
krangelov
|
f1e1564228
|
the reader now controls the PGF version
|
2021-09-12 08:26:05 +02:00 |
|
krangelov
|
6cfa250b28
|
PgfDB::sync is now moved to the desctructor for DB_scope
|
2021-09-11 18:20:28 +02:00 |
|
krangelov
|
ae0a6aa6b6
|
clean up everything after revision is not needed anymore.
|
2021-09-11 16:33:22 +02:00 |
|
krangelov
|
7f0eb34864
|
fix typo
|
2021-09-10 22:31:51 +02:00 |
|
krangelov
|
1b09e7293f
|
implemented pgf_free_revision
|
2021-09-10 11:39:54 +02:00 |
|
krangelov
|
f7aad0c0e0
|
added createCategory, dropCategory
|
2021-09-09 17:33:25 +02:00 |
|
krangelov
|
28321cc023
|
added dropFunction
|
2021-09-09 09:47:26 +02:00 |
|
krangelov
|
44ee5718e9
|
more friendly PgfDB::malloc
|
2021-09-08 14:27:52 +02:00 |
|
krangelov
|
bcc33af36b
|
added support for branches and explicit transaction commit
|
2021-09-08 14:09:23 +02:00 |
|