Andreas Källberg
b1ed63b089
Don't print stack traces in Command.hs
...
They don't provide useful info anyways and they are needlessly verbose.
2021-06-16 14:26:22 +08:00
Inari Listenmaa
f23031ea1d
Add command ai f to trigger error msg
2021-06-16 12:23:07 +08:00
Inari Listenmaa
c3153134b7
Remove CStr [] which causes error, update gold
2021-06-16 12:19:35 +08:00
Inari Listenmaa
fd4fb62b9e
Add output files for test suite in gitignore
2021-06-11 13:55:20 +08:00
Inari Listenmaa
53c3afbd6f
Remove CallStack outputs from gold files
...
Rather, we should not output these, or output them in a nicer way.
2021-06-11 13:55:04 +08:00
Tristan Koh
544b39a8a5
changed build wheels repo link from master to main
2021-06-11 13:23:18 +08:00
Jacob Tan En
6179d79e72
Update gf.cabal
...
`cabal install` needs this
2021-06-11 13:23:18 +08:00
Jacob Tan En
ecb19013c0
Update index-3.11.md
...
`Cabal install` is fragile and can fail if the GHC on path is of an incompatible version.
Use ghcup to use a GHC version that is known to work.
2021-06-11 13:23:18 +08:00
1Regina
c416571406
Rectified gold files
2021-06-11 12:14:49 +08:00
1Regina
a1372040b4
Add RGL dependencies - Prelude and Predef
2021-06-11 11:47:03 +08:00
1Regina
67fcf21577
remove testsuite/libraries
2021-06-11 11:43:41 +08:00
Inari Listenmaa
a7ab610f95
Merge pull request #113 from TristanKoh/master
...
Changed build wheels repo link from master to main
2021-06-10 07:02:55 +02:00
Tristan Koh
e5b8fa095b
changed build wheels repo link from master to main
2021-06-10 12:00:57 +08:00
Inari Listenmaa
6beebbac2b
Merge pull request #111 from 2jacobtan/patch-2
...
Update gf.cabal
2021-06-10 05:46:45 +02:00
Inari Listenmaa
95917a7715
Merge pull request #110 from 2jacobtan/patch-1
...
Update index-3.11.md
2021-06-10 01:17:27 +02:00
Jacob Tan En
de8b23c014
Update gf.cabal
...
`cabal install` needs this
2021-06-09 19:56:08 +08:00
Jacob Tan En
098541dda2
Update index-3.11.md
...
`Cabal install` is fragile and can fail if the GHC on path is of an incompatible version.
Use ghcup to use a GHC version that is known to work.
2021-06-09 18:31:16 +08:00
1Regina
af87664d27
Merge branch 'enable-tests' of https://github.com/kharus/gf-core into fix-tests
...
to continue working from ruslan tests
2021-06-09 10:39:49 +08:00
krangelov
af1360d37e
allow parameter cat in the Web API for parsing
2021-05-27 11:45:31 +02:00
krangelov
eeda03e9b0
added news
2021-05-05 15:04:15 +02:00
John J. Camilleri
7042768054
Merge pull request #107 from GrammaticalFramework/pgf2-complete
...
Add complete function to PGF2
2021-05-03 22:49:31 +02:00
John J. Camilleri
84fd431afd
Manage to get completion working in PGF2
2021-05-03 22:28:48 +02:00
John J. Camilleri
588cd6ddb1
Improvement to test script, distinguishes when input ends with whitespace
2021-05-03 20:51:24 +02:00
John J. Camilleri
437bd8e7f9
Add proper error handling in complete
2021-05-03 20:36:31 +02:00
John J. Camilleri
e56d1b2959
Second attempt. Reading enum is closer to working but all strings are empty.
2021-05-03 14:25:35 +02:00
John J. Camilleri
450368f9bb
First attempt at adding support for complete in PGF2 (gives segmentation faults)
2021-05-03 13:19:08 +02:00
John J. Camilleri
07fd41294a
Comment out c-runtime flag by default
2021-05-03 10:33:36 +02:00
John J. Camilleri
4729d22c36
Make stack.yaml an actual symlink to stack-ghc8.6.5.yaml. Add some commented flags in stack files.
2021-05-03 10:24:26 +02:00
John J. Camilleri
60bc752a6f
Add note about type-checking dynamic expressions in PGF2 Haddock
...
Closes #72
2021-04-30 14:59:20 +02:00
John J. Camilleri
91278e2b4b
Remove notice about example grammars not being included anymore from build scripts
2021-04-30 13:39:15 +02:00
John J. Camilleri
c1af40532c
Add some stuff to gitignore
2021-04-30 13:06:50 +02:00
John J. Camilleri
d0c27cdaae
Make GF.Grammar.Canonical.Id a type synonym for GF.Infra.Ident.RawIdent
...
This avoids a lot of conversion back and forth between Strings and ByteStrings
2021-04-06 22:15:07 +02:00
John J. Camilleri
f7df62a445
Add support for literals
2021-03-22 09:12:34 +01:00
John J. Camilleri
2d066853f1
Add unit test for literals (fails)
2021-03-22 08:37:59 +01:00
John J. Camilleri
f900ea3885
Don't process impossible values at all (not even for finding their types)
2021-03-16 16:59:58 +01:00
John J. Camilleri
d9c37fc093
Minors to LPGF readme
2021-03-12 13:47:36 +01:00
John J. Camilleri
c9f0867491
Remove state Map from compilation
2021-03-12 13:46:50 +01:00
John J. Camilleri
6c6a201d96
Introduce state with Map for caching compilation, but results are worse
2021-03-12 13:39:56 +01:00
John J. Camilleri
8f5033e4ce
Add notes on profiling
2021-03-09 08:36:35 +01:00
John J. Camilleri
126b61ea03
Merge branch 'master' into lpgf
2021-03-08 13:52:34 +01:00
John J. Camilleri
9b4f2dd18b
Remove notice about RGL not being included anymore from build scripts
2021-03-08 13:48:30 +01:00
John J. Camilleri
99abb9b2a5
Add Phrasebook benchmark snippet to LPGF README
2021-03-08 13:37:02 +01:00
John J. Camilleri
3e9d12854a
Switch to 10000-tree Phrasebook treebank. All errors to do with missing functions, plus variants in German.
2021-03-08 11:19:06 +01:00
John J. Camilleri
fd07946a50
Remove commented line
2021-03-08 10:42:16 +01:00
John J. Camilleri
c76efcf916
Use C runtime in mkTreebank script
2021-03-08 10:17:03 +01:00
John J. Camilleri
785d6069e2
Fix lin2string and pass all unittests and Phrasebook
2021-03-08 09:53:10 +01:00
John J. Camilleri
0f4b349b0b
Remove old commented code
2021-03-05 16:51:59 +01:00
John J. Camilleri
dbf369aae5
Make removal of record fields recursive. Latest results with Phrasebook:
...
Bul ✓
Cat ✗
Chi ✓
Dan ✓
Dut ✓
Eng ✓
Est ✓
Fin ✓
Fre ✗
Ger ✓
Hin ✓
Ita ✗
Jpn ✓
Lav ✓
Nor ✓
Pol ✓
Ron ✓
Snd ✗
Spa ✓
Swe ✓
Tha ✓
Urd ✓
Passed 18 | Failed 4 | Total 22
2021-03-05 16:48:05 +01:00
John J. Camilleri
0d4659fe8c
Add workaround for missing param defs. Add links to gf-core issues in workaround comments.
2021-03-05 13:23:00 +01:00
John J. Camilleri
575a746a3e
Add LPGF function for catching errors. Manual fixes to Phrasebook treebank.
2021-03-05 12:05:25 +01:00