GreasrySlug
26eaa7b223
refactor: add TODO and include condition
2023-02-08 10:49:25 +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
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
Cai Bingjun
c22cd79a89
Merge branch 'main' into improve-repl
2023-02-05 14:07:08 +08: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
Shunsuke Shibayama
260691727a
style: cargo fmt
2023-02-04 21:24:39 +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
Shunsuke Shibayama
950a7bd13a
Update transpile.rs
2023-02-04 11:16:09 +09:00
Shunsuke Shibayama
3e664fb176
Update version (nightly)
2023-02-04 10:47:37 +09: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
Shunsuke Shibayama
c44355346e
Add some builtin types methods
2023-02-03 13:34:16 +09:00
Shunsuke Shibayama
c97b8d61ad
Improve: ELS features can be turned on and off
2023-02-03 12:35:29 +09: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
Shunsuke Shibayama
c3660e4014
Update codegen.rs
2023-02-03 02:36:17 +09:00
Shunsuke Shibayama
d5e9649172
Fix builtin types methods
2023-02-03 02:17:44 +09:00
Shunsuke Shibayama
8cdc735486
Fix builtin types methods
2023-02-03 00:23:42 +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
e44ba71aa5
Add some Str!
methods
2023-02-01 13:37:41 +09:00
Shunsuke Shibayama
4184c5d1f2
Impl Ord for Location
2023-02-01 13:36:19 +09:00
Shunsuke Shibayama
208433d337
Fix a bug
2023-02-01 10:54:23 +09:00
Shunsuke Shibayama
c7096b17f1
Merge branch 'main' into feature-var-params-fn
2023-02-01 02:05:09 +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
a0fe6d364c
add: classify the block kind
...
todo
- use Parser instead of pattern matching
2023-01-31 09:46: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