1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 10:03:22 +03:00
Commit Graph

362 Commits

Author SHA1 Message Date
Jan Mas Rovira
dc62c642a8 [termination] small refactor to remove a redundant type 2022-03-02 10:45:40 +01:00
Jan Mas Rovira
6e38e3c045 [termination] pretty print completed call graph 2022-03-02 09:20:00 +01:00
Jan Mas Rovira
73b2278288 [termination] implement size relation, call matrix and complete call graph 2022-03-02 00:18:42 +01:00
Jan Mas Rovira
9377c55b7b [proofs] add some proofs on small matrices 2022-02-28 18:31:31 +01:00
Jan Mas Rovira
21261046ac [deps] add algebraic-graphs dependency 2022-02-28 18:29:14 +01:00
Jan Mas Rovira
4d662f640d [stack] update resolver 2022-02-28 18:28:09 +01:00
Jan Mas Rovira
e983065a7b [stdlib] update 2022-02-28 18:24:52 +01:00
Jan Mas Rovira
f48a7c0e04 [proofs] fix module path 2022-02-25 17:27:36 +01:00
Jan Mas Rovira
3772b8b9f8 [proofs] move file 2022-02-25 17:27:12 +01:00
Jan Mas Rovira
4e99d53bfc [proofs] prove that the foetus98 algebra is a StarSemiring 2022-02-25 16:38:54 +01:00
Jan Mas Rovira
7a5b838070 [proofs] add StarSemiring structure 2022-02-25 16:38:38 +01:00
Jan Mas Rovira
e87eed038e [proofs] prove that the foetus98 size relation and its operations form a semiring 2022-02-25 12:32:21 +01:00
Jan Mas Rovira
206d263e70 [app] rename 'graph' command to 'calls' 2022-02-24 19:36:21 +01:00
Jan Mas Rovira
d1af2c8862 [termination] allow different printing options (arg|rel|both) for call graph 2022-02-24 11:03:02 +01:00
Jan Mas Rovira
79d9cc6f97 [termination] detect non-increasing arguments 2022-02-24 02:27:00 +01:00
Jan Mas Rovira
95c7e6fa10 [tests] add ackermann function 2022-02-24 01:33:26 +01:00
Jan Mas Rovira
37eea5bc46 [app] add option to show or hide decreasing arguments 2022-02-24 01:32:58 +01:00
Jan Mas Rovira
bce93eeed2 [termination] implement very basic structural size decrease detection 2022-02-24 01:14:28 +01:00
Jan Mas Rovira
4b16e08b8d add some test files aimed at termination checking 2022-02-24 00:36:22 +01:00
Jan Mas Rovira
a14dc4dc41 fix typo 2022-02-24 00:32:29 +01:00
Jan Mas Rovira
7ec3fede62 [tests] fix definition of Data.List.filter 2022-02-24 00:31:21 +01:00
Jan Mas Rovira
b4d58bf566 improve pretty printing of call graph 2022-02-24 00:31:02 +01:00
Jan Mas Rovira
028c6ac5c0 [tests] add test and error for missing function clause 2022-02-24 00:29:59 +01:00
Jan Mas Rovira
b29050afb4 [termination] implement call detection and add new cli command 'graph' 2022-02-23 21:22:28 +01:00
Jan Mas Rovira
aeab057289 [pretty] partially implement pretty for abstract code and refactor some modules
to improve reusability
2022-02-23 19:02:09 +01:00
Jan Mas Rovira
29bcb85226 [scoper] add stub error for ambiguous module symbols 2022-02-23 15:28:12 +01:00
Jan Mas Rovira
614c74354b [refactor] put strings in a common module 2022-02-23 11:48:47 +01:00
Jan Mas Rovira
a8d7f183b8 [tests] add test for parenthesized operators: (+) 2022-02-23 10:59:56 +01:00
Jan Mas Rovira
b2d80e8e2c [abstract] finish basic translation from scoped to abstract 2022-02-23 10:58:37 +01:00
Jan Mas Rovira
655fc89eb3 [abstract] wip: translate from scoped to abstract 2022-02-22 14:36:59 +01:00
Jan Mas Rovira
7a421aa9e0 drop TupleSections language extension 2022-02-21 19:21:03 +01:00
Jan Mas Rovira
13279f7b47 [tests] fix some comments 2022-02-21 16:38:39 +01:00
Jan Mas Rovira
3124052807 [tests] add more positive tests from the stdlib 2022-02-18 22:02:57 +01:00
Jan Mas Rovira
d3e060af52 [pretty] print match alt patterns as atoms 2022-02-18 21:52:19 +01:00
Jan Mas Rovira
8629ccee53 [scoper] properly sort operators by precedence 2022-02-18 21:51:53 +01:00
Jan Mas Rovira
3ead694533 [tests] add test for a fragment of stdlib Data.List 2022-02-18 17:57:04 +01:00
Jan Mas Rovira
ff4dd470f0 [errors] fix suggestion of not in scope symbol 2022-02-18 17:49:22 +01:00
Jan Mas Rovira
bdd155d712 [tests] add support for mocked file system in scope checker. Useful for multi
file tests
2022-02-18 17:48:21 +01:00
Jan Mas Rovira
45e3e2ca35 move some auxiliar definitions to the Prelude 2022-02-18 17:47:41 +01:00
Jan Mas Rovira
df39676db8 remove unused file 2022-02-18 16:02:40 +01:00
Jan Mas Rovira
09bf131990 [tests] setup step-wise positive tests 2022-02-18 13:01:42 +01:00
Jan Mas Rovira
3b9b4ab43a [scoper] improve efficiency of infix parsing. Drop uniplate dependency 2022-02-18 11:14:17 +01:00
Jan Mas Rovira
4651906e32 [scoper] use atoms information instead of scope to parse infix operators 2022-02-18 01:53:10 +01:00
Jan Mas Rovira
85601c6332 [scoper] properly handle qualified constructors in patterns 2022-02-18 00:58:41 +01:00
Jan Mas Rovira
393f907a51 [scoper] add error for unused operator syntax definitions 2022-02-17 22:00:58 +01:00
Jan Mas Rovira
cf166596f4 [app] allow scoping multiple files at once 2022-02-17 19:28:19 +01:00
Jan Mas Rovira
9fa875c242 [scoper] add megaparsec error 2022-02-17 14:01:50 +01:00
Jan Mas Rovira
e55680bfec [scoper] add module not in scope error 2022-02-17 13:40:19 +01:00
Jan Mas Rovira
f3956f5fcd simplify SymbolEntry 2022-02-17 11:09:00 +01:00
Jan Mas Rovira
4ffc7f368d [wip] incorporate singletons-th 2022-02-16 20:15:14 +01:00