Commit graph

23 commits

Author SHA1 Message Date
Shunsuke Shibayama
11e89576e1 Merge remote-tracking branch 'github-desktop-GreasySlug/feature-parse-tuple' 2022-08-29 12:22:28 +09:00
Shunsuke Shibayama
2f225c4630 Impl Tuple parsing 2022-08-29 12:14:26 +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
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
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
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
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
GreasySlug
e3135778d5 Updated to remove field
With this, try_reduce_tuple were changed from self.lpop() to self.skip()
2022-08-21 16:56:44 +09:00
Slug
1902ad5a15
Merge branch 'erg-lang:main' into feature-parse-tuple 2022-08-21 16:55:38 +09:00
Shunsuke Shibayama
0325621f20 Update ast.rs 2022-08-21 11:14:05 +09:00
GreasySlug
10a7c49b07 Added and implemented normal tuple 2022-08-20 10:10:34 +09:00
Shunsuke Shibayama
40d4b6da1d Update Parser: support for length-specified arrays 2022-08-19 19:35:02 +09:00
Shunsuke Shibayama
e36746f964 Fix Array type inference 2022-08-19 10:43:57 +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
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
30f6e98715 Fix polymorphic type infering bugs
Delete: DefaultParamSignarure
Add: some convinient APIs (py, p!)

Inferences can now be made that take into account the variance of polymorphic types
2022-08-14 00:45:55 +09:00
Shunsuke Shibayama
6726d93f65 Do cargo fmt 2022-08-13 07:02:07 +09:00
Shunsuke Shibayama
f9d91aa38e Organize crates 2022-08-13 06:38:12 +09:00
Renamed from src/erg_compiler/erg_parser/ast.rs (Browse further)