Benoit Giannangeli

Results 151 issues of Benoit Giannangeli

Syntax highlighting of user input

REPL

```buzz cdef("/path/to/foreign", ` typedef struct Person { unsigned int age, const char *title name, fn hello(self: Person) void; }; void hello(*Person self); unsigned int mul(unsigned int a, unsigned int b);...

language
FFI

Be able to JIT compile loops and other non-function nodes

performance
jit

Ability to declare custom types: ```buzz typedef Callback = Function(str element) > bool; ```

language
proposal

Right now lists and maps have their own version of map, filter, reduce, etc. We could imagine a common iterator interface supported by fibers that both could implement. This way...

language
proposal

```buzz protocol Countable:: { fun add(T value) > void; } object Item{} object(Countable::) Person { [Item] items, fun add(Item value) > void { this.items.append(value); } } ```

language

Depending on what type of program you might be writting with buzz. You might want to fine-tune the allocation strategy used: - Small memory footprint and short lifespan: arena allocator...

proposal
memory

When named variable not found, suggest resembling existing variables.

compiler

```buzz fn hello() -> print("hello"); fn hi() -> print("hello"); ``` Those two functions are the same and should be JIT compiled once. Find some kind of hash function for a...

jit

Probable issues: - External lib (maybe wasm build exists for some?): libpcre, mimalloc (can be turned of `-Duse_mimalloc=false`) - VM tail call not supported: the VM does not uses a...

compiler