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 |
|
Jan Mas Rovira
|
add1b6e689
|
[tests] add more errors and their tests
|
2022-02-16 15:18:08 +01:00 |
|
Jan Mas Rovira
|
ee1ed2d385
|
[pretty] cool error for import cycles
|
2022-02-16 11:53:58 +01:00 |
|
Jan Mas Rovira
|
5a4c6366dd
|
add HasLoc class and add some instances
|
2022-02-16 11:53:21 +01:00 |
|
Jan Mas Rovira
|
d91e35ab0f
|
[deps] add tasty dependency to lib to avoid rebuilding when testing
|
2022-02-16 10:03:49 +01:00 |
|
Jan Mas Rovira
|
7fe533bf8b
|
[pretty] fix links to definition (broken by previous refactor)
|
2022-02-16 09:43:45 +01:00 |
|
Jan Mas Rovira
|
96930352aa
|
[tests] setup basic testing
|
2022-02-15 14:12:53 +01:00 |
|
Jan Mas Rovira
|
aa91f2225a
|
small changes
|
2022-02-14 20:04:06 +01:00 |
|
Jan Mas Rovira
|
0856327658
|
[errors] add not in scope error
|
2022-02-14 13:39:54 +01:00 |
|
Jan Mas Rovira
|
d2e07b9c43
|
[errors] add more errors and tests
|
2022-02-14 11:54:18 +01:00 |
|
Jan Mas Rovira
|
586ef64f90
|
[scoper] add more errors
|
2022-02-14 11:35:07 +01:00 |
|
Jan Mas Rovira
|
4dcf8d9e81
|
[pretty] given instances for Pretty
|
2022-02-14 11:34:30 +01:00 |
|
Jan Mas Rovira
|
cbc9a409ca
|
[tests] add two negative tests to check new errors
|
2022-02-14 09:06:11 +01:00 |
|