Commit Graph

7809 Commits

Author SHA1 Message Date
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
72993a178a Merge branch 'majestic' of https://github.com/GrammaticalFramework/gf-core into majestic 2021-08-12 10:42:24 +02:00
krangelov
f2da618e5d implemented categoryContext 2021-08-12 10:42:02 +02:00
krangelov
c97b736a5b fix the reading of expressions 2021-08-12 10:41:23 +02:00
krangelov
82ce76a2ce fix allocation to ensure that top is properly aligned from the beginning 2021-08-12 10:40:33 +02:00
krangelov
d2aec60612 fix typos 2021-08-12 10:38:55 +02:00
John J. Camilleri
ddfc599db3 Add sudo to apt commands 2021-08-12 10:34:38 +02:00
John J. Camilleri
cb30e176bd Add CI workflow for building runtime 2021-08-12 10:33:45 +02:00
krangelov
c482d3466c added != operator removed function null() 2021-08-12 08:49:20 +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
7b5669a333 Merge branch 'majestic' of https://github.com/GrammaticalFramework/gf-core into majestic 2021-08-08 18:30:07 +02:00
krangelov
91f183ca6a move the C sources to the subfolder pgf again for backwards compatibility 2021-08-08 18:29:16 +02:00
Krasimir Angelov
0187be04ff Update memory_model.md 2021-08-08 16:50:16 +02:00
krangelov
f70e1b8772 fix the DB_scope in pgf_read_ngf 2021-08-08 16:29:51 +02:00
krangelov
8d1cc22622 fix typo 2021-08-08 16:24:29 +02:00
krangelov
e7bd7d00b3 remove the newly created .ngf on error. 2021-08-08 16:20:41 +02:00
krangelov
f3e579bbb1 implement DB_scopes 2021-08-08 16:17:24 +02:00
krangelov
11b630adc1 Merge branch 'majestic' of https://github.com/GrammaticalFramework/gf-core into majestic 2021-08-08 16:12:00 +02:00
krangelov
1088b4ef38 implement grammar loading from Python 2021-08-08 16:11:23 +02:00
Krasimir Angelov
db8843c8bf Update memory_model.md 2021-08-07 20:39:09 +02:00
Krasimir Angelov
bfd839b7b0 Update README.md 2021-08-07 18:29:59 +02:00
Krasimir Angelov
78d6282da2 Create README.md 2021-08-07 18:29:31 +02:00
Krasimir Angelov
cc8db24a46 Update memory_model.md 2021-08-07 10:36:34 +02:00
Krasimir Angelov
72c51f4bf9 Create memory_model.md 2021-08-07 09:44:50 +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
36e87668e0 make sure that changes in the database are always flushed 2021-08-05 20:05:29 +02:00
krangelov
2d3aac5aa1 fixed white space 2021-08-05 19:30:50 +02:00
krangelov
217e0d8cc6 added function abstractName from the API 2021-08-05 19:30:05 +02:00
krangelov
75e19bbffa document the exception handling 2021-08-05 18:05:42 +02:00
krangelov
cc4a215f83 fix the memory leak in case of exceptions 2021-08-05 17:58:04 +02:00
krangelov
7d85d3ca9a fix: when PGF loading forgot reading "functions per cat" 2021-08-05 17:13:11 +02:00
krangelov
e298410e57 read_name -> read_text in literals 2021-08-05 17:06:05 +02:00
krangelov
5e320943c9 started on the Haskell binding 2021-08-05 17:01:49 +02:00
krangelov
54421492b2 fix the balancing to avoid segmentation faults 2021-08-05 16:28:50 +02:00
krangelov
84789c9fbf finished reading the abstract syntax 2021-08-05 12:37:12 +02:00
krangelov
17629e4821 strings are stored as length+text and NULL byte is not a terminator 2021-07-30 13:45:22 +02:00
Krasimir Angelov
a8b3537184 Create DESIDERATA.md 2021-07-30 12:55:33 +02:00
krangelov
db1871cf55 Merge branch 'c-runtime' into majestic 2021-07-30 12:11:19 +02:00
krangelov
4c6872615c remove RConcrete 2021-07-30 12:10:40 +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