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
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
Nil Geisweiller
0a24821429
Fix documentation link in typesfuns tutorial
2021-02-02 11:04:44 +00:00
Denis Buzdalov
5beda25da6
Seemingly outdated and non-typechecking module was removed.
2021-02-01 16:10:54 +00:00
Kamil Shakirov
173edb14a6
Remove unused modules
2021-02-01 14:26:18 +00:00
GustavoMF31
2d2cd4d52c
Exclude "expected" files from linting
...
Those files are part of tests and hold what should be the output of the
compiler. If they are included in the linting, warnings will be emitted
when one of the tests in which the compiler outputs a line with trailing
whitespace is edited, which is not desirable.
2021-02-01 11:11:41 +00:00
Stefan Hoeck
39824c6295
[new] Add Colist and Colist1 to base ( #997 )
2021-02-01 10:27:07 +00:00
Stiopa Koltsov
cff7db38cb
Control.App: use new type instead of Void as marker for I/O
...
Took me some time to figure out that `Void` means `IO`.
Express that knowledge more explicitly.
2021-01-31 11:58:10 +00:00
Edwin Brady
246b27e78d
Merge pull request #1001 from Infinisil/nix-ci-fix
...
Update Nix version in CI
2021-01-30 16:44:55 +00:00
Edwin Brady
883f0291c5
Merge pull request #1002 from edwinb/localhints
...
Local hints shouldn't be accessible globally
2021-01-30 16:30:31 +00:00
Edwin Brady
f2da5b4a46
Local hints shouldn't be accessible globally
...
We can't just assume that a hint added in an empty environment is a
global hint, because a top level definition might still have no local
variables.
2021-01-30 13:30:44 +00:00
Silvan Mosberger
48b25debec
Update Nix version in CI
...
Fixes
invalid operation 96
errors
2021-01-29 22:30:44 +01:00
Michael Messer
05c9029b35
Fix REPL execExp and fix "it" ( #908 )
2021-01-27 23:14:41 +00:00
Fabián Heredia Montiel
b81b390f20
Refactor bootstrap and CI action to speedup CI
2021-01-27 20:39:42 +00:00
Denis Buzdalov
72229e3232
Important LazyList
's operations were made to be truly lazy.
2021-01-27 19:38:08 +00:00
Andy Lok
5b367da2c9
[ refactor ] Rename Data.Strings to Data.String (1/2) ( #987 )
2021-01-27 19:18:34 +00:00
Peter O'Hanley
f3642c3b59
Add missing Bits64->Int cast
...
Looks like it was just missing. The Int->Bits64 and Integer->Bits64
cases are identical, so casting back can also be identical.
2021-01-27 18:34:32 +00:00