Commit graph

162 commits

Author SHA1 Message Date
Shunsuke Shibayama
a127564b31 Rename dir: compiler -> crates 2023-01-15 12:03:19 +09:00
GreasySlug
1a562e8a3b add: macro_export 2023-01-14 15:40:55 +09:00
GreasySlug
2fdd3f490a update: use macro and func when exit a method 2023-01-12 14:32:05 +09:00
GreasySlug
61326adc6a add: exit macro and func 2023-01-12 14:29:33 +09:00
Shunsuke Shibayama
f3b0c8b7bc Add a test for arguments parsing 2023-01-09 12:00:40 +09:00
GreasySlug
4455a7f053 pref: change insert(0) to push_front 2023-01-09 09:19:36 +09:00
Shunsuke Shibayama
c3b3253720 Improve parser 2023-01-09 02:24:12 +09:00
GreasySlug
95633e39d3 perf: #292 change Vec to VecDeque 2023-01-05 19:58:00 +09:00
Cai BingJun
77e47a3ae2 Chinese error message related changes 2023-01-05 09:27:00 +08:00
Shunsuke Shibayama
e7f5cefd09 Refactor 2023-01-01 02:28:11 +09:00
GreasySlug
80f3ad7bde fix: disable to declare multi var in single line 2022-12-30 10:03:31 +09:00
Shunsuke Shibayama
d393ace9a6 Enhance: Parser::validate_const_expr 2022-12-26 22:36:39 +09:00
Shunsuke Shibayama
099b4587e5 Fix broken tests 2022-12-25 12:37:41 +09:00
GreasySlug
c1b552411d remove: todo 2022-12-23 15:38:07 +09:00
GreasySlug
593aefd139 update: extract errors as methods and use them 2022-12-23 14:15:30 +09:00
GreasySlug
4f4853244b fix: missing return err caused overflow 2022-12-22 14:06:15 +09:00
Shunsuke Shibayama
f677d23294 Fix #299 2022-12-22 07:59:06 +09:00
Shunsuke Shibayama
157c0cb7a5 Add Runnable::cfg_mut 2022-12-14 09:22:50 +09:00
Shunsuke Shibayama
fe7ce9d1b3 Update parse.rs 2022-12-13 20:42:22 +09:00
Shunsuke Shibayama
4ed278e75c Fix #282 2022-12-09 19:46:59 +09:00
Shunsuke Shibayama
428a557313 Add a hint for an unnecessary spaces syntax error 2022-12-08 12:06:28 +09:00
Shunsuke Shibayama
11b9cf764b Fix an indent lexing bug 2022-12-08 11:46:26 +09:00
Shunsuke Shibayama
47132cfab1 Implement string interpolation 2022-12-05 21:24:10 +09:00
Shunsuke Shibayama
01a8b05707 Update parse.rs 2022-12-03 23:59:46 +09:00
Shunsuke Shibayama
1b1b31a245 Update parse.rs 2022-12-03 23:41:28 +09:00
Shunsuke Shibayama
9b1457b695 Fix #265 2022-12-01 23:02:06 +09:00
Shunsuke Shibayama
08a92bbbc1 Fix if codegen bugs 2022-11-30 23:58:19 +09:00
Shunsuke Shibayama
44b21e223e Update parse.rs 2022-11-30 20:41:01 +09:00
Shunsuke Shibayama
df0fba34bd Fix #205 2022-11-28 00:21:44 +09:00
Shunsuke Shibayama
8913a26c60 Update parse.rs 2022-11-26 11:05:20 +09:00
Shunsuke Shibayama
7bcc766500 Add Runnable::initialize 2022-11-23 19:43:56 +09:00
Shunsuke Shibayama
2caa6b6ec9
Merge pull request #232 from erg-lang/split-err-msg
Split error messages
2022-11-23 15:55:19 +09:00
Yuna Tomida
743b0d97e2
enable shortened/normal mixed record definition 2022-11-21 12:14:25 +09:00
GreasySlug
ff24c62de1 Merge branch 'main' of https://github.com/GreasySlug/erg into split-err-msg 2022-11-20 10:41:10 +09:00
GreasySlug
bba66f7696 Change: move THEME to ErrorCore 2022-11-17 23:25:47 +09:00
Shunsuke Shibayama
07c62de125 impl Default for Runnable structs 2022-11-17 22:05:04 +09:00
Shunsuke Shibayama
ec0899ff91 Update parse.rs 2022-11-16 19:54:04 +09:00
Shunsuke Shibayama
c0be75a6c7 Update parse.rs 2022-11-16 19:39:09 +09:00
Yuna Tomida
eb54cdd18b
fix precedence of stream operator 2022-11-16 13:01:55 +09:00
Shunsuke Shibayama
f3a5d31ec4 Add stream.er 2022-11-16 08:27:33 +09:00
Yuna Tomida
48f8ef3788
enable method chain with stream operator 2022-11-15 23:36:56 +09:00
Yuna Tomida
e229196190
add stream operator 2022-11-15 22:54:57 +09:00
Shunsuke Shibayama
a4d5b09df9 Merge branch 'main' into pr/212 2022-11-13 19:57:20 +09:00
Shunsuke Shibayama
a7c96b6971 Improve Context::union 2022-11-12 20:05:15 +09:00
GreasySlug
a16d46423f Update: use Span and const Theme in style.rs 2022-11-12 18:03:10 +09:00
Shunsuke Shibayama
14b143778f WIP: Enable to declare in class methods definitions 2022-11-07 17:37:46 +09:00
Shunsuke Shibayama
a9f65d73c1 Remove linter warnings 2022-11-05 03:17:05 +09:00
Shunsuke Shibayama
968d3b5d2c Fix trait implementation check 2022-10-28 18:03:35 +09:00
Shunsuke Shibayama
4068a5ba07 Implement parameter pattern desugaring 2022-10-23 00:56:39 +09:00
Shunsuke Shibayama
47bedf67d8 Implement type spec of projection and enum types 2022-10-22 14:01:48 +09:00