Commit graph

98 commits

Author SHA1 Message Date
Shunsuke Shibayama
0ebb0ce94c Add LimitedDisplay 2022-08-24 18:51:12 +09:00
Shunsuke Shibayama
7633618e76 WIP 2022-08-24 17:23:48 +09:00
Shunsuke Shibayama
00db622f2b Improve error message indication for op calls 2022-08-23 22:48:06 +09:00
Shunsuke Shibayama
411c55467f Add some builtin APIs
`Mutable` trait
`In` trait
`Immutizable` trait
`Mutizable` trait
`__in__` operator
2022-08-23 18:01:51 +09:00
Shunsuke Shibayama
d615274bfb Fix checker bugs 2022-08-23 18:00:21 +09:00
Shunsuke Shibayama
45945ae9b4 WIP: type checking for records 2022-08-23 14:48:56 +09:00
Shunsuke Shibayama
ce5f551bc7 Update codegen.rs 2022-08-23 08:43:32 +09:00
Shunsuke Shibayama
8dcc44b9cb Fix private variables to be completely inaccessible 2022-08-23 08:38:39 +09:00
Shunsuke Shibayama
1532496a32 Update JA/compiler docs 2022-08-23 08:24:15 +09:00
Shunsuke Shibayama
870357fd49 Update version (v0.2.8) 2022-08-23 00:39:49 +09:00
Shunsuke Shibayama
5d6fa241e8 Add compile mode 2022-08-23 00:27:05 +09:00
Shunsuke Shibayama
909787683a Enhance help messages 2022-08-23 00:06:01 +09:00
Shunsuke Shibayama
5af5f186bb Update version (v0.2.7) 2022-08-22 23:52:31 +09:00
Shunsuke Shibayama
88ac00dcaa Implement unimplemented features related to visibility 2022-08-22 23:48:40 +09:00
Shunsuke Shibayama
a37cf90f38 Update codegen.rs 2022-08-22 23:17:08 +09:00
Shunsuke Shibayama
20aaf6a53e Impl: variable visibility 2022-08-22 23:15:07 +09:00
Shunsuke Shibayama
a6f9e89ffc Parser: impl Record 2022-08-22 17:21:43 +09:00
Shunsuke Shibayama
3ae3fd997b WIP: Impl TyParamIdx 2022-08-22 13:41:59 +09:00
Shunsuke Shibayama
b01f95a6d8 WIP: support doc test 2022-08-22 12:47:51 +09:00
Shunsuke Shibayama
93561f56b1 Add test code for Context 2022-08-22 12:30:58 +09:00
Shunsuke Shibayama
b86f7ea5f5 WIP: Context::instantiate_trait 2022-08-22 12:11:59 +09:00
Shunsuke Shibayama
23ada0e6e4 Fix Context::deref_tyvar 2022-08-22 03:11:18 +09:00
Shunsuke Shibayama
e54b627507 Fix type-checker bugs 2022-08-22 02:57:52 +09:00
Shunsuke Shibayama
b0273a1bca Update context.rs 2022-08-21 17:42:56 +09:00
Shunsuke Shibayama
0325621f20 Update ast.rs 2022-08-21 11:14:05 +09:00
Cai Bingjun
af6f047ce8
Update datetime.rs 2022-08-20 13:44:46 +08:00
Shunsuke Shibayama
17c175ea59 Update parse.rs 2022-08-20 09:47:21 +09:00
Shunsuke Shibayama
14c77e604d Add type_sort() 2022-08-20 09:47:15 +09:00
Shunsuke Shibayama
d7be8128ad Update parse.rs 2022-08-20 09:25:53 +09:00
Shunsuke Shibayama
919bed1d9b Add mutable types 2022-08-20 09:25:21 +09:00
Shunsuke Shibayama
eb23d9f532 Update parse.rs 2022-08-20 09:24:54 +09:00
Shunsuke Shibayama
91118d87a6 Update ownercheck.rs 2022-08-20 07:41:06 +09:00
Shunsuke Shibayama
4ba1f4f59a Remove ConstObj (merge into ValueObj) 2022-08-20 07:38:33 +09:00
Shunsuke Shibayama
40d4b6da1d Update Parser: support for length-specified arrays 2022-08-19 19:35:02 +09:00
Shunsuke Shibayama
27379b1e95 Refactor context.rs 2022-08-19 16:37:34 +09:00
Shunsuke Shibayama
80a311f635 Update parse.rs 2022-08-19 14:38:40 +09:00
Shunsuke Shibayama
9d60fe14f2 Update README.md 2022-08-19 13:12:15 +09:00
Shunsuke Shibayama
190c9ba59f Fix error reporting links 2022-08-19 12:44:37 +09:00
Shunsuke Shibayama
580ccddfe5 Merge branch 'main' of https://github.com/erg-lang/erg 2022-08-19 12:32:51 +09:00
Shunsuke Shibayama
cafc941b10 Improve Parser debugging display 2022-08-19 12:32:40 +09:00
Cai Bingjun
14c6d72f65 Merge branch 'main' of https://github.com/C-BJ/erg 2022-08-19 11:05:27 +08:00
Cai Bingjun
6f3fa64f90 Add error message translation for zh-CN and zh-TW 2022-08-19 11:02:41 +08:00
Shunsuke Shibayama
e36746f964 Fix Array type inference 2022-08-19 10:43:57 +09:00
Shunsuke Shibayama
2a68c89140 Move files 2022-08-19 08:52:10 +09:00
Shunsuke Shibayama
34fc074061 Update version (v0.2.6) 2022-08-19 02:51:29 +09:00
Shunsuke Shibayama
5fb55401e6 Fix match type inference bugs 2022-08-19 02:51:14 +09:00
Shunsuke Shibayama
791107cdd3 Fixed a type inference bugs
Pass source code line numbers instead of error numbers as a temporary hack
2022-08-19 01:33:05 +09:00
Shunsuke Shibayama
1078345a98 Fix to exit correctly when quit() or something is called 2022-08-18 20:27:28 +09:00
Shunsuke Shibayama
3314825fc1 Partial fix #57 2022-08-18 18:40:30 +09:00
Shunsuke Shibayama
53f665355b Fix #56 2022-08-18 18:07:33 +09:00