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
|
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
|
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
|
7c622d2621
|
fix the definition of PgfMarshallerVtbl for C
|
2021-09-09 17:58:18 +02:00 |
|
krangelov
|
f7aad0c0e0
|
added createCategory, dropCategory
|
2021-09-09 17:33:25 +02:00 |
|
krangelov
|
a44787fc4e
|
forgot to add the type signature for pgf_drop_function in the header
|
2021-09-09 09:52:43 +02:00 |
|
krangelov
|
0dae265b05
|
expand the comment about PgfExn
|
2021-09-09 07:25:57 +02:00 |
|
krangelov
|
36ccb7ac8f
|
PGF_API -> PGF_API_DECL
|
2021-09-09 07:22:25 +02:00 |
|
krangelov
|
3d4c6031d8
|
missing call to free after the call to pgf_abstract_name
|
2021-09-09 07:20:15 +02:00 |
|
krangelov
|
bcc33af36b
|
added support for branches and explicit transaction commit
|
2021-09-08 14:09:23 +02:00 |
|
krangelov
|
f741bd9332
|
more functions could now fail with an exception
|
2021-09-07 17:18:03 +02:00 |
|
krangelov
|
a843ddba55
|
better error handling which always reports the right file name
|
2021-09-07 15:54:27 +02:00 |
|
krangelov
|
1ec4949d90
|
added working transactions. still not atomic
|
2021-09-06 19:40:24 +02:00 |
|
krangelov
|
9cea2cc70e
|
change the API to allow different grammar revisions
|
2021-09-06 15:49:39 +02:00 |
|
krangelov
|
9a2d2b345d
|
an unsafe API for adding functions to the grammar. breaks referential transparency
|
2021-09-04 07:10:04 +02:00 |
|
krangelov
|
3c8e96c3cd
|
fix lint in the C version of PgfUnmarshaller
|
2021-08-31 19:39:06 +02:00 |
|
krangelov
|
0bf7522291
|
expand the comment for PGF_EXN_OTHER_ERROR
|
2021-08-31 09:49:33 +02:00 |
|
krangelov
|
e0288f46dc
|
the namespace iterator now takes a PgfExn parameter like in the old runtime
|
2021-08-31 09:31:06 +02:00 |
|
krangelov
|
8195f8b0cb
|
support for unbounded integers
|
2021-08-27 11:31:10 +02:00 |
|
krangelov
|
a00a7f4ba5
|
elaborate the comment about marshallers and unmarshallers
|
2021-08-26 18:01:25 +02:00 |
|
krangelov
|
b28e891a6b
|
a type annotated version of marshaller/unmarshaller
|
2021-08-26 17:27:34 +02:00 |
|
krangelov
|
69f74944e2
|
The unmarshaller is no longer stored in the PGF object but is passed explicitly to each function that needs it.
|
2021-08-26 16:14:56 +02:00 |
|
krangelov
|
275addfcbe
|
pretty printing for expressions and types
|
2021-08-26 15:46:16 +02:00 |
|
krangelov
|
d28c5a0377
|
a hopefully better error management in the marshaller
|
2021-08-14 21:13:31 +02:00 |
|
krangelov
|
8b8028bdfe
|
free_ref & free_me in PgfMarshaller too
|
2021-08-14 20:08:04 +02:00 |
|
krangelov
|
b627d4ceb0
|
fix typo
|
2021-08-13 20:33:00 +02:00 |
|
krangelov
|
6beac74265
|
a draft for the marshaller. still not in use
|
2021-08-13 19:25:12 +02:00 |
|
krangelov
|
221f0b7853
|
PgfUnmarshaller now mimics a C++ class. Allows for keeping state
|
2021-08-13 18:14:56 +02:00 |
|
krangelov
|
39f38ed0e2
|
added startCat
|
2021-08-12 12:39:05 +02:00 |
|
krangelov
|
0ece508716
|
added categoryProb, functionProb, functionIsConstructor
|
2021-08-12 11:10:27 +02:00 |
|
krangelov
|
f2da618e5d
|
implemented categoryContext
|
2021-08-12 10:42:02 +02:00 |
|
krangelov
|
2c1700776e
|
implemented readExpr & readType
|
2021-08-11 22:07:01 +02:00 |
|
krangelov
|
a5008c2fe1
|
implemented functionType and marshalling for types and expressions
|
2021-08-10 15:07:41 +02:00 |
|
krangelov
|
91f183ca6a
|
move the C sources to the subfolder pgf again for backwards compatibility
|
2021-08-08 18:29:16 +02:00 |
|
krangelov
|
8f0a1b8fee
|
started a new database-backed runtime from scratch
|
2021-07-30 12:08:28 +02:00 |
|
krangelov
|
155657709a
|
Merge branch 'master' into c-runtime
|
2021-07-30 11:20:04 +02:00 |
|
krangelov
|
62bc78380e
|
lookupCohorts now detects and reports unknown words. Also:
- added added two filtering functions: filterLongest and filterBest
- updated the PGF service to work with the new API
|
2020-05-14 15:03:30 +02:00 |
|
krangelov
|
00e25d0ccb
|
an API to access the names of all fields withing a category
|
2020-03-06 12:29:08 +01:00 |
|
krangelov
|
f22bd70585
|
The APIs for callbacks and the bracketed strings now use a string for the analysis intead of an integer. This is now consistent with lookupMorpho and friends
|
2020-03-05 11:58:21 +01:00 |
|
krangelov
|
14f394c9e9
|
a version of the parser which returns a chart rather than a list of expressions
|
2019-12-07 22:00:39 +01:00 |
|
krangelov
|
4a71464ca7
|
Merge with master and drop the Haskell runtime completely
|
2019-09-19 22:01:57 +02:00 |
|
krangelov
|
9f0ea19a1c
|
API for scanning for cohorts in an arbitrary text
|
2019-05-28 12:26:00 +02:00 |
|
Krasimir Angelov
|
5a2b200948
|
manually copy the "c-runtime" branch from the old repository.
|
2018-11-02 14:38:44 +01:00 |
|
Krasimir Angelov
|
fa8530add1
|
silence some warnings on MINGW32
|
2017-12-09 23:11:04 +01:00 |
|