Commit graph

69 commits

Author SHA1 Message Date
Shunsuke Shibayama
b3a7a6a4de doc: change example code 2024-09-20 21:15:40 +09:00
Shunsuke Shibayama
4651a383ae feat: add Dimension and unit module 2024-09-20 18:26:29 +09:00
Shunsuke Shibayama
54bd111a5f build: add bump_version.er 2024-03-24 00:55:01 +09:00
Shunsuke Shibayama
0e1c0a9a13 feat: add Exception classes 2024-03-11 20:35:11 +09:00
Shunsuke Shibayama
027009680a Update semver.er 2024-02-10 13:00:44 +09:00
Shunsuke Shibayama
fce88717b0 feat!: change constructor syntax: C::__new__() -> C() 2024-02-08 02:42:49 +09:00
Shunsuke Shibayama
20a94b806a fix: assert de-optimization bug 2024-01-21 13:10:47 +09:00
Shunsuke Shibayama
74f3bad52e Update exception.er 2024-01-06 00:06:12 +09:00
Shunsuke Shibayama
951c85a344 feat: add exception module 2024-01-04 21:41:24 +09:00
Shunsuke Shibayama
6de8355a25 refactor: std -> core 2024-01-04 17:26:26 +09:00
Shunsuke Shibayama
767d51d48b feat: function downcasting
FIXME: This downcast is unsound, function inputs, output should be checked at runtime
2023-12-31 09:03:40 +09:00
Shunsuke Shibayama
4e3b3e3d21 fix: runtime type checking bug 2023-12-30 10:50:33 +09:00
Shunsuke Shibayama
80872fc50e fix: keyword argument bugs 2023-12-29 17:00:11 +09:00
Shunsuke Shibayama
21283b668e feat: add \x string literal 2023-12-29 13:44:34 +09:00
Shunsuke Shibayama
905a03d578 fix: external type specification bug 2023-12-13 23:33:06 +09:00
Shunsuke Shibayama
ebf803dab0 feat: add Float.nearly_eq 2023-11-07 02:30:08 +09:00
Shunsuke Shibayama
678c02faf9 feat: support refinement class 2023-10-31 02:23:50 +09:00
Shunsuke Shibayama
356fa8bba1 fix: and/or short circuiting 2023-10-25 21:15:20 +09:00
Shunsuke Shibayama
01ffde469a feat: Dict.as_record 2023-10-25 19:46:32 +09:00
Shunsuke Shibayama
33f6bac20d chore: trait forward reference 2023-10-19 00:55:18 +09:00
Shunsuke Shibayama
0c6c5e363f Update semver.er 2023-10-16 14:01:09 +09:00
Shunsuke Shibayama
55f24ae5a6 Update semver.er 2023-10-16 11:40:02 +09:00
Shunsuke Shibayama
08770e84fc feat: add unsound module 2023-10-15 11:51:27 +09:00
Shunsuke Shibayama
0a24c0cb77 fix: dict update! bug 2023-10-14 21:38:12 +09:00
Shunsuke Shibayama
13a346e488 feat: add Dict.concat/diff, Dict!.merge!/remove! 2023-10-05 00:57:08 +09:00
Shunsuke Shibayama
f1d71e0dab feat: add [x; _] literal 2023-10-02 20:49:21 +09:00
Shunsuke Shibayama
828441f9f9 Update _erg_type.py 2023-10-02 15:49:17 +09:00
Shunsuke Shibayama
f561eebc2f chore: improve pattern match 2023-09-27 11:59:20 +09:00
Shunsuke Shibayama
25d143b04a fix!(parser): handling of line breaks in enclosures 2023-09-23 23:50:28 +09:00
Shunsuke Shibayama
57d3a23aed feat: impl Hash for Array 2023-09-18 19:44:37 +09:00
Shunsuke Shibayama
aacdca31b8 fix: Python 3.7~3.8 bugs 2023-09-13 11:09:30 +09:00
Shunsuke Shibayama
75c1ac733c fix: Python 3.9 bugs 2023-09-13 03:00:03 +09:00
Shunsuke Shibayama
f157673c59 fix: dynamic container type check 2023-09-13 00:37:36 +09:00
Shunsuke Shibayama
d8835fd169 fix: eliminate unwraps 2023-09-03 03:36:17 +09:00
Shunsuke Shibayama
74bca70017 feat: add Array.update_nth! 2023-08-28 15:33:58 +09:00
Shunsuke Shibayama
6ce41ef8bd fix: record type subtyping 2023-08-19 23:30:34 +09:00
Shunsuke Shibayama
95595ef67c fix: array type checking bug 2023-08-19 22:04:06 +09:00
Shunsuke Shibayama
5affa5065f fix: dynamic type checking bugs 2023-08-19 16:34:07 +09:00
Shunsuke Shibayama
fa2a59ae83 feat: support json backend 2023-08-18 22:19:19 +09:00
Shunsuke Shibayama
2e9fb48f2e fix: in operator
* remove `In` trait, `__in__`, `__notin__` function
* desugar to `__contains__`
* impl Collection for Array, Set, Tuple
2023-08-13 01:01:06 +09:00
Shunsuke Shibayama
91d0ac3545 feat: add Array.get 2023-08-09 23:51:52 +09:00
Shunsuke Shibayama
0152e368ab feat: support Array, Str, Bytes slice 2023-07-15 12:29:07 +09:00
Shunsuke Shibayama
b13a09f1c4 doc: update compiler/phases/10_codegen.md & add runtime.md 2023-05-04 12:30:40 +09:00
Shunsuke Shibayama
7d7849b493 fix: unintended behavior for collections 2023-04-19 18:49:27 +09:00
Shunsuke Shibayama
1c6a6b2ec8 feat: add real assert function 2023-04-19 13:23:25 +09:00
Shunsuke Shibayama
d4c566477f fix: symbol mangling 2023-04-19 12:21:55 +09:00
Shunsuke Shibayama
fd21c1c633 fix: #357 2023-04-17 13:37:27 +09:00
Shunsuke Shibayama
62b06022cb fix: visibility bug 2023-04-15 13:27:40 +09:00
Shunsuke Shibayama
fc85265d9f fix: union types bug & multi-pattern def bug 2023-04-10 22:26:46 +09:00
Shunsuke Shibayama
7c9970f140 fix: smallest type selection 2023-04-01 08:58:30 +09:00