CodingCellist
23eea52c50
[ fix ] also usleep in the producer of channels006 to guarantee correct output ( #2702 )
...
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2022-10-05 12:03:20 +01:00
G. Allais
1f3809c49a
[ re #2675 ] Do not build libs/{contribs,papers} during bootstrap ( #2677 )
...
Co-authored-by: Ben Hormann <benhormann@users.noreply.github.com>
2022-10-04 13:37:45 +01:00
Zoe Stafford
138452273c
Merge pull request #2701 from stefan-hoeck/snocfold
...
[ performance ] efficient foldr and foldMap for SnocList
2022-10-04 12:52:39 +01:00
stefan-hoeck
0e956249cc
[ performance ] efficient foldr and foldMap for SnocList
2022-10-04 12:19:32 +02:00
Sam Phillips
bacc418aa0
Remove codegen option from channel tests
2022-10-04 10:24:27 +02:00
Sam Phillips
54a426356a
Move channel tests to allschemes
2022-10-04 10:24:27 +02:00
Sam Phillips
abe2e94b5b
Add channel tests from Chez to Racket
2022-10-04 10:24:27 +02:00
Sam Phillips
795eeb23c5
Make Racket backend channels behave same as Chez.
...
Add tests for both that demonstrate equivalent behavior.
2022-10-04 10:24:27 +02:00
Stefan Höck
b697cea6e2
[ refactor ] use BitsXY for enum types during codegen ( #2692 )
...
* [ refactor ] use Bits32 for enum types during codegen
* [ test ] add test case
* [ test ] restore vmcode test result
* [ fix ] more B32 conversions
* [ refactor ] flexible ENUM representation
* [ text ] fix codegen test
2022-09-30 08:16:32 +01:00
stefan-hoeck
2344004d9d
[ test ] add another test case
2022-09-29 16:34:41 +02:00
stefan-hoeck
0543779200
[ performance ] constant fold prim__integerToNat
2022-09-29 16:30:03 +02:00
Stefan Höck
7eebeff905
[ fix ] natToFinLt is O(n) ( #2689 )
2022-09-29 14:36:32 +01:00
André Videla
162d9e942b
Merge pull request #2686 from dunhamsteve/lexer-issue
...
[ fix ] Lexer reports incorrect column numbers
2022-09-27 16:00:27 +01:00
stefan-hoeck
eb7b7912b9
[ test ] fix node args test
2022-09-27 08:28:01 +02:00
Steve Dunham
f03f184af9
[ parse ] Add fc to IPragma for better error messages
2022-09-25 16:09:53 +01:00
G. Allais
81ea363ae8
[ base ] deriving Traversable ( #2678 )
2022-09-24 12:43:49 +01:00
Guillaume Allais
5631608782
[ base ] deriving Foldable
2022-09-24 10:20:25 +01:00
CodingCellist
7f0dad21f8
[ debug ] Log when stuck because fn out of scope ( #2673 )
...
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2022-09-22 13:12:47 +01:00
Guillaume Allais
2adc3319f6
[ parse ] better error messages for records
2022-09-22 12:25:20 +01:00
Stefan Höck
08f24e79fd
[ performance ] constant folding for all integral expressions ( #2662 )
2022-09-21 10:05:02 +01:00
Steve Dunham
1142f73e05
Add indentation checks when parsing args in implDecl
2022-09-20 23:57:54 +01:00
Steve Dunham
03d6c5f637
[ new ] Handle forward declarations of implementations ( #2668 )
...
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
2022-09-20 21:08:50 +01:00
Steve Dunham
669f49e23e
[ parser ] Make commitKeyword fail fatally
2022-09-16 11:39:53 +01:00
G. Allais
55926f30c5
[ fix #2655 ] Add support for DataOpts in records ( #2658 )
2022-09-14 14:57:04 +01:00
Zoe Stafford
02dfd6ff6c
Trans deps v3 ( #2584 )
...
* make `depends` collect all transitive dependencies
This happens by installing the (modified) ipkg file along with ttc files
* [ fix ] parsing a package shouldn't always set sourceDir
* linter *sigh*
* Fix test, add changelog
`asDepends` has been changed to `setSrc` as that is for me more intuitive
in idris2/pkg006 the version field was removed from the ipkgs of bar-baz and quux
as idris now expects the version to match the folder
idris2/pkg010 explicitly disables incremental compilation, to prevent extra log info
* (hopefully) fix idris2/pkg13 test on windows
* Actually install the version
This should make things start working
* [ fix ] use backtracking to resolve transitive dependencies
* [ fix ] use backtracking to resolve dependencies
* [ fix ] test pkg006
* Fix missing import
Co-authored-by: stefan-hoeck <hock@zhaw.ch>
2022-09-09 07:08:39 +01:00
Zoe Stafford
a001333947
Warning for shadowed local bindings ( #2623 )
...
* Warning for shadowed local bindings
* [ lint ]
* Remove name shadowing in compiler src
* [ fix ] spelling & test cases
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2022-09-07 20:59:28 +01:00
Steve Dunham
9646b31f2b
[ test ] Fix timing issue in interactive045 test
2022-09-06 10:05:34 +01:00
Steve Dunham
90e46ef340
Add test case for lexer issue and fix other instance.
2022-09-05 13:47:41 -07:00
G. Allais
ece1198074
[ fix #1742 ] Do not use uppercase names as pattern variables ( #2642 )
2022-09-05 12:45:51 +01:00
Steve Dunham
351b5ba720
[ parser ] Fix issue where Alt drops incoming commit tag
2022-09-05 12:44:02 +01:00
Steve Dunham
2e45902048
[ parser ] Better error messages inside if statements.
2022-09-05 12:44:02 +01:00
Steve Dunham
150673622b
[ test ] Add a sleep 1 to the interactive044 test to work around a race condition
2022-09-04 09:17:22 +01:00
Guillaume Allais
f678043854
[ test ] add tricky test case ported from Agda
2022-09-02 16:06:40 +01:00
Guillaume Allais
552f27f813
[ fix #2640 ] Do not shadow function name during case split
2022-09-02 11:55:15 +01:00
Guillaume Allais
6891490ed2
[ fix ] support for implicits in Deriving.Functor
...
A lot of refactoring to bring these. That's hopefully the last
feature that was needed...
2022-08-29 18:35:24 +01:00
Mathew Polzin
23e3695d74
Add test for auto implicit case splitting.
2022-08-16 09:23:19 +02:00
Zoe Stafford
86c060ef13
Reimplement %nomangle in terms of %export ( #2604 )
...
* Reimplement %nomangle in terms of %export
Also deprecate %nomangle
* [ lint ] fix linter errors
2022-08-15 13:26:06 +01:00
Guillaume Allais
4672305fc3
[ fix ] more filtering of invalid datatypes
2022-08-13 11:29:19 +01:00
Nil Geisweiller
719b5ad17f
[ cleanup ] Remove extraneous show and simplify printLn ( #2618 )
2022-08-10 21:22:58 +01:00
Justus Matthiesen
a30209d492
[ fix ] Remove stray ")" in Show instance for Term ( #2611 )
2022-08-08 15:24:07 +01:00
Steve Dunham
f4dc7f4221
Merge branch 'main' into issue-2557
2022-08-03 07:13:04 -07:00
Steve Dunham
4088dd863b
Rebuild TTC if they don't contain needed incremental data (related to #2560 )
2022-08-03 07:12:46 -07:00
Guillaume Allais
a4b99bd81c
[ refactor ] introduce allSemanticHighlighting
...
Side effect: all the aspects are now sorted by ranges as we are
merging the PosMaps instead of appending the lists.
2022-07-19 15:01:20 +01:00
G. Allais
84a504738c
[ doc ] add comments to generated javascript ( #2594 )
2022-07-18 17:30:56 +01:00
Guillaume Allais
8ecb1aaf95
Revert "Fix issue with case inside a type."
...
This reverts commit 50ca28c068
.
2022-07-18 15:58:29 +01:00
Steve Dunham
50ca28c068
Fix issue with case inside a type.
2022-07-18 14:17:14 +01:00
G. Allais
0cbbf97b79
[ new ] extend Deriving.Functor to (non-strictly) positive functors ( #2591 )
2022-07-18 14:10:46 +01:00
Mathew Polzin
4a348c1f95
Public export remaining function to allow for proofs involving parsing numbers.
2022-07-18 14:10:05 +01:00
Steve Dunham
a0d9e2bbba
Update tests using base64 utility to also work on macos ( #2536 )
...
* Update tests using base64 utility to also work on macos
* Fix invocation of base64 in refc/buffer test.
2022-07-13 06:46:31 -07:00
G. Allais
1f41c8b44d
[ close #647 ] Already fixed ( #2581 )
2022-07-08 14:16:25 +01:00