s-hadinger

Results 17 issues of s-hadinger

Add two features to `import introspect`: - `instrospect.contains( instance or module or class, name:string) -> bool`: returns `true` if the instance/class/module contains a member with `name` - `introspect.toptr()` now works...

Fix #396 Details: The Berry parser does simple optimization in the following pattern: ``` def f() var a = 1 a = a + 2 end ``` The raw bytecode...

Add ability to load bytecode from a file pointer in addition to a filename. This allows to stream bytecode from a URL. `bclosure* be_bytecode_load_from_fs(bvm *vm, void *fp);`

Hi all. Thanks for the effort done on the documentation here: https://berry.readthedocs.io/en/latest/ However I just realized that the latest changes to the wiki were not reflected in the documentation web...

Fix `bytes.resize()` that used `uint16_t` instead of `int32_t`. Optimize `file.readbytes()` when size read has the correct lenght, avoid calling `resize()`

`int()` currently takes only one argument, and return `nil` if the argument is `nil` I'm facing a lot of code where I need to guard the value within a range...

Fix integer and real parser to handle overflows, fixed with Claude.ai