Commit graph

796 commits

Author SHA1 Message Date
Shunsuke Shibayama
313862d82c Add glob, re 2022-10-12 21:10:00 +09:00
Shunsuke Shibayama
08e501f103 Fix sub_unify with class&trait 2022-10-12 18:32:24 +09:00
Shunsuke Shibayama
57da071ba8 Fixed a bug with nested dict 2022-10-12 18:00:25 +09:00
Shunsuke Shibayama
92bbf30d5f Update parse.rs 2022-10-12 17:30:38 +09:00
Shunsuke Shibayama
ac841216e3 Stricter type checking for Array access 2022-10-12 16:42:40 +09:00
Shunsuke Shibayama
378dc1e6fc Delete ArrayType, etc. 2022-10-12 16:14:06 +09:00
Shunsuke Shibayama
e647c9545f Merge branch 'main' into dict 2022-10-12 13:20:05 +09:00
Shunsuke Shibayama
b6753b1d66 Impl FloorDiv for Int, Nat 2022-10-12 10:59:45 +09:00
Shunsuke Shibayama
f07878af48 Update inquire.rs 2022-10-12 10:41:54 +09:00
GreasySlug
81e88b4809 Clean: I fixed the order from Div to FloorDiv 2022-10-12 07:59:26 +09:00
GreasySlug
e453649898 Add: BINARY_FLOOR_DIVIDE 2022-10-12 07:47:41 +09:00
Shunsuke Shibayama
fcb13f5239 Add FloorDiv trait definition 2022-10-12 02:41:43 +09:00
Shunsuke Shibayama
6c4e1dca35 Downgrade erg_type from crate to module
This is to allow `ConstSubr` to have a `Context`
2022-10-12 02:28:25 +09:00
Shunsuke Shibayama
9c3acc8e19 Implement ProjMethod 2022-10-11 16:08:49 +09:00
GreasySlug
d9d78c5ec3 Fix: use filter_map instead of map() and unwrap() 2022-10-11 15:06:15 +09:00
GreasySlug
33a33d7577 Add: builtin floordiv for float and ratio 2022-10-11 15:06:15 +09:00
GreasySlug
44acfbb7a5 Add: try_floordiv 2022-10-11 15:06:15 +09:00
GreasySlug
ea61870a33 Add: register floordiv 2022-10-11 15:06:15 +09:00
GreasySlug
900a5bb38e Add: floordiv 2022-10-11 15:06:15 +09:00
Shunsuke Shibayama
9fd98001fe Update desugar.rs 2022-10-10 21:47:44 +09:00
Cai Bingjun
a8059cd4b1
Update lex.rs 2022-10-10 19:45:45 +08:00
Shunsuke Shibayama
decb0fd077 Implement Dict 2022-10-10 19:29:11 +09:00
Shunsuke Shibayama
56779ab06e WIP 2022-10-10 18:39:17 +09:00
Shunsuke Shibayama
c784ba261e Merge branch 'main' into dict 2022-10-10 13:57:08 +09:00
Shunsuke Shibayama
ff1ead75ff Implement Range 2022-10-10 13:51:07 +09:00
Shunsuke Shibayama
c5a3886d65 Merge branch 'main' of https://github.com/erg-lang/erg 2022-10-10 11:51:47 +09:00
Shunsuke Shibayama
627f64e081 Fix: handling of literal parsing failures 2022-10-10 11:51:26 +09:00
GreasySlug
db3adec34d Fix: crash with invalid decimal literal in expo 2022-10-10 10:54:57 +09:00
Shunsuke Shibayama
e0f0f0ee9e Update lib.rs 2022-10-10 00:24:59 +09:00
Shunsuke Shibayama
701c1f2e40 Update _erg_std_prelude.py 2022-10-10 00:18:04 +09:00
Shunsuke Shibayama
e02def52ab Implement Array/SetWithLength 2022-10-10 00:05:55 +09:00
Shunsuke Shibayama
87bfe836ec Fix: recognize [Nat; 3] and others as types. 2022-10-09 23:40:37 +09:00
Shunsuke Shibayama
ea4c4d87b4 Update mod.rs 2022-10-09 21:47:56 +09:00
Shunsuke Shibayama
5c0b149d0a Update mod.rs 2022-10-09 21:40:18 +09:00
Shunsuke Shibayama
aa7ae368dc Fix assert casting 2022-10-09 20:29:30 +09:00
Shunsuke Shibayama
f94ab31256 Update documentation option 2022-10-09 20:07:36 +09:00
Shunsuke Shibayama
cb2e04600f Update version (nightly) 2022-10-09 20:03:39 +09:00
Shunsuke Shibayama
22167c8aa1 Update register.rs 2022-10-09 20:02:30 +09:00
Shunsuke Shibayama
f942a63066
Merge pull request #198 from GreasySlug/feature/update-lex
Tokenize the `<-`
2022-10-09 18:14:07 +09:00
Shunsuke Shibayama
befe2cf835 WIP 2022-10-09 18:07:52 +09:00
Shunsuke Shibayama
b997c685dd Add std 2022-10-09 17:56:17 +09:00
GreasySlug
e7c2d7bf27 Update: tokenize for <- 2022-10-09 11:50:41 +09:00
Shunsuke Shibayama
5d99aba66b
Merge pull request #197 from GreasySlug/main
Several useful features added
2022-10-09 11:17:43 +09:00
Shunsuke Shibayama
36402a417e Update fizzbuzz.er 2022-10-09 11:13:13 +09:00
Shunsuke Shibayama
e74c9fa707 Fix an inferring bug 2022-10-09 10:41:03 +09:00
GreasySlug
81435d2fcf Update: use package table 2022-10-09 09:45:13 +09:00
Shunsuke Shibayama
0ac63d8362 Merge branch 'main' into assert-casting 2022-10-09 09:37:45 +09:00
Shunsuke Shibayama
5b0f24b46d Update help message 2022-10-09 01:07:14 +09:00
Shunsuke Shibayama
1cafedef81 Update version (v0.5.8) 2022-10-09 00:50:06 +09:00
Shunsuke Shibayama
c1c1cab134 Fix #196 2022-10-09 00:47:59 +09:00