Commit Graph

37 Commits

Author SHA1 Message Date
s-hadinger 298ee22ebf
Berry add `string` to `bytes()` (#20420) 2024-01-07 15:38:29 +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 6a8435b731
Berry added `introspect.set()` for class attributes (#20339) 2023-12-29 10:17:10 +01:00
s-hadinger e3b151c756
Fix Berry parser error in specific cases (#20059)
* Fix Berry parser error in specific cases

* fix typo

* Fix last bug (hopefully)
2023-11-19 17:16:03 +01:00
s-hadinger 385408dcfd
Berry fix bool side effect (#19790) 2023-10-18 20:02:47 +02:00
s-hadinger 906a12f21d
Berry add unit test for #19655 (#19692) 2023-10-06 22:46:02 +02:00
s-hadinger 46e17061b2
Berry extend `range(lower, upper, incr)` to arbitrary increment (#19120) 2023-07-15 19:09:52 +02:00
s-hadinger af27d65a8a
Sync with Berry upstream (#19119) 2023-07-15 18:11:04 +02: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 b9588e6192
Berry `bool( [] )` and `bool( {} )` now evaluate as `false` (#18986) 2023-06-27 22:07:13 +02:00
s-hadinger 1e745807e4
Berry fixed parser error with upvals in closures (#18902) 2023-06-18 20:21:08 +02:00
s-hadinger 3fc932d38a
Berry `string.format()` now automatically converts type according to format (#18890) 2023-06-16 20:38:53 +02:00
s-hadinger 5da84c52ff
Berry Allow comments in multi-line strings (#18848) 2023-06-10 22:23:43 +02:00
s-hadinger d9eeb8bf57
Berry remove superfluous test (#18473) 2023-04-21 22:42:02 +02:00
s-hadinger f46b9f4e2d
Update Berry tests from upstream (#18472) 2023-04-21 22:36:00 +02:00
s-hadinger 009e07fd07
Berry json patches (#18407) 2023-04-13 22:51:55 +02:00
s-hadinger 8ea91b7792
Berry fix rare crash in json parsing (#18395) 2023-04-11 23:13:02 +02:00
Stephan Hadinger 4c896cd8bc Added Berry ``bytes().reverse()`` method 2022-11-01 23:07:15 +01:00
Stephan Hadinger 2ef866e3b8 Berry add `bytes().setbytes()` 2022-10-23 19:43:40 +02:00
Stephan Hadinger 3f5baaa0c6 Berry add ``introspect.setmodule(name:string, value:any) -> nil`` 2022-09-25 15:33:31 +02:00
Stephan Hadinger 18a950f61c Berry fix for stricter mode 2022-09-06 22:54:24 +02:00
Stephan Hadinger 197e25132c Berry fix reference when exeception is raised 2022-07-25 22:32:26 +02:00
Stephan Hadinger 69de76338c Berry allow setmember() to fail with `false` or `undefined` 2022-07-05 21:14:50 +02:00
Stephan Hadinger 74b11c8e3b Berry update tests for module undefined 2022-07-02 16:58:51 +02:00
Stephan Hadinger 9bf0d7fb4e Berry sync with upstream 2022-07-02 16:27:37 +02:00
Stephan Hadinger aaa87365f0 Berry prefer `static var` syntax 2022-07-01 19:56:09 +02:00
s-hadinger b744c2e9b3
Merge pull request #15863 from s-hadinger/Berry-improved-bool
Berry improved booleans
2022-06-24 23:34:51 +02:00
Stephan Hadinger 147bbc133e Berry improved booleans 2022-06-24 23:17:33 +02:00
Stephan Hadinger c9e49f7432 Berry add string.replace() 2022-06-24 23:12:49 +02:00
Stephan Hadinger 7232f5865d Berry int() now accepts hex strings 2022-06-03 21:51:20 +02:00
Stephan Hadinger 71010423eb Sync with latest Berry PRs 2022-04-20 22:57:07 +02:00
Stephan Hadinger ead18b63d6 Berry bytes setfloat getfloat 2022-03-21 23:07:48 +01:00
Stephan Hadinger cd401d3928 Berry check non-method 2022-01-18 22:13:40 +01:00
Stephan Hadinger c1e3d88f2f Berry fix string.format crash 2021-12-28 12:09:00 +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