Benoit Giannangeli

Results 151 issues of Benoit Giannangeli

Something like php [`stdclass`](https://www.php.net/manual/en/language.types.object.php#language.types.object.casting) and zig [anonymous struct literals](https://ziglang.org/documentation/master/#Anonymous-Struct-Literals). Implies that we can subscript objects and possibly cast map into anonymous objects. ```buzz obj myObject = { hello = "world"...

feature
language

Implement coroutines ```buzz import "lib/std"; fun main() > void { | Async call, creates a new routine (new VM instance), count is not yet executed rti counter = async count(10);...

feature
language
vm

Add syntax highlighting to code shown by error messages

compiler

We can: - keep them: class bring a lot of complexity for questionnable benefits - remove them: but we would have no way to hold things of different types together...

language

A simple form of compile time execution: - [X] `if/else`: when conditions are constants, gen only valid branch - [X] `foreach`: when iterable is constant and empty, don't generate loop...

performance
compiler
immutability

Reference manual for the language and its standard library

documentation
feature

- [X] Pattern new type: `pat pattern = _^hello$_;` - [ ] Allow pattern initialization with a string `pat pattern = "^with a string$";` `pat` methods are: - [X] `pattern.match(str...

language

Iterator interface anything can implement to be used with a `foreach`

feature
language

Would allow an object instance to be constant expression.

feature
compiler