Benoit Giannangeli

Results 151 issues of Benoit Giannangeli

Right now we continue parsing/codegen after reporting errors and almost always end up crashing buzz. Go over each error reporting and see how it must be handled: either stopping everything...

bug
compiler

`MyObj{}.bound is Function() > bool` -> `MyObj{}.bound is Function(MyObj) > bool`

bug
language

```buzz num hello = 42; num bonjour = 42; | -> should be the same constant ``` String are not concerned since they are interned.

vm
compiler
immutability

`list[1..10] == list.sub(1,10)`

feature
language

- [ ] `string.utf8Len(str string) > num` - [ ] `string.codepoint(num index) > str`

feature
std

When exported, a function should capture global it uses. Right now we juste take the whole script globals for the ride. This would not be needed if we do https://github.com/buzz-language/buzz/issues/215

compiler
proposal

Right now they are functions so we can't do: ```buzz fun hello() > bool { willFail() catch { | here we return from this catch clause instead of returning from...

improvement

Special method that will be called when the object is collected: ```buzz object File { | ... fun collect() { this.close(); } } ```

feature
language

Be able to export something when declaring it like so: ```buzz export num exportMe = 42; ```

feature
language

First class types

feature
language