Commit graph

60 commits

Author SHA1 Message Date
Shunsuke Shibayama
da7ff0a258 fix(compiler): issue with warns about other files 2023-02-13 12:26:15 +09:00
Shunsuke Shibayama
5d68d50dda feat(els): add case-change action 2023-02-11 14:20:15 +09:00
Shunsuke Shibayama
ea4253279e
Merge pull request #391 from erg-lang/feature-els-file-cache
Add `FileCache`
2023-02-09 00:16:37 +09:00
Shunsuke Shibayama
988dfd9b93 feat(els): add doc for completion item 2023-02-08 23:35:23 +09:00
Shunsuke Shibayama
72b4425191
Merge pull request #362 from C-BJ/improve-repl
feat(REPL): improve interactive experience
2023-02-08 11:16:36 +09:00
GreasrySlug
26eaa7b223 refactor: add TODO and include condition 2023-02-08 10:49:25 +09:00
Shunsuke Shibayama
4571ced013 feat(els): implement file cache
This change increases the efficiency of file IO and improves the accuracy of completions.
2023-02-08 04:04:20 +09:00
GreasrySlug
7a8fc44f29 fix(REPL): add assign block and inherit case 2023-02-06 16:42:53 +09:00
GreasrySlug
a498b906c4 fix(REPL): add the code 2023-02-06 15:12:16 +09:00
Shunsuke Shibayama
d8f4d14abd feat(parser): add type_spec_to_expr 2023-02-06 12:04:15 +09:00
GreasrySlug
ded77b7111 chore: correction of mistake 2023-02-06 11:07:38 +09:00
GreasrySlug
d054750bf7 feat(REPL): add expect block of @ and classDef
Class definition is now evaluated as chunk
definition that come after the @ is error
Flattened pattern match of BlockKind
2023-02-06 10:59:05 +09:00
GreasrySlug
39af336338 fix: use write_all instead of println! 2023-02-06 10:59:05 +09:00
Shunsuke Shibayama
a2a55b0645 refactor: rem impl_stream_for_wrapper and merge into impl_stream 2023-02-06 04:11:25 +09:00
GreasrySlug
ba4ef3941a fix(REPL): indent depth 1 when multi line string 2023-02-05 12:51:13 +09:00
Cai BingJun
22ed2f65bb fix(repl):blocks input of characters than 1 byte 2023-02-05 10:47:45 +08:00
GreasySlug
beed07ec35 refactor: duplicate codes are put together 2023-02-04 22:07:12 +09:00
GreasySlug
dca7830e25 fix: add unsuccess test 2023-02-04 13:44:05 +09:00
Cai BingJun
126280ade5 clippy --all --fix and fmt 2023-02-04 10:43:51 +08:00
Cai BingJun
f02d03a054 fix bugs 2023-02-04 10:40:15 +08:00
GreasrySlug
79b116202d fix: place at-sign in expect_block 2023-02-03 21:14:48 +09:00
Shunsuke Shibayama
61276bd80f fmt 2023-02-03 19:11:31 +09:00
Cai BingJun
4b03dcd280 finish paste function 2023-02-03 17:22:19 +08:00
Cai BingJun
82be7cf5c2 fix bug 2023-02-03 16:45:21 +08:00
Cai BingJun
64e4587295 add paste function 2023-02-03 16:41:20 +08:00
Cai BingJun
b33365ed8e add paste function 2023-02-03 15:35:47 +08:00
Cai BingJun
b31d10d094 Merge branch 'improve-repl' of https://github.com/C-BJ/erg into improve-repl 2023-02-03 15:21:14 +08:00
Cai BingJun
9360c11dd1 add the paste function for Linux 2023-02-03 15:21:11 +08:00
Cai Bingjun
fa476b93a4
Merge branch 'main' into improve-repl 2023-02-03 14:04:21 +08:00
Cai BingJun
3df666e064 fix bug on windows 2023-02-03 10:40:32 +08:00
Shunsuke Shibayama
fb4b864176 Fix invalid set_extension uses 2023-02-03 11:00:34 +09:00
GreasrySlug
35602e655e fix: show last error 2023-02-02 17:12:43 +09:00
Cai Bingjun
556ce8e6aa
Merge branch 'main' into improve-repl 2023-02-02 15:07:52 +08:00
GreasrySlug
281ca62be5 update: feature flag 2023-02-02 14:38:09 +09:00
GreasrySlug
abff062d90 fix: output position to col 0 2023-02-02 13:56:52 +09:00
Cai BingJun
858203ae8d Set optional dependencies 2023-02-02 11:43:39 +08:00
Shunsuke Shibayama
4184c5d1f2 Impl Ord for Location 2023-02-01 13:36:19 +09:00
Cai Bingjun
2b25c8e49a
Merge branch 'main' into improve-repl 2023-01-31 18:39:34 +08:00
GreasrySlug
3e676d1bd5 update: improve visibility on pretty 2023-01-31 10:18:57 +09:00
GreasrySlug
3a49cb6465 fix: Add display inputs when dummy REPL running 2023-01-31 09:48:06 +09:00
GreasrySlug
a51031df45 test: clean the code and add unsuccess test 2023-01-31 09:47:01 +09:00
GreasrySlug
7d88cb9541 add: vm struct for auto indent
Indents are important, so force them to be
For this purpose, added the struct to classify
and handle block kind
2023-01-31 09:35:17 +09:00
GreasrySlug
6dd71f12e9 add: paste function using each OS command 2023-01-31 09:29:49 +09:00
GreasrySlug
49ca99f572 fix: #26
Arrow keys could not be used on Linux
so, add REPL input handling by `crossterm`
Improvement of detailed usability
- possible to use arrow keys on Linux
- Cursor shape change block to line
- Ctrl+c is disable
- Ctrl+z is the exit key command
2023-01-31 09:12:33 +09:00
Shunsuke Shibayama
e246fad74d Fix #370 2023-01-28 12:54:42 +09:00
Shunsuke Shibayama
44781cb030 Fix warns 2023-01-27 11:23:42 +09:00
GreasrySlug
97cde41592 update: use debug colors 2023-01-26 14:46:44 +09:00
GreasrySlug
db12bb1e2d update: colors mod and feature 2023-01-26 14:45:15 +09:00
Shunsuke Shibayama
b76d63f9a5 fix socket connection problems 2023-01-25 01:19:45 +09:00
Shunsuke Shibayama
fa5bb4f615 fix #321
Add `ExitStatus`
Fix REPL tests
2023-01-25 00:11:48 +09:00