1
0
forked from GitHub/gf-core

Commit Graph

  • a607799bb3 always unlock the mutex in case of failure krangelov 2021-10-26 10:22:29 +02:00
  • fd40c204e2 more aggressive cleanup for dead processes krangelov 2021-10-26 10:14:16 +02:00
  • 00ba552026 ipc_release_file_rwlock should not assume that the file exists krangelov 2021-10-26 09:35:56 +02:00
  • 157574763f now we use inter-process locking krangelov 2021-10-25 19:14:25 +02:00
  • d061403ba2 fix typo in the comment krangelov 2021-10-25 18:21:20 +02:00
  • 204e645616 update ipc.h krangelov 2021-10-25 15:52:32 +02:00
  • 186b151a90 rewrite ipc.cxx to support dynamic allocation of rwlocks krangelov 2021-10-25 15:51:06 +02:00
  • 2acc4be306 better error control krangelov 2021-10-25 09:30:22 +02:00
  • d1c25ce1c1 add INCREF in embed() krangelov 2021-10-22 09:52:36 +02:00
  • bfc2ab27e6 fix reference counting krangelov 2021-10-22 09:42:01 +02:00
  • 3f742497e4 restore the embed function krangelov 2021-10-22 09:34:19 +02:00
  • 19338a8de1 fix typo krangelov 2021-10-22 09:20:38 +02:00
  • 2889581a45 writeToFile -> writePGF for consistancy with Haskell & C krangelov 2021-10-22 09:07:26 +02:00
  • 777adaedfc fix the compilation krangelov 2021-10-22 09:04:28 +02:00
  • 1413c273cc API for adding concrete syntaxes. Garbage collection to be fixed! krangelov 2021-10-21 19:18:14 +02:00
  • 259ed52a77 fix the compilation of pre krangelov 2021-10-21 10:10:04 +02:00
  • 38d189f8ef bugfix for predefined operations krangelov 2021-10-21 08:55:22 +02:00
  • 64ccd82958 make record extension more compact after typechecking krangelov 2021-10-20 19:57:42 +02:00
  • b6047463a9 we can finally compile the English RGL krangelov 2021-10-20 19:39:02 +02:00
  • ad3489f0f9 Use actions/setup-node instead of nvm John J. Camilleri 2021-10-18 14:47:37 +02:00
  • 0b13d04ac4 Use Node.js 12 in CI John J. Camilleri 2021-10-18 14:42:37 +02:00
  • 42c1ec4448 Merge branch 'majestic' into majestic-macos John J. Camilleri 2021-10-18 14:27:30 +02:00
  • ac93f2dd10 Don't call msync in PgfDB::sync on macOS majestic-macos John J. Camilleri 2021-10-18 13:54:13 +02:00
  • a2d843f8ed Skip JavaScript in CI John J. Camilleri 2021-10-18 08:48:50 +02:00
  • 61e95bcfeb Fix compilation errors of Python bindings on macOS John J. Camilleri 2021-10-18 08:27:19 +02:00
  • 0e98c30973 fix space leak in PySequence_AsHypos. PyList_FromHypos->PyTuple_FromHypos krangelov 2021-10-16 21:12:16 +02:00
  • 0eb6e9f724 fix reference counting krangelov 2021-10-16 20:12:53 +02:00
  • 5e335a7df2 add unpack & __reduce_ex__ for backward compatibility krangelov 2021-10-16 19:57:47 +02:00
  • 768cd6ae71 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic krangelov 2021-10-16 19:50:52 +02:00
  • 382456415e overload pgf.Type for backward compatibility and support for dependent and simple types krangelov 2021-10-16 19:50:01 +02:00
  • c9b668a583 Fix compilation with macOS mmap/malloc workaround. Add Python (macOS) to CI. John J. Camilleri 2021-10-15 17:34:19 +02:00
  • 8cd0bb5ec1 Use malloc/realloc on macOS when fd < 0... but doesn't compile John J. Camilleri 2021-10-15 15:24:15 +02:00
  • a5fb51ff3d Add some notes about uninstalling runtime John J. Camilleri 2021-10-14 22:23:39 +02:00
  • 26069e7ffe Set LD_LIBRARY_PATH globally in all workflow jobs/steps majestic-ci John J. Camilleri 2021-10-14 22:09:55 +02:00
  • d218c286eb Re-enable macOS build in CI. Minor cleanup. John J. Camilleri 2021-10-14 21:52:41 +02:00
  • 900a0985a8 Put back bindings in all languages as separate jobs John J. Camilleri 2021-10-14 15:31:05 +02:00
  • 6b93c6fde4 Be more conservative when displaying /usr/local John J. Camilleri 2021-10-14 15:25:04 +02:00
  • 60a578bd6f add pipe ro run command John J. Camilleri 2021-10-14 15:21:11 +02:00
  • 04dd99c56c sudo mv John J. Camilleri 2021-10-14 15:19:25 +02:00
  • d304e57b6e Move after download John J. Camilleri 2021-10-14 15:17:55 +02:00
  • 5bf0c9b7ad mkdir /usr/local/lib and /usr/local/include John J. Camilleri 2021-10-14 15:13:20 +02:00
  • a044adfc8b Download artifacts to /usr/local John J. Camilleri 2021-10-14 15:08:18 +02:00
  • 695025d1a2 Display structure of downloaded files John J. Camilleri 2021-10-14 15:05:03 +02:00
  • 57b9080234 First attempt at separating the different language bindings in CI workflow John J. Camilleri 2021-10-14 15:01:37 +02:00
  • 30e3e6ba52 Cleanup, update README John J. Camilleri 2021-10-14 11:26:30 +02:00
  • 2d3c390e7d missing \ John J. Camilleri 2021-10-14 11:14:38 +02:00
  • 9b591129ed Install build tools with brew John J. Camilleri 2021-10-14 11:13:31 +02:00
  • 8e03b63237 Add glibtoolize to macOS CI John J. Camilleri 2021-10-14 11:07:38 +02:00
  • 86246c6fb8 Add macOS to CI John J. Camilleri 2021-10-14 11:05:41 +02:00
  • 5ee960ed7c fix the evaluation for Prod krangelov 2021-10-14 10:24:20 +02:00
  • 45ee985fda safe error reporting in case of mmap failure krangelov 2021-10-13 21:33:55 +02:00
  • 27f0ff14a3 VT should preserve its environment krangelov 2021-10-13 19:43:01 +02:00
  • a909a85537 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic krangelov 2021-10-13 19:15:32 +02:00
  • c3eb6973f4 working PMCFG generation krangelov 2021-10-13 19:14:56 +02:00
  • fc57f94e8a Finish unmarshalling of types. Add mkType et al. Add showType tests, but implementation is just stub. John J. Camilleri 2021-10-13 16:59:11 +02:00
  • 2686e63e58 Use memcpy instead of strcpy John J. Camilleri 2021-10-13 14:56:42 +02:00
  • 6497a3dd95 runTestTTAndExit requires HUnit >= 1.6.1.0 John J. Camilleri 2021-10-12 23:47:49 +02:00
  • 3bdfe1a336 Minor cleanup John J. Camilleri 2021-10-12 23:27:49 +02:00
  • 2a5434df96 avoid using the wildcard constant krangelov 2021-10-12 19:07:21 +02:00
  • a2e7d20b7a avoid using EOF in the expression parser krangelov 2021-10-12 18:47:04 +02:00
  • ead1160a75 More changes to compile on macOS (incomplete) John J. Camilleri 2021-10-12 15:29:29 +02:00
  • f9c6e94672 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic krangelov 2021-10-12 12:07:17 +02:00
  • 8c721e063c partial support for runtime parameters krangelov 2021-10-12 12:06:59 +02:00
  • 1401a6d209 Fix (most) macOS compilation problems John J. Camilleri 2021-10-12 10:46:39 +02:00
  • 5e65db2e17 Update CompilationOverview.md Krasimir Angelov 2021-10-11 09:47:44 +02:00
  • 0977e9073f started the chapters about the compiler krangelov 2021-10-11 09:07:06 +02:00
  • 8d075b1d57 move the runtime documentation to the main doc folder krangelov 2021-10-11 08:59:28 +02:00
  • 95c81ec2b7 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic krangelov 2021-10-08 19:25:39 +02:00
  • 62d5ed5b42 small progress on PMCFG krangelov 2021-10-08 19:25:21 +02:00
  • 0e011955be Add tests for reading & equality of various expressions John J. Camilleri 2021-10-08 15:06:34 +02:00
  • 71536e8e37 Handle errors in readExpr John J. Camilleri 2021-10-08 12:54:36 +02:00
  • a27cf6a17b Implement all Expr unmarshalling (untested). Put wordsize logic in constants.ts. Some README additions. John J. Camilleri 2021-10-08 12:39:42 +02:00
  • 15e3ca9acd use prependModule to make the current module available krangelov 2021-10-08 11:56:28 +02:00
  • 6a9254816d Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic krangelov 2021-10-08 11:53:42 +02:00
  • 98f42051b1 first steps towards PMCFG generation krangelov 2021-10-08 11:53:07 +02:00
  • dae39d8b10 Remove 'only' from test suite John J. Camilleri 2021-10-08 08:54:28 +02:00
  • 0d43ec8971 Unmarshalling for floats and strings, but strings crashes after multiple invocations John J. Camilleri 2021-10-07 23:25:25 +02:00
  • 16ee006735 Add stubs for all un/marshalling functions. Refactoring. John J. Camilleri 2021-10-07 15:58:59 +02:00
  • db0cbf60cb Support big and negative integers John J. Camilleri 2021-10-07 15:07:14 +02:00
  • db66144c25 Get marshalling of integers working John J. Camilleri 2021-10-07 12:54:02 +02:00
  • e33d881ce8 finished the partial evaluator krangelov 2021-10-07 11:47:51 +02:00
  • fd6cd382c5 added VGlue to cover the case where we can't precompute the glue krangelov 2021-10-05 19:39:24 +02:00
  • d9db0ef4a7 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic krangelov 2021-10-05 19:32:16 +02:00
  • 2a2d7269cf remove the Term(Error) constructor. Better propagation of errors. krangelov 2021-10-05 19:31:12 +02:00
  • dc59d9f3f9 trivial implementation for EPatt & EPattType krangelov 2021-10-05 15:45:16 +02:00
  • 3c4e7dd20c partial evaluation for (+) krangelov 2021-10-05 15:37:42 +02:00
  • 1b3a197aac JavaScript unmarshalling WIP John J. Camilleri 2021-10-05 15:33:19 +02:00
  • b7e7319542 Switch to 'standard' linting John J. Camilleri 2021-10-05 13:56:41 +02:00
  • 869c5d094b Implement categoryProbability, functionProbability, functionIsConstructor, functionsByCategory John J. Camilleri 2021-10-05 13:39:51 +02:00
  • 93c2f47752 missed VStr -> string2value krangelov 2021-10-05 13:38:00 +02:00
  • 51954c60ea fix the printer for strings with escape characters krangelov 2021-10-05 13:36:54 +02:00
  • 3c5741c846 fix in str_char krangelov 2021-10-05 13:36:21 +02:00
  • 94884ed59e Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic krangelov 2021-10-05 13:25:01 +02:00
  • 6d898fc325 fix the gold standard krangelov 2021-10-05 13:24:44 +02:00
  • c1adbedc25 Implement bootNGF, readNGF, PgfText_FromString John J. Camilleri 2021-10-05 11:57:24 +02:00
  • 557cdb82a7 strings computed from a predefined operation should be tokenized krangelov 2021-10-05 11:50:59 +02:00
  • 26be741dea most primitives in Predef.gf are now implemented krangelov 2021-10-05 11:31:39 +02:00
  • ca2f2bfd89 Change from ffi to ffi-napi since the former seems unsupported John J. Camilleri 2021-10-05 01:02:02 +02:00
  • 634508eaa8 Add linting John J. Camilleri 2021-10-04 15:26:50 +02:00
  • 1f72ef77c4 Add bootNGF. Organise tests better. John J. Camilleri 2021-10-04 15:07:23 +02:00