1
0
forked from GitHub/gf-core

Commit Graph

  • fef03e755b Update some old unused code to support newer ghc Andreas Källberg 2022-10-04 13:06:43 +02:00
  • b39f481316 check for zero epsilon or backref pointers Krasimir Angelov 2022-10-04 12:04:18 +02:00
  • e2a7974853 partial support for epsilon rules Krasimir Angelov 2022-10-04 11:44:22 +02:00
  • 223f92d4f6 using an unparsable variable name in the internal desugaring of table extension to avoid captures; captures with iterated table extensions might still be possible, which needs further analysis Aarne Ranta 2022-10-04 11:06:56 +02:00
  • 83483b93ba New construct: table update. Syntax t ** { cases }. Syntactic sugar for table {cases ; vvv => t \! vvv}.t aarneranta 2022-10-03 17:04:29 +02:00
  • 693ca7ffa5 Merge branch 'majestic' of github.com:GrammaticalFramework/gf-core into majestic Krasimir Angelov 2022-10-03 11:55:37 +02:00
  • 2accfa57f1 bugfix: the viterbi prob. of a state is computable only after we know the chunks Krasimir Angelov 2022-10-03 11:54:17 +02:00
  • 0bc7e8ea2e reuse PgfParser::before instead of the new PgfParser::fetch_state Krasimir Angelov 2022-10-03 11:51:34 +02:00
  • c15b5271a9 fix the printing of meta items Krasimir Angelov 2022-10-03 11:48:40 +02:00
  • 9f2cbe70fe fix the printer for the debug output after the last change Krasimir Angelov 2022-10-03 11:47:36 +02:00
  • f05b0ff82a pgf_expr_prob is now compatible with the parse model Krasimir Angelov 2022-09-30 15:56:07 +02:00
  • 855fa7ebf3 use TextSpots for correct extraction of unknown words Krasimir Angelov 2022-09-30 11:58:09 +02:00
  • 6b63c2f779 faster expression extraction Krasimir Angelov 2022-09-30 11:34:04 +02:00
  • 106d963d39 fix the printing of ExprItem Krasimir Angelov 2022-09-30 10:45:14 +02:00
  • 74f4317b98 detect chunks with more than one words Krasimir Angelov 2022-09-29 18:49:31 +02:00
  • cd280272f3 bottom up prediction and maximal chunks Krasimir Angelov 2022-09-23 11:33:16 +02:00
  • f8cfed15b4 add PGF_INTERNAL_DECL Krasimir Angelov 2022-09-21 11:26:19 +02:00
  • e600d5e623 PGF_INTERNAL_DECL -> PGF_INTERNAL Krasimir Angelov 2022-09-21 11:24:30 +02:00
  • 3e0cc91a02 first rudimentary version of a parser Krasimir Angelov 2022-09-16 12:34:46 +02:00
  • bcb1076dda don't try to translate empty sentences Krasimir Angelov 2022-09-16 12:29:27 +02:00
  • 1957eb1fc5 more comments wasm Krasimir Angelov 2022-09-12 12:20:30 +02:00
  • bd3ccb4a0d now linearization is working Krasimir Angelov 2022-09-12 12:11:56 +02:00
  • c71ed9f513 better error handling and an API for linearizations Krasimir Angelov 2022-09-12 12:06:40 +02:00
  • f9ca462a06 turn abstractName into a property to better follow the Python API Krasimir Angelov 2022-09-12 11:03:15 +02:00
  • 7492cd52d1 extract the list of languages Krasimir Angelov 2022-09-12 10:55:26 +02:00
  • 1219b365a9 sync with the changes in http-slim Krasimir Angelov 2022-09-09 12:33:10 +02:00
  • a5468359ce switch to using http-slim Krasimir Angelov 2022-09-09 09:43:02 +02:00
  • 8c705d54b8 switch to using http-slim Krasimir Angelov 2022-09-09 09:42:19 +02:00
  • 6f6f742d01 Merge branch 'wasm' of github.com:GrammaticalFramework/gf-core into wasm Krasimir Angelov 2022-09-01 13:28:49 +02:00
  • d477250c48 more high-level API & better memory management Krasimir Angelov 2022-09-01 13:26:38 +02:00
  • 3a17a68da6 Update README.md John J. Camilleri 2022-08-31 16:42:41 +02:00
  • 6ea53e44a4 Update README.md John J. Camilleri 2022-08-31 16:41:59 +02:00
  • 4ecd216796 DataView doesn't work use Uint8Array instead Krasimir Angelov 2022-08-31 16:21:08 +02:00
  • 0b01f56fd7 fix pgf_jit_predicate for emscripten Krasimir Angelov 2022-08-31 16:19:48 +02:00
  • 173128bd46 Merge branch 'master' into majestic Krasimir Angelov 2022-08-24 20:31:10 +02:00
  • 8fd5c1e176 Merge branch 'master' into majestic Krasimir Angelov 2022-08-24 20:09:28 +02:00
  • dc8dce90a0 added a Setup script to compile without cabal-install Krasimir Angelov 2022-08-24 14:00:22 +02:00
  • e9bbd38f68 gf --version now prints the shared folder to be used by the RGL Krasimir Angelov 2022-08-24 12:02:10 +02:00
  • 3fac8415ca forgot to mention sudo Krasimir Angelov 2022-08-24 12:00:43 +02:00
  • 1294269cd6 workaround for the Nix madness Krasimir Angelov 2022-08-24 11:57:47 +02:00
  • bcd9184ede initial adaptation to the new runtime Krasimir Angelov 2022-08-19 17:26:59 +02:00
  • 743c473526 linearization for chunks Krasimir Angelov 2022-08-19 16:37:56 +02:00
  • a27e2dbbb4 fix a leak of stable pointers Krasimir Angelov 2022-08-19 11:34:27 +02:00
  • 44c78e8cc7 remove dead code Krasimir Angelov 2022-08-17 10:33:54 +02:00
  • aec123bb7d fix compilation on Mac as well. Krasimir Angelov 2022-08-17 10:30:37 +02:00
  • 01c46479c6 another attempt to fix compilation Krasimir Angelov 2022-08-17 10:22:12 +02:00
  • b378834756 try to restrict the GHC version for now Krasimir Angelov 2022-08-17 10:14:25 +02:00
  • 464c0001c4 remove the version limit for base Krasimir Angelov 2022-08-17 09:56:32 +02:00
  • 24cac8e41a update the Makefile to use the new style cabal Krasimir Angelov 2022-08-17 09:54:32 +02:00
  • 6d81306320 Try to remove the upper version for base Krasimir Angelov 2022-08-17 09:49:37 +02:00
  • c8f37680f5 trying to fix the compilation on github Krasimir Angelov 2022-08-17 09:44:04 +02:00
  • 62344d1325 manually copy the logo to the www directory. Copying in Setup.hs doesn't work with the new Cabal Krasimir Angelov 2022-08-16 21:03:44 +02:00
  • 3bdd9dc022 add missing MonadFail constraint for newer GHC Krasimir Angelov 2022-08-16 20:06:51 +02:00
  • 6c0e4bc08e switch to the new style cabal Krasimir Angelov 2022-08-16 20:05:55 +02:00
  • 3acb7d2da4 silence harmless warnings krangelov 2022-08-12 10:54:43 +02:00
  • 08fb29e6b8 fix the reference counting for pgf.BIND krangelov 2022-08-12 10:51:56 +02:00
  • 0bac8f0dae Load and read PGF in test-web: doesn't fail but abstract name is empty John J. Camilleri 2022-08-01 14:47:28 +02:00
  • 8df9767493 Revert changes to top-level .gitignore John J. Camilleri 2022-08-01 14:16:30 +02:00
  • 3d272ac053 Move everything to javascript dir. Add jspgf API, test files for both Node and web. John J. Camilleri 2022-08-01 14:11:45 +02:00
  • 63828de0c2 Git-ignore WASM files John J. Camilleri 2022-08-01 11:56:39 +02:00
  • 72bec84f58 Add Dockerfile and script for building WASM files John J. Camilleri 2022-08-01 11:56:11 +02:00
  • 539b946c96 Clear out javascript and typescript folders John J. Camilleri 2022-08-01 09:59:44 +02:00
  • ada8ff8faa bugfix which makes lookupCohorts fast again Krasimir Angelov 2022-07-30 18:22:58 +02:00
  • f69babef6d add link to Inari's blog Inari Listenmaa 2022-07-27 14:53:58 +02:00
  • a42cec2107 support for BIND tokens in the Python bindings Krasimir Angelov 2022-07-16 20:29:36 +02:00
  • eb41d2661f bugfix in readContext Krasimir Angelov 2022-07-14 15:56:11 +02:00
  • 9ded2096fd readExpr/readType/readContext can now identify local variables Krasimir Angelov 2022-07-14 15:10:28 +02:00
  • 3ba3f24e3a disable macos-javascript as well Krasimir Angelov 2022-07-14 11:52:59 +02:00
  • 826a346e19 building the JavaScript binding is disabled until someone takes care of it Krasimir Angelov 2022-07-14 11:50:35 +02:00
  • bc47a01223 another try Krasimir Angelov 2022-07-14 11:46:19 +02:00
  • 4d3e414776 another try Krasimir Angelov 2022-07-14 11:37:36 +02:00
  • 833a86960b fix the binding after the API change Krasimir Angelov 2022-07-14 11:25:00 +02:00
  • 4d0f33e3c3 make it possible to replace the probabilities while reading a new .pgf Krasimir Angelov 2022-07-14 11:04:45 +02:00
  • f1cad40394 lookupMorpho/lookupCohorts now report only lexical items Krasimir Angelov 2022-07-12 14:02:08 +02:00
  • 5b8212020f finished the implementation of lookupCohorts Krasimir Angelov 2022-07-12 12:46:50 +02:00
  • e546c2a0ce added a simple implementation for priority queues. Krasimir Angelov 2022-07-08 16:19:11 +02:00
  • b509d22482 show match positions for ma -all|-longest|-best Krasimir Angelov 2022-07-07 19:37:06 +02:00
  • acc6f85041 fix to show all prefixes in lookupCohorts Krasimir Angelov 2022-07-07 19:29:26 +02:00
  • cfd9fbc5ed better documentation for "ma" Krasimir Angelov 2022-07-07 14:18:29 +02:00
  • 6c9f0cfe9c make also filterLongest and filterBest available from the shell Krasimir Angelov 2022-07-07 14:11:31 +02:00
  • a66693770c started with lookupCohorts Krasimir Angelov 2022-07-07 14:03:07 +02:00
  • c783da51a4 bugfix in lookupMorpho Krasimir Angelov 2022-07-06 19:25:37 +02:00
  • c3c1cf2a64 on POSIX systems use mprotect to protect the data from accidental changes Krasimir Angelov 2022-07-05 15:59:06 +02:00
  • 73d4e326f7 consolidation of free blocks Krasimir Angelov 2022-07-05 13:21:53 +02:00
  • 96304a52d1 added checks to control compilation with emscripten Krasimir Angelov 2022-07-04 14:26:04 +02:00
  • feb9b3373f fix the type cast, to avoid warnings on some platforms Krasimir Angelov 2022-07-04 14:25:17 +02:00
  • 1862ba5cec Define custom isdigit version. The expression parser now uses the custom isspace and isdigit Krasimir Angelov 2022-07-04 14:24:06 +02:00
  • 4d446fcd3f Merge branch 'master' of github.com:GrammaticalFramework/gf-core Krasimir Angelov 2022-07-04 10:42:59 +02:00
  • ae460e76b6 allow compilation with emscripten Krasimir Angelov 2022-07-04 10:42:34 +02:00
  • 69a2b8a448 second attempt to fix the compilation Krasimir Angelov 2022-06-29 21:48:48 +02:00
  • 46a9a8f07d fix the compilation on Windows and macOS Krasimir Angelov 2022-06-29 21:40:51 +02:00
  • 88477a8834 added mutex for single writer exclusion Krasimir Angelov 2022-06-29 16:28:01 +02:00
  • edb9ff33c5 another fix for linearizeAll and undefined lins Krasimir Angelov 2022-06-28 18:21:58 +02:00
  • 5b645ab42f normalForm should also sort the fields in a record type Krasimir Angelov 2022-06-28 14:34:56 +02:00
  • 42d01578ec added test for an unknown function at the top of an expression Krasimir Angelov 2022-06-24 22:27:39 +02:00
  • 635dc380a3 handle linref when the argument is an unknown function Krasimir Angelov 2022-06-24 06:31:28 +02:00
  • f51f6240b6 remove redundant pattern Krasimir Angelov 2022-06-23 14:53:58 +02:00
  • 663cca2d06 fix the resolution of linrefs Krasimir Angelov 2022-06-23 14:52:47 +02:00
  • 44431d6a69 when in server mode reuse the NGF cache in the shell as well Krasimir Angelov 2022-06-23 10:25:16 +02:00
  • 7544e8dfbc remove duplicated export Krasimir Angelov 2022-06-22 11:29:09 +02:00