Commit Graph

1681 Commits

Author SHA1 Message Date
russoul
1d23c7a6bd Add named instances for functor & applicative composition 2021-02-15 10:35:46 +00:00
G. Allais
a060dcc18e [ new ] Data.OpenUnion (#1050) 2021-02-15 10:35:46 +00:00
Z-snails
5384560009 [ new ] support record projections in refc backend (#1054) 2021-02-15 10:35:46 +00:00
Giuseppe Lomurno
70d1505c5c Change PreorderReasoning arguments to 0 2021-02-14 15:12:17 +00:00
André Videla
0705ba55c5 Refactor getFirstMatch function from tokeniser 2021-02-14 00:02:36 +00:00
Denis Buzdalov
4f28b92a19 Zero quantities were added to some interface usages. 2021-02-12 20:51:13 +00:00
Andy Lok
bb1edab3aa Show more codes in error report 2021-02-12 18:37:12 +00:00
Andy Lok
5cd7642991 Small improve
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
2021-02-12 14:01:12 +08:00
Andy Lok
4cd8cb5e75 Remove unused util 2021-02-12 13:20:07 +08:00
Andy Lok
99687976f4 Improve parse error report
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
2021-02-12 01:16:40 +08:00
Michael Messer
4baacc322b Generalize Category 2021-02-11 09:38:26 +00:00
G. Allais
399a2adb15
[ fix #1043 ] throw error if compileExpr failed (#1052)
Also adding a CI target testing the gambit backend.
2021-02-10 21:10:27 +00:00
russoul
b8aaaf3275 Add named instances for functor & applicative composition 2021-02-10 18:00:14 +00:00
Andy Lok
232c686e25 Improve doc 2021-02-10 23:52:00 +08:00
Andy Lok
b04ebe8cf1 Let lexer recognise grouping
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
2021-02-10 23:33:25 +08:00
G. Allais
8ba3d8572b
[ new ] Data.OpenUnion (#1050) 2021-02-10 15:25:35 +00:00
Z-snails
4eac2dd0b9
[ new ] support record projections in refc backend (#1054) 2021-02-10 14:46:41 +00:00
Andy Lok
b0dadebb22 Merge branch 'master' of https://github.com/idris-lang/Idris2 into lexer 2021-02-10 19:44:05 +08:00
Andy Lok
bec2e303ae Flattern Tokenizer
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
2021-02-10 19:43:09 +08:00
Stefan Hoeck
f721281bdc
[ re #1043 ] Fix typo in support.scm (#1047) 2021-02-10 01:00:42 +00:00
Guillaume ALLAIS
5aa4262792 [ fix ] some of the docs 2021-02-10 00:37:06 +00:00
Ohad Kammar
aa72203fc8
Preliminary datatypes for telescopes (#703)
Co-authored-by: Ohad Kammar <ohad.kammar@ed.ac.uk>
Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
2021-02-09 14:18:41 +00:00
Denis Buzdalov
123fbb7f33 weakenN's n parameter was made to have zero quantity. 2021-02-09 14:15:59 +00:00
Ohad Kammar
891b2d667a
[ fix ] All the REPL commands should be in CommandTable (#1036)
Co-authored-by: Ohad Kammar <ohad.kammar@ed.ac.uk>
2021-02-08 17:25:49 +00:00
stefan-hoeck
f50b22548f tests for bitops 2021-02-08 15:47:23 +00:00
stefan-hoeck
116672e447 fix 1039 2021-02-08 15:47:23 +00:00
stefan-hoeck
1104776430 fix 1037 2021-02-08 15:47:23 +00:00
stefan-hoeck
8102e9e495 add Data.Int.Order to contrib.ipkg 2021-02-07 11:49:35 +00:00
SmiVan
952e20cc57 IOArray.fromList moved to HasIO 2021-02-06 20:37:15 +00:00
Andy Lok
88ad6c2f73 Don't use too many let 2 2021-02-07 01:42:20 +08:00
Andy Lok
fdb0d97039 Don't use too may let
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
2021-02-07 01:30:05 +08:00
Andy Lok
9b1349525e Refactor source lexer
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
2021-02-07 00:51:58 +08:00
Andy Lok
366c426942 remove reject 2021-02-06 17:11:39 +08:00
Wen Kokke
bd683938bf
Overhaul of concurrency primitives (#968)
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-02-05 16:16:20 +00:00
GustavoMF31
7f495999bd
Make :typeat a useful command (#998)
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-02-05 16:15:40 +00:00
Andy Lok
898fb4edd4 Improve stop reason position
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
2021-02-05 18:13:45 +08:00
Andy Lok
404fe5fd19 lexer: add a language-composable tokenizer 2021-02-05 17:21:21 +08:00
russoul
9ff5c14aaa [ ci ] Fix API testing 2021-02-04 20:12:15 +00:00
Denis Buzdalov
052e3f0908 A tiny doc fix: heading line was not long enough. 2021-02-04 16:48:19 +00:00
G. Allais
365e9a559c
[ test ] check IDRIS2 exists & is executable (#1021) 2021-02-04 16:10:57 +00:00
Stiopa Koltsov
e6447e7515 Check docs in CI 2021-02-04 14:59:14 +00:00
Stiopa Koltsov
cffade6bf8 Run super-linter in all branches
Use the same trigger as in the rest of jobs.

Before submitting a PR, commit is pushed to a private branch where
the jobs are executed. Super-linter should be executed in these
jobs as well to get signal about linting issue before submitting a
PR, to reduce noise to PR reviewers.
2021-02-04 14:52:49 +00:00
Guillaume ALLAIS
5720d1c691 [ fix #1023 ] Hexadecimal literals can be pretty big 2021-02-04 13:22:55 +00:00
G. Allais
d709082fc7
[ fix #835 ] Keep names of implicit variables in with clauses (#1017) 2021-02-03 16:16:11 +00:00
Stiopa Koltsov
64af41c298 editorconfig: trailing whitespaces in expected
Do not trim trailing whitespaces in `expected` files.

Some on them have trailing whitespaces: `rg ' $' -g expected`
reports 26 files.
2021-02-03 12:22:56 +00:00
André Videla
ab9d1e68ce
Merge pull request #999 from andylokandy/rawstring
Add support for raw strings
2021-02-03 01:02:45 +00:00
G. Allais
d9e0841245
[ contrib ] support for C backend (#1015) 2021-02-02 15:31:30 +00:00
vfrinken
d04b28b62d
Update stringOps.c (#848)
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-02-02 14:01:19 +00:00
Andy Lok
4ceccaf00c Support raw string
Add wrap on file end

use rust-style raw string syntax

use swift style syntax raw string

Update src/Parser/Support.idr

Co-authored-by: André Videla <andre.videla@gmail.com>

Escape line wrap

Resolve conflict
2021-02-02 19:37:53 +08:00
Denis Buzdalov
d076bcd649 Double closing brace was made to not be treated specially. 2021-02-02 11:27:34 +00:00