John J. Camilleri
|
fc57f94e8a
|
Finish unmarshalling of types. Add mkType et al. Add showType tests, but implementation is just stub.
|
2021-10-13 16:59:11 +02:00 |
|
John J. Camilleri
|
2686e63e58
|
Use memcpy instead of strcpy
|
2021-10-13 14:56:42 +02:00 |
|
John J. Camilleri
|
6497a3dd95
|
runTestTTAndExit requires HUnit >= 1.6.1.0
|
2021-10-12 23:47:49 +02:00 |
|
John J. Camilleri
|
3bdfe1a336
|
Minor cleanup
|
2021-10-12 23:27:49 +02:00 |
|
krangelov
|
2a5434df96
|
avoid using the wildcard constant
|
2021-10-12 19:07:21 +02:00 |
|
krangelov
|
a2e7d20b7a
|
avoid using EOF in the expression parser
|
2021-10-12 18:47:04 +02:00 |
|
John J. Camilleri
|
ead1160a75
|
More changes to compile on macOS (incomplete)
|
2021-10-12 15:29:29 +02:00 |
|
krangelov
|
f9c6e94672
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-10-12 12:07:17 +02:00 |
|
krangelov
|
8c721e063c
|
partial support for runtime parameters
|
2021-10-12 12:06:59 +02:00 |
|
John J. Camilleri
|
1401a6d209
|
Fix (most) macOS compilation problems
|
2021-10-12 10:46:39 +02:00 |
|
Krasimir Angelov
|
5e65db2e17
|
Update CompilationOverview.md
|
2021-10-11 09:47:44 +02:00 |
|
krangelov
|
0977e9073f
|
started the chapters about the compiler
|
2021-10-11 09:07:06 +02:00 |
|
krangelov
|
8d075b1d57
|
move the runtime documentation to the main doc folder
|
2021-10-11 08:59:28 +02:00 |
|
krangelov
|
95c81ec2b7
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-10-08 19:25:39 +02:00 |
|
krangelov
|
62d5ed5b42
|
small progress on PMCFG
|
2021-10-08 19:25:21 +02:00 |
|
John J. Camilleri
|
0e011955be
|
Add tests for reading & equality of various expressions
|
2021-10-08 15:06:34 +02:00 |
|
John J. Camilleri
|
71536e8e37
|
Handle errors in readExpr
|
2021-10-08 12:54:36 +02:00 |
|
John J. Camilleri
|
a27cf6a17b
|
Implement all Expr unmarshalling (untested). Put wordsize logic in constants.ts. Some README additions.
|
2021-10-08 12:39:42 +02:00 |
|
krangelov
|
15e3ca9acd
|
use prependModule to make the current module available
|
2021-10-08 11:56:28 +02:00 |
|
krangelov
|
6a9254816d
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-10-08 11:53:42 +02:00 |
|
krangelov
|
98f42051b1
|
first steps towards PMCFG generation
|
2021-10-08 11:53:07 +02:00 |
|
John J. Camilleri
|
dae39d8b10
|
Remove 'only' from test suite
|
2021-10-08 08:54:28 +02:00 |
|
John J. Camilleri
|
0d43ec8971
|
Unmarshalling for floats and strings, but strings crashes after multiple invocations
|
2021-10-07 23:25:25 +02:00 |
|
John J. Camilleri
|
16ee006735
|
Add stubs for all un/marshalling functions. Refactoring.
|
2021-10-07 15:58:59 +02:00 |
|
John J. Camilleri
|
db0cbf60cb
|
Support big and negative integers
|
2021-10-07 15:07:14 +02:00 |
|
John J. Camilleri
|
db66144c25
|
Get marshalling of integers working
|
2021-10-07 12:54:02 +02:00 |
|
krangelov
|
e33d881ce8
|
finished the partial evaluator
|
2021-10-07 11:47:51 +02:00 |
|
krangelov
|
fd6cd382c5
|
added VGlue to cover the case where we can't precompute the glue
|
2021-10-05 19:39:24 +02:00 |
|
krangelov
|
d9db0ef4a7
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-10-05 19:32:16 +02:00 |
|
krangelov
|
2a2d7269cf
|
remove the Term(Error) constructor. Better propagation of errors.
|
2021-10-05 19:31:12 +02:00 |
|
krangelov
|
dc59d9f3f9
|
trivial implementation for EPatt & EPattType
|
2021-10-05 15:45:16 +02:00 |
|
krangelov
|
3c4e7dd20c
|
partial evaluation for (+)
|
2021-10-05 15:37:42 +02:00 |
|
John J. Camilleri
|
1b3a197aac
|
JavaScript unmarshalling WIP
|
2021-10-05 15:33:19 +02:00 |
|
John J. Camilleri
|
b7e7319542
|
Switch to 'standard' linting
|
2021-10-05 13:56:41 +02:00 |
|
John J. Camilleri
|
869c5d094b
|
Implement categoryProbability, functionProbability, functionIsConstructor, functionsByCategory
|
2021-10-05 13:39:51 +02:00 |
|
krangelov
|
93c2f47752
|
missed VStr -> string2value
|
2021-10-05 13:38:00 +02:00 |
|
krangelov
|
51954c60ea
|
fix the printer for strings with escape characters
|
2021-10-05 13:36:54 +02:00 |
|
krangelov
|
3c5741c846
|
fix in str_char
|
2021-10-05 13:36:21 +02:00 |
|
krangelov
|
94884ed59e
|
Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic
|
2021-10-05 13:25:01 +02:00 |
|
krangelov
|
6d898fc325
|
fix the gold standard
|
2021-10-05 13:24:44 +02:00 |
|
John J. Camilleri
|
c1adbedc25
|
Implement bootNGF, readNGF, PgfText_FromString
|
2021-10-05 11:57:24 +02:00 |
|
krangelov
|
557cdb82a7
|
strings computed from a predefined operation should be tokenized
|
2021-10-05 11:50:59 +02:00 |
|
krangelov
|
26be741dea
|
most primitives in Predef.gf are now implemented
|
2021-10-05 11:31:39 +02:00 |
|
John J. Camilleri
|
ca2f2bfd89
|
Change from ffi to ffi-napi since the former seems unsupported
This should also fix installation problem of node-gyp in CI
|
2021-10-05 01:02:02 +02:00 |
|
John J. Camilleri
|
634508eaa8
|
Add linting
|
2021-10-04 15:26:50 +02:00 |
|
John J. Camilleri
|
1f72ef77c4
|
Add bootNGF. Organise tests better.
|
2021-10-04 15:07:23 +02:00 |
|
John J. Camilleri
|
7551926383
|
Add FFI bindings for all API functions. Implement getCategories and getFunctions
|
2021-10-04 14:15:35 +02:00 |
|
John J. Camilleri
|
45db11b669
|
Add proper tests, exception handling, implement getAbstractName
|
2021-10-04 12:10:29 +02:00 |
|
John J. Camilleri
|
314db3ea7f
|
Beginnings of JavaScript bindings
|
2021-10-01 12:47:39 +02:00 |
|
krangelov
|
e6960e30f6
|
fix the estimation of the character size in PgfExprParser::putc
|
2021-10-01 12:22:15 +02:00 |
|