kai icon indicating copy to clipboard operation
kai copied to clipboard

An expressive low level programming language

Results 37 kai issues
Sort by recently updated
recently updated
newest added

This is due to how automatic semicolon insertion works (or rather doesn't) ``` outer: for _ in arr { ``` > Error: Expected operand, found 'for'

bug

``` fn(func: ($T, T, T, T) -> T, T, T, T, a, b, c, d: T) -> T, T, T, T { /* ... */ } ``` It should be...

This will be our library for supporting Mach-O, ELF and COFF object formats.

feature

``` f :: fn(a: any) -> void { } main :: fn() -> void { a := struct{} f(a) } ``` without the call to `f` the following error is...

bug
CompilerCrash

``` #import kai("arrays") main :: fn() -> void { buf := []u8{} arrays.Append(&buf, true ? "i" : "u") } ``` > Cannot convert 'true ? "i" : "u"' (type string)...

bug

``` a :: fn(b: any) -> void { } S :: struct{} main :: fn() -> void { a([]u8{}) a(S{}) } ```

bug

FuncLit will now include a FuncType. The parser for func type allows omission of parameter names, as such we should allow the FuncLit to still use the parameters through `$0`...

enhancement
feature

``` main :: fn() -> void { switch 5 { case 1: break a := 1 } } ```

bug

``` main :: fn() -> void { err := false err := false } ``` Crashes the compiler

bug
CompilerCrash