Commit graph

1308 commits

Author SHA1 Message Date
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
fe1fd686d8
Merge pull request #203 from GreasySlug/fix/floordiv
[WIP] Implement floordiv operator
2022-10-12 11:01:36 +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
Cai Bingjun
1b8356f23a
Update troubleshooting.md 2022-10-11 21:18:42 +08:00
Cai Bingjun
ff715f23c0
Update troubleshooting.md 2022-10-11 21:17:28 +08: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
c7aa6bd904 Update troubleshooting.md 2022-10-11 11:33:18 +09:00
Shunsuke Shibayama
b57b464057 Update troubleshooting.md 2022-10-11 11:31:51 +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
81726a0142 Update README.md 2022-10-10 12:49:34 +09:00
Shunsuke Shibayama
1a66848fd6 Update README.md 2022-10-10 12:48:03 +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
Shunsuke Shibayama
6961a3d9a6
Merge pull request #202 from GreasySlug/main
Fix to crash with invalid decimal literal in exponent literal
2022-10-10 11:16:31 +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
e09f7cfdb2
Merge pull request #201 from erg-lang/array-with-len
Implement `Array/SetWithLength`
2022-10-10 00:06:56 +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
Cai Bingjun
a8f7377f8b
Merge pull request #200 from C-BJ/main
Translate untranslated zh_CN and zh_TW documents and add translation synchronization tag to one JA markdown file
2022-10-09 20:17:31 +08:00
Cai Bingjun
6d888b72da
Create troubleshooting.md 2022-10-09 20:14:35 +08:00
Cai Bingjun
bf07ae21b9
Create troubleshooting.md 2022-10-09 20:12:59 +08:00
Cai Bingjun
a94c9d9c07
Add translation synchronization tag 2022-10-09 20:12:44 +08: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
e033e4942e Add troubleshooting.md 2022-10-09 18:21:13 +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
9f8d9240cc
Merge pull request #199 from erg-lang/assert-casting
Implement assert casting
2022-10-09 18:10:16 +09:00
Shunsuke Shibayama
3fa3a7e31c WIP 2022-10-09 18:08:13 +09:00