Commit Graph

34 Commits

Author SHA1 Message Date
s-hadinger
ce92723c41
Berry update from upstream (#23159) 2025-03-17 08:27:03 +01:00
s-hadinger
e26a2cdac9
Berry prevent 'import' from hiding a solidified class (#23112) 2025-03-06 14:45:34 +01:00
s-hadinger
1ab9bee312
Berry remove reuse of methods for interface-like code reuse #21500 (#22055) 2024-08-29 22:00:20 +02:00
s-hadinger
bf7fbf2cbe
Berry internal: remove class from closure to simplify code (#21839) 2024-07-24 22:59:53 +02:00
s-hadinger
e56f6a150d
Berry add reuse of methods for interface-like code reuse (#21500) 2024-05-26 23:05:43 +02:00
s-hadinger
0d3e888147
Berry change internal storage of parent class for methods (#21490)
* Berry change internal storage of parent class for methods

* Fix compilation of zigbee

* Patch solidify for berry_custom
2024-05-24 22:32:37 +02:00
s-hadinger
35c2d55382
Berry upstream walrus fix (#21175) 2024-04-14 15:58:30 +02:00
s-hadinger
8736544a81
Berry fix upstream connect with undefined variable (#21156) 2024-04-12 15:34:24 +02:00
s-hadinger
aa4bdebe55
Berry print "a" syntax no longer supported (#21048) 2024-03-27 16:22:27 +01:00
s-hadinger
e55471e084
Berry bug when parsing ternary operator (#20839) 2024-02-29 19:23:32 +01:00
s-hadinger
6768ebc2ac
Berry fix static allocation when superclass is a member (#20385) 2024-01-03 16:12:47 +01:00
s-hadinger
7404b8ddbb
Berry _class can be used in static var initialization code (#19088) 2023-07-10 17:50:04 +02:00
s-hadinger
cc55cf0bb1
Revert "Berry var allowed in with walrus operator := (#19018)" (#19019)
This reverts commit 8f06552eee.
2023-07-03 14:10:05 +02:00
s-hadinger
8f06552eee
Berry var allowed in with walrus operator := (#19018)
* Berry `var` allowed in with walrus operator `:=`

* fix regression
2023-07-03 12:28:41 +02:00
s-hadinger
ef304a8ba8
Berry mark walrus operator as side-effect (#18999) 2023-06-29 13:01:07 +02:00
s-hadinger
34456e6193
Berry import strict now detects useless expr without side effects (#18997) 2023-06-29 09:04:16 +02:00
s-hadinger
9cf3d16065
Berry various fixes for Walrus Operator (#18982) 2023-06-27 14:32:08 +02:00
s-hadinger
30a65edd7a
Berry Walrus operator ':=' (#18963) 2023-06-25 17:30:42 +02:00
s-hadinger
0ac5d0945b
Berry add option to remove source file name and save flash space (#18948) 2023-06-23 23:14:51 +02:00
s-hadinger
1e745807e4
Berry fixed parser error with upvals in closures (#18902) 2023-06-18 20:21:08 +02:00
s-hadinger
4e60bd7465
Berry add static class to declare inner classes (#17699) 2023-01-14 11:38:51 +01:00
s-hadinger
1acd9b867c
Berry add implicit _class parameter to static methods (#17683)
* Berry add implicit ``_class`` parameter to static methods

* Handle bytecode
2023-01-11 22:59:07 +01:00
Stephan Hadinger
18a950f61c Berry fix for stricter mode 2022-09-06 22:54:24 +02:00
Stephan Hadinger
d4f3530539 Berry stricter strict mode 2022-08-29 19:27:06 +02:00
Stephan Hadinger
aaa87365f0 Berry prefer static var syntax 2022-07-01 19:56:09 +02:00
Stephan Hadinger
0915664eae Berry improve asserts and stack size 2022-04-04 09:10:54 +02:00
Stephan Hadinger
7a006d7f47 Berry faster allocator for small objects 2022-02-15 22:51:11 +01:00
Stephan Hadinger
a9dfd284bb Berry update internal type system 2022-02-12 18:14:22 +01:00
Stephan Hadinger
cd401d3928 Berry check non-method 2022-01-18 22:13:40 +01:00
Stephan Hadinger
6755b754e0 Berry stores compiled bytecode into IRAM, freeing space in heap 2022-01-06 13:41:51 +01:00
Stephan Hadinger
2b97a03d4c Latest Berry fixes 2021-12-14 21:51:12 +01:00
Stephan Hadinger
7f0e4944ac Berry rename step 2/2 2021-12-14 15:10:03 +01:00
s-hadinger
011b8ac769
Revert "Rename Berry to berry" 2021-12-14 13:52:36 +01:00
Stephan Hadinger
560e769485 Rename Berry to berry 2021-12-14 09:37:15 +01:00