Commit Graph
9428 Commits
Author SHA1 Message Date
Andreas Källberg 268a25f59c Indent each line of an error message
By indenting each line instead of just the first, we simplify
the work of the gf-lsp parser, so we can see which errors are the same
2023-09-25 09:55:02 +02:00
Krasimir Angelov 46ccde4abc more details in the LR graph 2023-09-20 18:05:40 +02:00
Krasimir Angelov 7d42e7cfc9 extend the LR(0) visualization 2023-09-20 13:42:20 +02:00
Krasimir Angelov dccb9681a2 started a graphviz visualization for the LR(0) automaton 2023-09-19 21:19:54 +02:00
Krasimir Angelov 2582719fab prepare for context-sensitive parsing 2023-09-19 21:17:55 +02:00
Krasimir Angelov 22e6b30193 refactoring 2023-09-19 08:33:43 +02:00
Krasimir Angelov 5de4d9dd5c trigger a new uppload to PyPI 2023-09-18 14:20:09 +02:00
Krasimir Angelov 30717ac8b7 temporary disable the automaton generation for the GitHub version 2023-09-18 13:14:15 +02:00
Krasimir Angelov f0c5299839 bugfix in the automaton generation 2023-09-17 14:06:31 +02:00
Krasimir Angelov b3968d95b9 first variant of the parser which precompiles epsilons 2023-09-15 18:22:35 +02:00
Krasimir Angelov d2cbe7b6a1 finished the unmarshaller 2023-09-14 11:38:55 +02:00
Krasimir Angelov d557f45ebd started a WASM version of the runtime 2023-09-13 20:24:35 +02:00
Inari Listenmaa 318b710a14 Merge pull request #160 from anka-213/prettier-syntax-errors
Improve syntax error messages
2023-09-13 08:24:07 +02:00
Krasimir Angelov e17d435284 add a link to GF WordNet 2023-09-11 21:45:32 +02:00
Andreas Källberg b90666455e Fix typo 2023-09-11 13:17:19 +02:00
Andreas Källberg 88db715c3d Fix ghc-7.10.3 build in gh-actions
ghc-7.10.3 is not supported in the latest builder, so we
need an older version of ubuntu for it to work
2023-09-11 13:03:05 +02:00
Andreas Källberg 003ab57576 Bump version of haskell github action
The old one was failing
2023-09-11 18:43:14 +08:00
Andreas Källberg ffd7b27abd Improve syntax error messages
Now you will get error messages like these:
example.gf:1:21:
   Syntax error:
     Unexpected token '}'.
     Expected one of:
     - '{'
     - 'open'
     - an identifier
2023-09-11 12:30:28 +02:00
Krasimir Angelov b0bd3ffbf8 fix the variable name 2023-09-10 19:23:59 +02:00
Krasimir Angelov 343e2d46bc try again with a different token 2023-09-10 19:02:41 +02:00
Krasimir Angelov 2df5538084 rename the python package to pgf-majestic and uppload to PyPI 2023-09-10 18:30:19 +02:00
Krasimir Angelov 096b36c21d Update jit.c 2023-09-07 17:37:25 +02:00
Krasimir Angelov 2bc6e28ab0 fix after the patch in http-slim 2023-09-07 15:05:11 +02:00
Krasimir Angelov d065e1de66 make it possible to download larger files but incremental upload 2023-09-07 15:04:34 +02:00
Krasimir Angelov 91681088ca make it possible to download a grammar 2023-09-07 10:30:43 +02:00
Krasimir Angelov 349c5b82ad fix compilation on Windows 2023-09-07 10:24:42 +02:00
Krasimir Angelov dde9fc1228 fix the type signature for macOS 2023-09-07 10:19:36 +02:00
Krasimir Angelov b265249fe9 don't use PyObject_CallOneArg for compatibility with old Python 2023-09-07 10:17:00 +02:00
Krasimir Angelov f1af1c8be4 make it possible to bootstrap an .ngf from a cookie 2023-09-07 10:07:49 +02:00
Krasimir Angelov d110140107 update 2023-09-04 17:53:55 +02:00
Krasimir Angelov 295458ab03 two more fixes 2023-09-04 17:52:09 +02:00
Krasimir Angelov 56c5b8e3e9 a second try on writePGF_ 2023-09-04 17:46:21 +02:00
Krasimir Angelov 251d313d1b remove redundant type 2023-09-04 17:17:26 +02:00
Krasimir Angelov d49ef33054 try an implementation for writePGF_ on macOS 2023-09-04 17:14:02 +02:00
Krasimir Angelov fc23e8b9fe try ubuntu-latest 2023-09-04 16:49:47 +02:00
Krasimir Angelov 844c4dccff try actions/checkout@v4 2023-09-04 16:36:47 +02:00
Krasimir Angelov 62cad0f1ba make it possible to write grammars via a cookie in glibc 2023-09-04 16:20:49 +02:00
Krasimir Angelov 9a6d5a99bf partial implementation for deserialization with daison 2023-09-01 11:56:23 +02:00
Krasimir Angelov 034fe569c4 added hasLinearization 2023-08-31 22:05:02 +02:00
Krasimir Angelov a33f64d236 added lookupMorpho 2023-08-31 19:51:51 +02:00
Krasimir Angelov e0c820be17 update checkoutBranch 2023-08-26 07:58:12 +02:00
Krasimir Angelov d1e9454dfa add documentation and type information for VS Code 2023-08-25 18:10:30 +02:00
Krasimir Angelov 7c93a594e0 fix an out of date comment 2023-08-25 18:09:47 +02:00
Krasimir Angelov 22c41367ec fix typo 2023-08-25 18:09:16 +02:00
Krasimir Angelov 86af7b12b3 the jitter should still read the absfuns even for EMSCRIPTEN and aarch64 2023-08-11 10:47:29 +02:00
Krasimir Angelov e2c2763d59 One more place with __aarch64__ 2023-08-09 10:59:53 +02:00
Krasimir Angelov fae2fc4c6c Try with __aarch64__ 2023-08-09 10:58:50 +02:00
Krasimir Angelov 5131fadd1f lightning.h not included on aarch64 2023-08-08 16:18:49 +02:00
Krasimir Angelov 0e1cbfaa7e Disable the jit on aarch64 2023-08-04 15:01:31 +02:00
Krasimir Angelov 95e5976b03 Create funcs.h 2023-08-04 14:49:55 +02:00