Guillaume Allais
b4d7bba550
[ cleanup ] use default
arguments
...
This simplifies most calls to `testsInDir`.
2023-09-07 14:57:22 +01:00
Robert Wright
424bc20c27
Group tests by directory
2023-09-07 14:57:22 +01:00
Robert Wright
2bde9104e0
Add filter_test_dir test utility
2023-09-07 14:57:22 +01:00
Robert Wright
61878ef1b6
Remove trivial testing input files
2023-09-07 14:57:22 +01:00
Robert Wright
09466a96bb
Add testing utilities script
2023-09-07 14:57:22 +01:00
G. Allais
c52b029986
[ new ] function options for case blocks ( #3062 )
2023-09-01 11:35:52 +01:00
Aleksei Volkov
af7ba2fa67
[ ttc ] Compare modification time with nanosecond precision ( #3046 )
2023-08-31 11:55:57 +01:00
Guillaume Allais
e3214586a5
[ fix #3057 ] properly handle char literals in comments
2023-08-31 11:52:32 +01:00
Denis Buzdalov
cf9a73f86c
[ prelude ] Add some lacking %tcinline
s
2023-08-23 11:04:53 +01:00
Janus Troelsen
694b1650c8
[ racket ] Add library loading ( #3049 )
2023-08-23 11:04:01 +01:00
Aleksei Volkov
115c9e0889
[ unelab ] Properly unelaborate metavariables originating from %search
( #3055 )
...
* [ unelab ] Properly unelaborate `%search`
* [ test ] Added regression test that checks quotation of `%search`
2023-08-23 08:02:11 +01:00
Steve Dunham
bde1a66075
[ fix ] Fix pattern match issue with function application in Refl ( #3027 )
2023-08-04 13:46:04 +01:00
Steve Dunham
f0f776c288
[ error ] Improve error messages for Delay &co
2023-08-04 13:39:39 +01:00
Steve Dunham
b481994bef
[ fix ] Fixes build broken by #3021
2023-08-01 08:01:12 +01:00
scarf
c7abb148e8
feat: even and odd for Nat and Integral ( #3021 )
2023-07-31 08:36:40 +01:00
André Videla
1fa638494d
[ new ] Fixity access modifier ( #3011 )
2023-07-31 08:35:16 +01:00
Robert Wright
cbbe761c51
Add fromTTImp, fromName, and fromDecls for custom TTImp, Name, and Decls literals
2023-07-31 08:17:55 +01:00
André Videla
a39bfc6ce3
Merge branch 'main' into constant_fin
2023-07-18 23:46:07 +09:00
Steve Dunham
8d7791ba55
[ base ] Add getTermCols and getTermLines to base library and fix pri… ( #3009 )
2023-07-18 09:42:47 -05:00
Steve Dunham
5165c79b67
[ fix ] Ensure local defs with no claim are local
2023-07-15 18:18:48 -07:00
Robert Wright
af3c5fd454
Generalize Prelude proof helpers
2023-07-05 16:36:09 +01:00
stefan-hoeck
c1a5be9b5b
[ performance ] make Eq and Ord for Fin run in constant time
2023-07-05 15:58:41 +02:00
Steve Dunham
ecf4765c4b
[ fix ] Fix issue with eager evaluation of crashing functions ( fixes #3003 ) ( #3004 )
...
* [ fix ] Fix issue with eager evaluation of crashing functions
* Mark functions that call unsafe builtins as non-constant
* Better detection of crash primop when deciding if functions can be constant
2023-06-28 08:32:48 +01:00
Denis Buzdalov
5dcf62499d
[ elab ] Make elab scripts be able to record warnings ( #2999 )
2023-06-19 16:34:19 +01:00
Andre Videla
9797a79b53
[ new ] Allow fixities to be hidden with %hide
...
* Change the printing of namespaced operator to show
parenthesis around operators
* Update warning when conflicting fixities are found
* Do not warn about redundant but compatible fixities
2023-06-14 11:19:59 +01:00
Alexander
63fa070efa
add test for parse error let-in in do block
2023-06-13 11:01:42 +03:00
Justus Matthiesen
6c6867490c
[ test ] lazy functions
2023-06-12 11:04:59 +01:00
Aleksei Volkov
e594669210
[ fix #1878 ] Programmer-provided terms should be alwaysReduce
( #2977 )
...
* [ fix ] Programmer-provided terms should be alwaysReduce
This ports Edwin's commit that fixes the original issue back to Idris
Co-authored-by: Edwin Brady <ecb10@st-andrews.ac.uk>
* [ tests ] Added regression test for #1878
* Updated CHANGELOG.md and CONTRIBUTORS
---------
Co-authored-by: Edwin Brady <ecb10@st-andrews.ac.uk>
2023-06-01 17:08:02 +01:00
Justus Matthiesen
00af44c708
Ignore UseSide
annotation in non-linear as-patterns ( #2984 )
...
Co-authored-by: Aleksei Volkov <volkov.aa@phystech.edu>
2023-06-01 14:34:57 +01:00
Thomas E. Hansen
5519e5117f
[ test ] Test :doc for laziness primitives
2023-05-30 09:46:24 +02:00
Steve Dunham
d3e896ea09
[ fix ] Improve error messages at end of if statements
2023-05-20 09:16:25 +01:00
Stefan Höck
2739c3a389
[ codegen ] more flexible array implementation on JS backends ( #2966 )
2023-05-14 06:45:50 +01:00
Steve Dunham
edc000c568
[ fix ] Fix issue parsing __LOC__ arguments
2023-05-14 06:45:33 +01:00
Steve Dunham
7221c99e93
[ error ] Improve error messages for indentation issues
2023-05-13 10:25:38 +01:00
Denis Buzdalov
c285ef06dd
[ re #2960 ] Move defs of closures data types to a separate module
2023-05-11 15:31:45 +01:00
Robert Wright
9bfa04921a
Add symmetric and transitive closure relations
2023-05-08 11:53:21 +01:00
stefan-hoeck
3c9393e5a8
[ codegen ] constant fold believe_me
2023-05-06 14:52:14 +01:00
Stefan Höck
e34b5a64f0
[ codegen ] get rid of trivial let statements ( #2961 )
2023-05-06 08:35:17 +01:00
madman-bob
a00b7ee7ec
Public export TTImp reflection functions ( #2947 )
...
Co-authored-by: Thomas E. Hansen <teh6@st-andrews.ac.uk>
Co-authored-by: Ohad Kammar <ohad.kammar@gmail.com>
2023-05-05 10:33:32 +01:00
Denis Buzdalov
55efd7dd7b
[ new ] Add Compose
instances for Bi* interfaces, analogous to present
2023-04-25 12:59:25 +01:00
Steve Dunham
97b7697a0e
[ fix ] Issue in totality checking
2023-04-23 17:42:04 +01:00
Steve Dunham
3ad391d597
[ fix ] codegen issue when using partial case statements in prelude. ( #2952 )
2023-04-23 11:07:04 +01:00
Steve Dunham
9544162bc4
[ new ] Add support for bi-directional pipes on POSIX systems ( resolves #2935 ) ( #2944 )
2023-04-15 09:39:17 -05:00
Steve Dunham
a75161cb20
[ parser ] Improve error message for missing comma or period in forall.
2023-04-07 08:42:42 +01:00
G. Allais
b185f1ff85
[ new ] %unsafe pragma for escape hatches ( #2937 )
2023-04-03 21:42:47 +01:00
Zoe Stafford
442c5b529f
Collect constructors on the left hand side of case alternatives ( #2919 )
...
* [ fix ] collect constructors on LHS of cases alts
* [ tests ] Updated expected
These functions do refer to these constructors at runtime, so this is the correct output
* Update CHANGELOG.md
* [test] update test output again
2023-03-14 15:05:19 +00:00
G. Allais
b5197d5c5d
[ fix ] partial evaluation implementation ( #2899 )
2023-03-07 08:31:29 +00:00
Denis Buzdalov
b5fe607f4e
[ regression ] Do toFullNames
only when logging happens
2023-03-06 12:56:39 +00:00
CodingCellist
7972c6acbd
[ new ] Implement bit-rotation operators ( #2903 )
...
* [ new ] Implement bit-rotation operators
Whereas `shiftR` and `shiftL` throw bits off the edge, the `rotR` and
`rotL` operations wrap the bits around to the start of the bit-stream.
* [ test ] visualise bit patterns instead
* [ fix ] print bit patterns the right way around
---------
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2023-03-04 14:41:54 +00:00
André Videla
24a69089bc
Merge pull request #2900 from mjustus/fix2895
...
[ fix #2895 ] don't erase argument when type is erased
2023-03-04 09:34:28 +00:00