Commit Graph

942 Commits

Author SHA1 Message Date
Ohad Kammar
fe1d5ee381 Transmit hole information in the IDEMode protocol
Move printing routines into the `Idris.IDEMode.Holes` module
2020-05-25 11:51:16 +01:00
Edwin Brady
d8f8718424
Merge pull request #151 from edwinb/appdocs
Some documentation updates
2020-05-25 11:50:02 +01:00
Ohad Kammar
92eaa247a6 Refactor FoundHoles : REPLResult to carry more structured information about holes 2020-05-25 10:38:22 +01:00
Kamil Shakirov
a9f1883659 Merge branch 'master' into use-contrib 2020-05-25 15:29:24 +06:00
Fabián Heredia Montiel
1fbce6a593 Add emacs/vim swap files to gitignore 2020-05-25 09:18:49 +01:00
Edwin Brady
3859f60d7a Merge remote-tracking branch 'upstream/master' 2020-05-25 09:11:54 +01:00
Edwin Brady
227bd3b457
Merge pull request #119 from idris-lang/idemode
[ refactor ] Idris.IDEMode.CaseSplit
2020-05-25 09:09:37 +01:00
Edwin Brady
2206692533 Some documentation updates
Remove things from CONTRIBUTING that are done, and initial App
documentation (though it could use more examples).
2020-05-25 09:03:08 +01:00
Edwin Brady
c86848eaa3
Merge pull request #150 from edwinb/master
Remove unreachable case
2020-05-25 08:56:39 +01:00
Kamil Shakirov
a3d57cd4fc Merge branch 'master' into use-contrib 2020-05-25 13:01:15 +06:00
Edwin Brady
f841f4a48a Remove unreachable case 2020-05-25 07:44:52 +01:00
Ohad Kammar
2e17a89ef0 minor bugfix: confused two branches of if 2020-05-25 07:38:31 +01:00
Ohad Kammar
0de2f6dea8 Merge branch 'master' of github.com:idris-lang/Idris2 into ide-protocol-holes 2020-05-25 07:14:33 +01:00
Ohad Kammar
ced6134f79 Refactor hole information extracting functions into a new submodule
Introduce a new data structure for IDE-related hole data

Separate hole printing from informationextraction
2020-05-25 07:13:12 +01:00
wchresta
788e6943a4 Split bootstrap into separate build and test stage
* Refactor bootstrap and bootstrap-rkt scripts
* Move the execution of the test phase after bootstrapping from bootstrap
  scripts into the Makefile. This allows separate execution of build
  and test seperately.
* Solves #125
2020-05-25 00:59:12 -04:00
Alex Gryzlov
eb04046b43 inline removed anyElim, refactor more 2020-05-25 03:53:29 +02:00
Fabián Heredia Montiel
4f040f2bbe Use library version of substr added on commit dec7dff622 2020-05-24 19:45:12 -05:00
Alex Gryzlov
5757c5e5cb remove anyElim 2020-05-25 02:27:19 +02:00
Edwin Brady
7881dfd110
Merge pull request #146 from edwinb/docupdates
Small documentation updates
2020-05-25 01:22:40 +01:00
Edwin Brady
9c5594223e Small documentation updates 2020-05-25 01:02:07 +01:00
Edwin Brady
93ae903915
Merge pull request #145 from edwinb/casetrees
Some improvements on case trees
2020-05-25 00:39:04 +01:00
Edwin Brady
3ec40a30de
Merge pull request #126 from jfdm/add-warnings-to-rtd
Improve messages in Idris2 Sphinx Docs about documentation completness so they are more visible.
2020-05-25 00:38:30 +01:00
Edwin Brady
508b136866
Merge branch 'master' into add-warnings-to-rtd 2020-05-25 00:38:22 +01:00
Edwin Brady
9970c66417 Warn on detecting unreachable patterns
I don't know how complete this is, but it certainly detects some of the
most obvious cases which are most likely to be bugs.

While I'm at it, this is as good a time as any to add a general way of
reporting warnings, similar to the way of reporting errors.
2020-05-25 00:16:49 +01:00
Matúš Tejiščák
730726c20c
Merge pull request #113 from LibreCybernetics/split-parser-2
Split Source and Package Parser (Part 2)
2020-05-24 23:30:13 +02:00
Edwin Brady
6c2b35d02d Remove the erased argument check from CaseBuilder
This is done elsewhere, and now just gives a meaningless error on
overlapping cases in some circumstances, so best removed.
(But we do need to find a way to warn on obviously overlapping cases!)
2020-05-24 22:13:38 +01:00
Fabián Heredia Montiel
731a416043 Split Package Specific Lexer/Rules from Lexer/{Common,Source} and Refactor Idris/Package
Co-authored-by: Matus Tejiscak <ziman@functor.sk>
2020-05-24 16:01:17 -05:00
Edwin Brady
1ea54e764b
Merge pull request #144 from idris-lang/coverage
%default covering
2020-05-24 20:42:08 +01:00
Edwin Brady
c3d13d0854
Merge pull request #93 from ska80/better-names
Rename some file/dir manipulation functions for consistency
2020-05-24 20:16:01 +01:00
Edwin Brady
498421a236 All functions now need to be covering by default
This has caught a couple of things in the Idris 2 code base itself. Some
tests needed partial annotations too.
2020-05-24 19:58:20 +01:00
Niklas Larsson
21f1e54c1a
Merge pull request #143 from melted/eliminate_pthread_dep
Remove dependency on pthreads on Windows
2020-05-24 20:36:27 +02:00
Edwin Brady
c2d74ccfcf Switch on %default
This should be enough for the libraries and tests now. I'm not yet
confident enough to turn on %default covering by default, but let's see
how things work...
2020-05-24 19:14:57 +01:00
Edwin Brady
222a6a7f31 More fine-grained assert_total in unpack
If it's around the whole thing, it might drop out if unpack is partially
evaluated by the unifier. It should be as fine grained as possible.
2020-05-24 19:13:24 +01:00
Niklas Larsson
8d16980b81 Remove dependency on pthreads on Windows 2020-05-24 19:56:26 +02:00
Edwin Brady
55de6983bd Need to remove lazy annotations under case
In totality checking; otherwise we might miss smaller values
2020-05-24 18:47:30 +01:00
Edwin Brady
3ec8631480 More coverage checking fixes
Still a couple of things to resolve in coverage and totality checking
before we can switch on %default, so don't expect quite the right
behaviour just yet. More progress though!

Also working on this has caught a few totality errors in the Idris 2
code base that Idris 1 missed... so these are fixed on the way.
2020-05-24 18:33:43 +01:00
Matúš Tejiščák
8f3e8b865b
Merge pull request #131 from clayrat/cong-erase
Erase function argument of cong
2020-05-24 17:09:20 +02:00
Niklas Larsson
c95e1b5b86
Merge pull request #139 from melted/bootstrap_refactor
Do platform-dependent part a bit better in bootstrap.sh
2020-05-24 16:50:15 +02:00
Niklas Larsson
a8be9206fc Do platform-dependent part a bit better in bootstrap.sh 2020-05-24 16:24:41 +02:00
Niklas Larsson
595184bee7
Merge pull request #138 from melted/mac-builder
Add macOS CI
2020-05-24 15:40:25 +02:00
Niklas Larsson
a6c7d30593 Add macOS badge 2020-05-24 15:30:15 +02:00
Niklas Larsson
3e62241c04 Add a macOS CI workflow 2020-05-24 15:23:50 +02:00
Niklas Larsson
4c50970007
Merge pull request #137 from idris-lang/ci-names
Shorten names on CI icons
2020-05-24 15:11:30 +02:00
Niklas Larsson
06ff156e29 Shorten names on CI icons
Link them to the respective workflow page.
Rename to be more consistent.
2020-05-24 14:44:28 +02:00
Edwin Brady
dc85166982 Use correct coverage information
Previously when building run time case trees for case blocks we were
using the parent's coverage information, which would mean it wouldn't
insert the error case so crash at run time instead of printing a more
helpful message
2020-05-24 12:49:30 +01:00
wchresta
f6564ce069 Add CI for bootstrapping via racket
* Remove Travis as described in #127
2020-05-24 10:09:14 +01:00
Alex Gryzlov
723f690f7e erase function argument of cong 2020-05-24 05:16:52 +02:00
Kamil Shakirov
80344b5435 Merge branch 'master' into better-names 2020-05-24 07:59:25 +06:00
Alex Gryzlov
4aede51098 fix typos 2020-05-24 03:18:15 +02:00
Alex Gryzlov
a312409e19 add Data.List.Quantifiers 2020-05-24 03:15:38 +02:00