Commit graph

54 commits

Author SHA1 Message Date
Shunsuke Shibayama
bff720ab9d Update parse.rs 2022-08-28 11:39:04 +09:00
Shunsuke Shibayama
f847029e16 Merge branch 'do-parse' 2022-08-28 11:33:09 +09:00
Shunsuke Shibayama
1985281e26 Impl do parsing 2022-08-28 11:32:50 +09:00
Shunsuke Shibayama
9d0eb6feb8 Update version (v0.3.1) 2022-08-28 10:37:26 +09:00
Shunsuke Shibayama
49fb4848a2 Fix minor bugs
* Fix Lambda parsing bugs
* Fix a bug that is registered as parameters instead of variables
* Fix Lambda formatting
2022-08-28 10:34:12 +09:00
Shunsuke Shibayama
8e50ed8384 Update version (v0.3.0) 2022-08-28 03:20:26 +09:00
Shunsuke Shibayama
8e73b9b6b7 Add TypeCmpCache 2022-08-26 14:37:39 +09:00
Shunsuke Shibayama
400c173f38 Move all constructors of Type to constructors 2022-08-26 12:39:35 +09:00
Shunsuke Shibayama
5b5234f477 Create erg_type crate 2022-08-26 11:52:11 +09:00
Shunsuke Shibayama
b2322c7fd7 Split ty module into several modules 2022-08-26 09:27:51 +09:00
Shunsuke Shibayama
0ebb0ce94c Add LimitedDisplay 2022-08-24 18:51:12 +09:00
Shunsuke Shibayama
45945ae9b4 WIP: type checking for records 2022-08-23 14:48:56 +09:00
Shunsuke Shibayama
870357fd49 Update version (v0.2.8) 2022-08-23 00:39:49 +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
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
0325621f20 Update ast.rs 2022-08-21 11:14:05 +09:00
Shunsuke Shibayama
17c175ea59 Update parse.rs 2022-08-20 09:47:21 +09:00
Shunsuke Shibayama
d7be8128ad Update parse.rs 2022-08-20 09:25:53 +09:00
Shunsuke Shibayama
eb23d9f532 Update parse.rs 2022-08-20 09:24:54 +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
80a311f635 Update parse.rs 2022-08-19 14:38:40 +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
34fc074061 Update version (v0.2.6) 2022-08-19 02:51:29 +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
3314825fc1 Partial fix #57 2022-08-18 18:40:30 +09:00
Shunsuke Shibayama
842fe10353 Add language target: simplified/traditional chinese
Ready for multilingualization. See /doc/EN/dev_guide/i18n_messages.md.
2022-08-18 16:31:35 +09:00
Shunsuke Shibayama
7400232b6b Format THIRD_PARTY_CREDITS.md 2022-08-18 11:46:42 +09:00
toddlerer
88fc25978f
Add support for parse tests 2022-08-18 10:53:22 +09:00
Shunsuke Shibayama
15e7f8c5ad Fix: ParserRunner::eval parsing with default cfgs 2022-08-18 02:59:55 +09:00
Shunsuke Shibayama
fb3e42c57b Update parse.rs 2022-08-18 02:49:11 +09:00
Shunsuke Shibayama
08f6c79a0e Add ParserRunner::parse_from 2022-08-18 02:44:27 +09:00
Shunsuke Shibayama
fa33a2003b Create .pre-commit-config.yml 2022-08-17 23:42:32 +09:00
Shunsuke Shibayama
974bfc0b86 Delete unnecessary deps 2022-08-17 22:52:17 +09:00
Shunsuke Shibayama
7206df97ae Update version (v0.2.5) 2022-08-17 12:38:56 +09:00
Shunsuke Shibayama
1e3819b416 Set timeout in REPL 2022-08-17 12:02:56 +09:00
Shunsuke Shibayama
4e91cb81cb
Merge branch 'main' into clippy 2022-08-17 01:26:00 +09:00
Shunsuke Shibayama
c79fcd5dbe Update version (v0.2.4)
A crash problem with file input has been fixed.
2022-08-17 00:48:19 +09:00
Shunsuke Shibayama
8028ed8431 Update version (v0.2.3)
Many type inference bugs have been fixed in this version.

Other changes:
Fix: REPL server starts for file input
Improve: Error messages now show operators as human-readable
2022-08-16 23:27:09 +09:00
Félix Saparelli
8efffbfbc0
Apply formatting 2022-08-15 17:44:15 +12:00
Félix Saparelli
7d3116f546
Apply trivial clippy fixes 2022-08-15 17:37:20 +12:00
Shunsuke Shibayama
1c3a3a7d0b Cargo fmt 2022-08-14 01:45:15 +09:00
Shunsuke Shibayama
63b003aa6e Update version (v0.2.2) 2022-08-14 00:50:24 +09:00