krangelov
|
b1dd94e4b0
|
fix the testsuite failure after the second run
|
2021-08-31 10:20:51 +02:00 |
|
krangelov
|
5f5b0caba5
|
more the exception handling in a single place
|
2021-08-31 10:04: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 |
|
John J. Camilleri
|
239fd02249
|
Add more test cases for read/boot failures, those which incorrectly fail are commented out
|
2021-08-30 13:22:49 +02:00 |
|
John J. Camilleri
|
5c5e26cc8d
|
Test bootNGF and readNGF too, run tests on all three PGFs
|
2021-08-30 09:45:02 +02:00 |
|
krangelov
|
e9ec4cef67
|
fill in more gaps in the API
|
2021-08-27 15:05:42 +02:00 |
|
krangelov
|
3e7d80bf30
|
reading & showing unicode identifiers
|
2021-08-27 14:44:42 +02:00 |
|
krangelov
|
8195f8b0cb
|
support for unbounded integers
|
2021-08-27 11:31:10 +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
|
07bda06fb2
|
missed a line
|
2021-08-14 21:16:20 +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
|
9db352b2bb
|
bugfix
|
2021-08-14 18:51:16 +02:00 |
|
krangelov
|
0296f07651
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-08-13 19:29:39 +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 |
|
John J. Camilleri
|
9e5823c350
|
Tweak base upper bound in pgf2.cabal
|
2021-08-13 10:28:44 +02:00 |
|
John J. Camilleri
|
2346abeedb
|
Tweaks to pgf2.cabal
|
2021-08-13 10:25:16 +02:00 |
|
John J. Camilleri
|
3e7926f22d
|
Update pgf2.cabal, including bumping version to 2.0.0
|
2021-08-13 10:20:49 +02:00 |
|
krangelov
|
08bcd2f0b5
|
silence warnings
|
2021-08-13 08:28:30 +02:00 |
|
krangelov
|
2a8d4232ce
|
Fun -> Cat
|
2021-08-12 14:45:49 +02:00 |
|
krangelov
|
352dedc26f
|
forgot releasing a stable pointer
|
2021-08-12 14:45:05 +02:00 |
|
krangelov
|
7e35db47a6
|
export PGFError
|
2021-08-12 14:41:50 +02:00 |
|
krangelov
|
edba4fda32
|
test that we can handle loading failures
|
2021-08-12 14:23:20 +02:00 |
|
krangelov
|
a8403d48fa
|
the unmarshaller should not be disposed twice in case of error
|
2021-08-12 14:16:19 +02:00 |
|
krangelov
|
39f38ed0e2
|
added startCat
|
2021-08-12 12:39:05 +02:00 |
|
krangelov
|
01db0224be
|
API for constructing types
|
2021-08-12 12:16:11 +02:00 |
|
krangelov
|
16dfcb938c
|
more of the abstract API copied from the old runtimes
|
2021-08-12 12:06:50 +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
|
d2aec60612
|
fix typos
|
2021-08-12 10:38:55 +02:00 |
|
krangelov
|
4abe7836e0
|
test case for functionType
|
2021-08-12 07:53:55 +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
|
3a7743afad
|
added the expression type
|
2021-08-06 20:03:22 +02:00 |
|
krangelov
|
825e8447db
|
make it possible to load several grammars in the same process and ensure reader-writer exclusion
|
2021-08-06 19:34:02 +02:00 |
|
krangelov
|
2d6bcd1953
|
a better API for loading PGF & NGF files
|
2021-08-06 16:50:21 +02:00 |
|
krangelov
|
dc1644563f
|
extend the abstract syntax API
|
2021-08-06 12:43:30 +02:00 |
|
krangelov
|
87f1e24384
|
started a testsuite
|
2021-08-05 20:45:08 +02:00 |
|
krangelov
|
217e0d8cc6
|
added function abstractName from the API
|
2021-08-05 19:30:05 +02:00 |
|
krangelov
|
cc4a215f83
|
fix the memory leak in case of exceptions
|
2021-08-05 17:58:04 +02:00 |
|
krangelov
|
5e320943c9
|
started on the Haskell binding
|
2021-08-05 17:01:49 +02:00 |
|
krangelov
|
155657709a
|
Merge branch 'master' into c-runtime
|
2021-07-30 11:20:04 +02:00 |
|
John J. Camilleri
|
cdbe73eb47
|
Remove two missing-methods warnings
|
2021-07-08 12:10:41 +02:00 |
|
John J. Camilleri
|
0954b4cbab
|
More cabal file cleanup. Remove some more tabs from Haskell source.
|
2021-07-07 13:04:09 +02:00 |
|
John J. Camilleri
|
f2e52d6f2c
|
Replace tabs for whitespace in source code
|
2021-07-07 09:40:41 +02:00 |
|
John J. Camilleri
|
84b4b6fab9
|
Some more cabal file cleanup. Add stack files for pgf, pgf2.
|
2021-07-06 14:11:30 +02:00 |
|
2jacobtan
|
e1a40640cd
|
specify version bounds in pgf.cabal and pgf2.cabal
|
2021-07-06 05:42:34 +08:00 |
|