Commit Graph

  • 394d033d19 added gu_map_delete krangelov 2019-08-20 18:55:36 +02:00
  • cb678dfdc8 fix packages krangelov 2019-08-18 09:37:55 +02:00
  • 4161bbf0ec fix reference to FastCGIUtils krangelov 2019-08-18 09:12:30 +02:00
  • 148590927c remove obsolete code krangelov 2019-08-18 09:09:40 +02:00
  • 85a81ef741 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core krangelov 2019-08-09 15:18:27 +02:00
  • 3e662475ee bugfix in the parser's scanner krangelov 2019-08-09 15:15:30 +02:00
  • b77626b802 debian/rules: fix two build problems Thomas Hallgren 2019-08-07 20:15:28 +02:00
  • 12f2520b3c Download page: add binary package for Raspbian 10 Thomas Hallgren 2019-08-07 19:02:27 +02:00
  • 941b4ddf1f GF home page: fix some links smoother operation over https Thomas Hallgren 2019-08-07 14:07:47 +02:00
  • 85f12a5544 Remove wrong Haddock comment in PGF2 John J. Camilleri 2019-08-07 12:52:17 +02:00
  • 81362ed7b7 Minibar can now display grammar documentation. Thomas Hallgren 2019-08-05 15:25:29 +02:00
  • 0c91c325be Simple hello world working with node-addon-api (C++) 1775930807712613579/tmp_refs/heads/js-bindings 1775930807712613579/js-bindings 1775915372187246101/tmp_refs/heads/js-bindings 1775915372187246101/js-bindings 1775911099780701588/tmp_refs/heads/js-bindings 1775911099780701588/js-bindings js-bindings John J. Camilleri 2019-07-22 11:31:19 +02:00
  • ba93141317 Clear old contents of src/runtime/javascript, add README for upcoming bindings John J. Camilleri 2019-07-15 11:30:21 +02:00
  • 12079550f8 Remove TypeScript runtime and point to new repository John J. Camilleri 2019-07-11 09:29:49 +02:00
  • 1ceb8c0342 Merge pull request #45 from GrammaticalFramework/pgf2json John J. Camilleri 2019-07-10 19:32:49 +02:00
  • eab9fb88aa Minor renamings in JSON format John J. Camilleri 2019-07-10 08:49:00 +02:00
  • acd4a5e8cd Address @heatherleaf's suggestions John J. Camilleri 2019-07-10 08:45:23 +02:00
  • a4b1fb03aa Whitespace fixes John J. Camilleri 2019-07-07 17:38:07 +02:00
  • cb88b56016 Finish compile to PGF JSON, including JSON schema for resulting format. John J. Camilleri 2019-07-07 17:35:31 +02:00
  • ecf9b41db0 Finish JSON conversion for abstract John J. Camilleri 2019-07-03 16:34:07 +02:00
  • c5a75c482c Start work on PGFtoJSON module. Add compiler flag -f json. John J. Camilleri 2019-07-03 15:07:31 +02:00
  • 32379a8d11 fully supported case-insensitive parsing/lookup krangelov 2019-06-30 08:48:23 +02:00
  • b56591c6b6 the parser now ensures that all word senses are in the chart krangelov 2019-06-25 12:58:28 +02:00
  • b94bb50ec9 fix in gu_buf_heap_pop krangelov 2019-06-24 12:27:36 +02:00
  • e2395335cb Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core krangelov 2019-06-24 12:14:15 +02:00
  • 2d9478b973 share some code for printing krangelov 2019-06-24 12:13:14 +02:00
  • 17e3f753fb gflib.ts: put warning on console when function undefined John J. Camilleri 2019-06-13 14:43:21 +02:00
  • 498ad572ac gflib.ts: fix in annotation when type is unknown John J. Camilleri 2019-06-13 14:12:53 +02:00
  • bc61f8c191 gflib.ts: generate source map, which is helpful for debugging John J. Camilleri 2019-06-13 13:53:58 +02:00
  • d252cfd610 gflib.ts: handled unimplemented functions during linearisation John J. Camilleri 2019-06-13 10:31:49 +02:00
  • 46a1bdc7ea gflib.ts: also accept U+00C0-U+00FF (\192-\255) in idents in parseTree John J. Camilleri 2019-06-12 15:28:25 +02:00
  • 18d0e1fad0 gflb.ts: add comments about startsWith polyfill, making into module John J. Camilleri 2019-06-12 09:51:27 +02:00
  • ab94e93b94 Avoid modifying String prototype in TypeScript runtime John J. Camilleri 2019-06-10 11:39:31 +02:00
  • a229507392 Use strict mode in TypeScript, catch some more corner cases John J. Camilleri 2019-06-10 11:14:14 +02:00
  • 6a9c917b29 TypeScript readme John J. Camilleri 2019-06-10 10:19:43 +02:00
  • 9ba4a42426 Add generated gflib.js under typescript/js. Add deprecation notice in javascript. John J. Camilleri 2019-06-10 10:15:03 +02:00
  • bbd1c9147a Catch for when rules are undefined John J. Camilleri 2019-06-10 09:48:44 +02:00
  • 4793d376d9 Create copies when tagging John J. Camilleri 2019-06-10 09:45:04 +02:00
  • 63606fd2d0 Minor indentation fixes in gflib.js John J. Camilleri 2019-06-10 09:29:43 +02:00
  • d6a1e87f4a Support for pre in gflib.ts. Some type annotation fixes. John J. Camilleri 2019-06-07 21:17:41 +02:00
  • ffcdaa921f Porting of JS runtime to TypeScript (gflib.ts) complete John J. Camilleri 2019-06-07 13:58:23 +02:00
  • f2e03bfc51 Remove type definitions gflib.d.ts which contained many errors and now obsolete John J. Camilleri 2019-06-07 10:07:23 +02:00
  • c89656f3ee More type fixes in gflib.ts after setting noImplicitAny John J. Camilleri 2019-06-07 10:06:19 +02:00
  • c9b4318e9e Clean up whitespace in [old] gflib.js John J. Camilleri 2019-06-07 09:34:13 +02:00
  • 1e43e7be4b Fix all type errs in gflib.ts except tagging ones. Add TS/eslint configs. John J. Camilleri 2019-06-07 09:33:24 +02:00
  • 44261b7582 More progress on gflib.ts John J. Camilleri 2019-06-05 10:23:27 +02:00
  • b980bce334 Add gflib.ts, a port of JS runtime gflib.js into TypeScript (WIP) John J. Camilleri 2019-06-04 15:16:17 +02:00
  • bd7753db1a Update TypeScript definitions for gflib.js John J. Camilleri 2019-05-29 14:43:28 +02:00
  • 8c18d7162f bits of documentation krangelov 2019-05-28 12:59:07 +02:00
  • ac039ec74f filter out empty cohorts krangelov 2019-05-28 12:42:59 +02:00
  • 9f0ea19a1c API for scanning for cohorts in an arbitrary text krangelov 2019-05-28 12:26:00 +02:00
  • 8df2121650 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core krangelov 2019-05-27 09:06:11 +02:00
  • 8b9719bd2d remove duplicate definition for RecordCompare krangelov 2019-05-27 09:05:41 +02:00
  • b7249adf63 reordered error message for 'no overload'; might be even better to show complete types Aarne Ranta 2019-05-20 15:58:47 +02:00
  • 7a3efdfeb9 Update link to RGL tutorial (now HTML version) John J. Camilleri 2019-05-20 10:36:35 +02:00
  • 86066d4b12 Eliminate the dependency on time-compat Thomas Hallgren 2019-05-15 12:05:38 +02:00
  • af62a99bf5 update_html rewrites anchors which Pandoc 1.16 doesn't process John J. Camilleri 2019-05-06 08:45:07 +02:00
  • ac1f304722 Merge pull request #42 from gear0/master John J. Camilleri 2019-05-06 08:11:02 +02:00
  • 92720b92a4 corrected some minor typos in reference manual gear0 2019-05-05 12:09:31 +02:00
  • 078440ffbf Merge pull request #41 from inariksit/js-doc Inari Listenmaa 2019-05-03 18:54:06 +02:00
  • 68919a5e42 (doc) Update path to gflib.js Inari Listenmaa 2019-05-03 18:53:28 +02:00
  • a5a019a124 runtime/javascript: use a grammar.js with two langauges grammar.js contained only one langauge: FoodsEng. Now it contains FoodsEng and FoodsIta, similar to what's shown in the gf-tutorial. The grammar comes from gf-contrib/tutorial/foods. Thomas Hallgren 2019-05-03 15:19:19 +02:00
  • 61fe167392 gf-tutorial: fix link to JavaScript translator demo After fixing trivial problem in translator.html, the demo works, but the example grammar contains only one langauge, so it is not so interesting. translator.html is located in src/runtime/javascript. The editor.html in the same location also works. Thomas Hallgren 2019-05-03 14:52:28 +02:00
  • fd29925173 started collecting error messages in order to explain them Aarne Ranta 2019-04-29 16:53:43 +02:00
  • bea6aa1d2d GF.Compile.CheckGrammar: discard bad 'lincat C = …' with a warning e.g. if C is a fun and not a cat in the abstract syntax. Discarding bad lincats prevents GF from generating malformed PGFs that are rejected by the C run-time system. I also added code to reject bad lincats with an error, but I left it commented out since it seems a bit pedantic compared to GF's otherwise rather sloppy grammar checking. Thomas Hallgren 2019-04-25 17:02:42 +02:00
  • c628e11c01 respect the probs option also when merging PGFs krangelov 2019-04-12 11:04:40 +02:00
  • 61e7df4d1c Fix outdated comment about which version of the Haskell Platform to use Thomas Hallgren 2019-04-05 16:38:12 +02:00
  • de53a7c4db Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core krangelov 2019-03-26 12:21:52 +01:00
  • 1e9188ea60 bugfix in the pretty printer krangelov 2019-03-26 12:21:35 +01:00
  • a55c7c7889 GF.Compile.GrammarToCanonical: keep unreachable rows in tables Thomas Hallgren 2019-03-22 15:38:02 +01:00
  • b3387e80e4 hiding morphological tags from Latex printing of dependency trees Aarne Ranta 2019-03-20 22:19:32 +01:00
  • de0a997fcd Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core Thomas Hallgren 2019-03-20 14:40:17 +01:00
  • 0f53431221 GF.Grammar.Canonical: pretty printer: omit some redundant brackets Thomas Hallgren 2019-03-20 14:39:42 +01:00
  • 099f2de5b4 support cross-compilation from Linux to Windows krangelov 2019-03-19 12:43:38 +01:00
  • 2f2b39c5d2 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core krangelov 2019-03-19 11:22:09 +01:00
  • f3d7d55752 added one more possible location for Java headers krangelov 2019-03-19 11:21:39 +01:00
  • 2979864752 GF.Compile.GrammarToCanonical: allow + in reg exps in pre { } Thomas Hallgren 2019-03-14 16:52:37 +01:00
  • b11d7d93dc GF.Grammar.Canonical: some Functor/Foldable/Traversable instances Thomas Hallgren 2019-03-13 01:51:26 +01:00
  • ba9aeb3322 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core Thomas Hallgren 2019-03-12 22:34:00 +01:00
  • 8e2424af49 GF.Grammar.Canonical: add TuplePattern and CommentedValue Thomas Hallgren 2019-03-12 22:32:54 +01:00
  • 01b9e8da8d canonical GF: flatten several concatenations into one json array, and parse the array back into concatenations Peter Ljunglöf 2019-03-08 18:33:56 +01:00
  • 926a5cf414 added parsing of json into canonical GF Peter Ljunglöf 2019-03-08 17:58:24 +01:00
  • 21140fc0c0 remove case expressions (no particular reason) Peter Ljunglöf 2019-03-08 17:57:02 +01:00
  • 3328279120 corrected json printing Peter Ljunglöf 2019-03-08 17:35:01 +01:00
  • 8cf4446e8c Remove "canonical_yaml" from the option descriptions Peter Ljunglöf 2019-03-08 17:21:23 +01:00
  • 5b401f3880 Expose GF.Grammar.Canonical + some refactoring Thomas Hallgren 2019-03-07 17:41:16 +01:00
  • b783299b73 Rename module GF.Compile.ConcreteToCanonical to GF.Compile.GrammarToCanonical Thomas Hallgren 2019-03-07 14:47:37 +01:00
  • 0970d678cf haskell-bind/utils.c: add missing return Thomas Hallgren 2019-03-07 14:11:29 +01:00
  • bf17fa0bb2 Bump version number to 3.10.3-git Thomas Hallgren 2019-03-05 20:18:30 +01:00
  • 0b3c278f49 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-core Thomas Hallgren 2019-03-05 19:23:54 +01:00
  • c710bf0e84 Update .deb packages to verion 3.10-2 on the download page Thomas Hallgren 2019-03-05 19:18:45 +01:00
  • eb46577f58 debian/rules bug fix: the RGL was not included in .deb packages Thomas Hallgren 2019-03-05 16:19:46 +01:00
  • 52f2739da1 strip empty phrases in bracketedLinearize krangelov 2019-02-27 08:27:50 +01:00
  • fc37bc26cd fixed typo on c-bracketedLinearize krangelov 2019-02-26 21:10:06 +01:00
  • bde1a6d586 fix the dependency to json krangelov 2019-02-26 19:32:08 +01:00
  • 25dc934871 replace aeson with json krangelov 2019-02-26 19:27:36 +01:00
  • 2fdfef13d8 added command c-bracketedLinearize krangelov 2019-02-26 15:16:36 +01:00
  • a928e4657e Need aeson>=1.3 Thomas Hallgren 2019-02-21 14:43:53 +01:00
  • b6fd9a7744 Merge pull request #34 from heatherleaf/master Thomas H 2019-02-21 14:26:11 +01:00
  • 64a2483b12 added Data.Data.Data instance for Expr krangelov 2019-02-20 13:00:51 +01:00