Shunsuke Shibayama
|
5029d71cbe
|
Impl: auto generating of new
|
2022-09-07 14:48:02 +09:00 |
|
Shunsuke Shibayama
|
1ae7633501
|
Merge branch 'main' into class
|
2022-09-06 21:55:53 +09:00 |
|
Shunsuke Shibayama
|
36aa226d10
|
Impl Linker
|
2022-09-06 14:43:01 +09:00 |
|
Shunsuke Shibayama
|
e860da2a15
|
WIP: impl type checker
|
2022-09-05 01:13:14 +09:00 |
|
Cai Bingjun
|
51de3c9d5a
|
Set Erg's markdown snippet highlighting to Python
|
2022-09-04 12:01:06 +08:00 |
|
Shunsuke Shibayama
|
18116f14ed
|
Impl DataPackVattern desugaring
|
2022-09-03 22:23:25 +09:00 |
|
Shunsuke Shibayama
|
263c43d74b
|
WIP: Impl DataPack type checking
|
2022-09-03 20:58:28 +09:00 |
|
Shunsuke Shibayama
|
094eb499fb
|
Fix refinement inference bugs
|
2022-09-03 15:52:55 +09:00 |
|
Shunsuke Shibayama
|
e1eebb252f
|
Fix constant evaluation methods to return EvalResult
|
2022-09-03 11:59:18 +09:00 |
|
Shunsuke Shibayama
|
f0d686cd7b
|
Change ref and ref! to unary operators
|
2022-09-02 22:49:34 +09:00 |
|
Shunsuke Shibayama
|
ce94f81066
|
WIP: Add DataPack
|
2022-09-02 19:37:54 +09:00 |
|
Shunsuke Shibayama
|
d2ed277685
|
Impl ShortenedRecord desugaring
|
2022-09-02 14:40:01 +09:00 |
|
Shunsuke Shibayama
|
fc5ad07660
|
Update parser
|
2022-09-02 11:45:47 +09:00 |
|
Shunsuke Shibayama
|
0844fb2f7a
|
Change Parser 's parsing algorithm
The LHS value is first parsed as the RHS value, and when `=` or `->` comes in, it is converted as the LHS value.
|
2022-09-02 01:19:43 +09:00 |
|
Shunsuke Shibayama
|
d790063ec2
|
Improve: LHS are parsed once as RHS, then conv to LHS
|
2022-09-01 16:46:10 +09:00 |
|
Shunsuke Shibayama
|
af08945798
|
Split initialize.rs
|
2022-08-31 11:53:32 +09:00 |
|
Shunsuke Shibayama
|
de7832bf33
|
Implement variable-length/keyword arguments
|
2022-08-30 20:31:56 +09:00 |
|
Shunsuke Shibayama
|
eff1d0fd14
|
Fix AST formatting
|
2022-08-30 05:33:12 +09:00 |
|
Shunsuke Shibayama
|
99ffee35b2
|
Implement access to array/tuple elements
|
2022-08-29 21:59:17 +09:00 |
|
Shunsuke Shibayama
|
44530d5f52
|
Fix: parse nested tuples and tuples >= 3 elements
|
2022-08-29 14:13:45 +09:00 |
|
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 |
|