Commit Graph

8658 Commits

Author SHA1 Message Date
Andreas Källberg 221597bd79 When profiling, don't add cost centres in Data.Binary.Get
This change speeds up profiling by an order of magnitude.
Without it, the >>= function for Get dominates runtime completely during profiling.
2022-05-03 13:08:35 +08:00
Inari Listenmaa 862aeb5d9b Update base <4.15 to <4.16 for tests + pgf*.cabal 2022-03-05 13:42:11 +08:00
Inari Listenmaa 25dd1354c7 Merge pull request #135 from mengwong/base-4-15
prepare for GHC 9, base 4.15, by using Buffer constructor interface
2022-03-05 06:28:17 +01:00
Inari Listenmaa b762e24a82 Add ghc-9.0.2 to CI 2022-03-05 13:25:26 +08:00
Meng Weng Wong 20453193fe add compilation support for ghc 9.0.2 2022-03-05 13:15:40 +08:00
Meng Weng Wong b53a102c98 if this PR is accepted we don't need these instructions 2022-03-05 12:59:25 +08:00
Meng Weng Wong bc14a56f83 "now try this" instructions for people flailing with Apple Silicon M1 2022-03-05 12:59:25 +08:00
Meng Weng Wong 3a1213ab37 prepare for GHC 9, base 4.15, by using Buffer constructor interface 2022-03-05 12:59:25 +08:00
Inari Listenmaa 1b41e94f83 Merge pull request #138 from anka-213/patch-1
Fix stack ci
2022-03-05 05:49:43 +01:00
Andreas Källberg 308f4773dc Upgrade to ghc-8.10.7
This version has better support for m1 macbooks
2022-03-05 12:25:46 +08:00
Andreas Källberg 05fc093b5e Add restore key to cache 2022-03-05 12:25:46 +08:00
Andreas Källberg 4caf6d684e Another attempt at fixing linker errors 2022-03-05 12:25:46 +08:00
Andreas Källberg bfd8f9c16d Upgrade haskell setup action 2022-03-05 12:24:38 +08:00
Andreas Källberg aefac84670 Clear stack cache and make cache-key more fine-grained
Attempt at fixing #137
2022-03-05 12:24:10 +08:00
Krasimir Angelov 546dc01b5d fix the compilation on Windows and Mac 2022-02-09 10:39:36 +01:00
Krasimir Angelov 8960e00e26 speed up booting by implementing realloc+padovan 2022-02-09 10:36:42 +01:00
Krasimir Angelov fdd33b63d9 remove redundancies in the .pgf format kept for lagacy reasons 2022-02-08 19:04:08 +01:00
Krasimir Angelov 4ee671e59d fourth attempt 2022-02-08 17:38:08 +01:00
Krasimir Angelov f50e1299ce third attempt 2022-02-08 17:33:44 +01:00
Krasimir Angelov eedd424f5d second attempt 2022-02-08 17:32:43 +01:00
Krasimir Angelov 816225a054 try to fix the compilation on Mac 2022-02-08 17:25:34 +01:00
Krasimir Angelov 2ea78be6d8 third attempt 2022-02-08 17:01:38 +01:00
Krasimir Angelov fd1891111b another attempt 2022-02-08 16:54:35 +01:00
Krasimir Angelov d9efc1f615 try to restore compilation on Windows 2022-02-08 16:48:15 +01:00
Krasimir Angelov 4d240f7260 working fullFormLexicon. Slows down loading and compilation 2022-02-08 16:38:30 +01:00
Krasimir Angelov fc7c1249b0 release the reference when done with it 2022-02-07 12:57:19 +01:00
Krasimir Angelov 9513c968db fix the sanity checking for valid revisions 2022-02-02 11:49:16 +01:00
Krasimir Angelov f0045e910e better output for 'pg -fullform' 2022-01-28 17:32:40 +01:00
Krasimir Angelov 78b462c607 partial implementation for fullFormLexicon 2022-01-11 15:07:03 +01:00
Krasimir Angelov c119349479 remove repeated export 2022-01-11 14:58:33 +01:00
Krasimir Angelov c36d804c11 an attempt to fix the compilation on Mac 2022-01-11 14:57:41 +01:00
Krasimir Angelov a216c1aa6d ensure left-to-right pattern maching of records 2022-01-11 13:31:44 +01:00
Krasimir Angelov 310b40be31 strip redundant code 2022-01-11 13:31:00 +01:00
Krasimir Angelov 54993bce12 deepForce VSymCat 2022-01-11 12:48:14 +01:00
Krasimir Angelov a8c40db453 bugfix in pgf_tabular_linearize 2022-01-10 11:59:20 +01:00
Krasimir Angelov 8a432ee47b fix case-insensitive comparison 2022-01-10 11:08:37 +01:00
Krasimir Angelov d87b3ce166 get rid of the destructive updates for seq_ids 2022-01-10 10:27:09 +01:00
Krasimir Angelov 19f7fb8d5e added const specifier 2022-01-09 18:20:47 +01:00
Krasimir Angelov f2572d3bd5 mark Vector as internal 2022-01-09 14:59:55 +01:00
Krasimir Angelov 73fa1d98c3 std::exp -> expf 2022-01-09 14:58:36 +01:00
Krasimir Angelov 262e44c208 fix typo 2022-01-09 08:24:41 +01:00
Krasimir Angelov f5435dba38 restore the rigt order for terms 2022-01-09 08:00:05 +01:00
Krasimir Angelov 99e639c861 handle failed linearization in tabularLinearize 2022-01-09 07:37:03 +01:00
Krasimir Angelov f3d54a02e3 update the testsuite 2022-01-08 20:04:23 +01:00
Krasimir Angelov e65a3a06c9 fix the serialization 2022-01-08 20:02:40 +01:00
Krasimir Angelov 00f857559d restore the sharing of sequences. Shrinks the grammar by ~45% 2022-01-08 19:49:42 +01:00
Krasimir Angelov cd2c6aa32a cleanup transient revisions only after a transaction is opened 2021-12-29 14:52:21 +01:00
Krasimir Angelov f118e644d9 finished 'create lincat' 2021-12-29 14:06:24 +01:00
Krasimir Angelov daebed0b7b check the resource and the compiled grammar for compatibility 2021-12-29 12:28:50 +01:00
Krasimir Angelov 859d6ad5a5 restore categoryFields in the API 2021-12-29 12:06:29 +01:00