Benoit Giannangeli

Results 151 issues of Benoit Giannangeli

Ranges are syntaxic sugar to create list of integers. But when used in a `foreach` statement it should be expanded to a classic `for` statement: ```buzz foreach (int i in...

language

To reproduce: - `zig build -Djit_always_on` - `buzz -t tests/compile_errors/008-error-message.buzz`

bug
jit

Since buzz is supposed to be _unambiguous_ do we need implicit `this` argument for objects' methods? ```buzz object Person { str name, fun sayHello(str to) -> print("Hello {to} from {this.name}");...

language
proposal

Field access doesn't need to rely on a name lookup at runtime. It could be an index generated at compile time juste like we do for locals.

language

Right now std lib errors matches zig errors, most of them are too low-level for buzz: - [ ] Regroup errors that are too fine-grained for buzz - [ ]...

std
contributor friendly

Either declare an object as immutable: ```buzz immut object Point { int x, int y, } ``` And/Or declare an instance as immutable: ```buzz immut Point point = Point{ x...

language
proposal
immutability

Should things be immutable (and private) by default? ```buzz str hello = "hello"; hello = "bye"; | fails var str hello = "hello"; hello = "bye"; | ok ```

language
proposal
immutability

```bash $ buzz --dump myscript.buzz myscript.out $ buzz myscript.out ``` Implies we know how to serialize any buzz data since chunk embark constants.

compiler

Use [std.Thread](https://ziglang.org/documentation/master/std/#A;std:Thread) - [x] Thread - [x] Mutex - [x] Semaphore - [ ] Thread safety

std

This is maybe to high level for buzz. ```buzz typedef number = ; fun compare(number a, number b) > bool { | ... } ```

language
proposal