Commit Graph

459 Commits

Author SHA1 Message Date
Krasimir Angelov
173128bd46 Merge branch 'master' into majestic 2022-08-24 20:31:10 +02:00
Krasimir Angelov
a27e2dbbb4 fix a leak of stable pointers 2022-08-19 11:34:27 +02:00
Krasimir Angelov
6d81306320 Try to remove the upper version for base 2022-08-17 09:49:37 +02:00
Krasimir Angelov
eb41d2661f bugfix in readContext 2022-07-14 15:56:11 +02:00
Krasimir Angelov
4d0f33e3c3 make it possible to replace the probabilities while reading a new .pgf 2022-07-14 11:04:45 +02:00
Krasimir Angelov
a66693770c started with lookupCohorts 2022-07-07 14:03:07 +02:00
Krasimir Angelov
42d01578ec added test for an unknown function at the top of an expression 2022-06-24 22:27:39 +02:00
Krasimir Angelov
7544e8dfbc remove duplicated export 2022-06-22 11:29:09 +02:00
Krasimir Angelov
18f70b786f first draft for lookupMorpho 2022-05-30 21:16:34 +02:00
Krasimir Angelov
fc09bc776b transactions should always start with the last revision and release it when done 2022-05-23 19:50:41 +02:00
Krasimir Angelov
cad564741b bump the base package version 2022-05-20 15:01:31 +02:00
Krasimir Angelov
5594679a83 first draft of the new allocator with transactions support 2022-05-20 13:55:45 +02:00
Inari Listenmaa
ec70e4a83e Merge pull request #136 from mengwong/ghc9
compiles with GHC 9.0.2
2022-05-06 03:26:00 +02:00
Andreas Källberg
b0b2a06f3b Improve comment 2022-05-03 13:10:29 +08:00
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
Krasimir Angelov
fdd33b63d9 remove redundancies in the .pgf format kept for lagacy reasons 2022-02-08 19:04:08 +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
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
d87b3ce166 get rid of the destructive updates for seq_ids 2022-01-10 10:27:09 +01:00
Krasimir Angelov
262e44c208 fix typo 2022-01-09 08:24:41 +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
00f857559d restore the sharing of sequences. Shrinks the grammar by ~45% 2022-01-08 19:49:42 +01:00
Krasimir Angelov
859d6ad5a5 restore categoryFields in the API 2021-12-29 12:06:29 +01:00
krangelov
4ec0c334c3 remove PGF2.Type 2021-12-24 10:53:36 +01:00
krangelov
b000b80159 added commands create cat & drop cat 2021-12-23 19:21:55 +01:00
krangelov
f03779dfed fix Fun -> Cat 2021-12-23 18:06:08 +01:00
krangelov
f5798350fd commands "create fun" & "drop fun" in the shell 2021-12-23 14:55:26 +01:00
krangelov
12b4958b99 make it possible to merge PGF files in the compiler 2021-12-22 10:47:22 +01:00
krangelov
d18c6d07ea use a diferent target name to avoid accidentally removing test.pgf 2021-12-21 19:10:36 +01:00
krangelov
a6f9eb15ad added Data instances for backwards compatibility 2021-12-21 14:38:28 +01:00
krangelov
73c16504d2 added bracketedLinearizeAll 2021-12-10 10:30:25 +01:00
krangelov
3a39fb5f9d added tabularLinearizeAll 2021-12-10 09:56:51 +01:00
krangelov
494f4c8193 added linearizeAll 2021-12-10 09:13:45 +01:00
krangelov
b0d364f8e8 implement tabularLinearize 2021-12-09 09:51:09 +01:00
krangelov
09de911499 drop the symbol_meta method 2021-12-09 08:56:32 +01:00
krangelov
72982d2344 added testsuite for linearization 2021-12-09 08:46:29 +01:00
krangelov
0069946f42 linearization for HOAS expressions 2021-12-09 08:45:53 +01:00
krangelov
d1b1cd6e8c an API for constructing HOAS expressions 2021-12-09 07:46:49 +01:00
krangelov
d274f4856e compile lindef & linref rules 2021-12-06 15:47:57 +01:00
krangelov
a3d680f317 restored graphvizAbstractTree 2021-12-04 16:05:24 +01:00
krangelov
3d1123eed4 restore graphvizParseTree 2021-12-04 14:12:23 +01:00
krangelov
bbff79aaa3 added API for print names 2021-12-03 16:49:36 +01:00
krangelov
baf78528d3 implement bracketedLinearize 2021-12-03 09:44:03 +01:00
krangelov
15c03816ea implemented nonExist 2021-12-01 14:10:34 +01:00
krangelov
ae08d42d6e started the linearizer 2021-11-26 18:44:17 +01:00
krangelov
4a68ea93b3 generate and store the ranges for all linearization rules 2021-11-26 14:05:03 +01:00