sif icon indicating copy to clipboard operation
sif copied to clipboard

A compiler for a custom language written in C++.

Results 6 sif issues
Sort by recently updated
recently updated
newest added

The following sif code: ``` a: uint = -0xFFFF_FFFF_FFFF_FFFF; printa(a); ``` Prints out `0` to the screen. Note: In `checker.cpp`, line 2822 we assign a negative version of `int`, `f32`...

The integer literal `0xFFFF_FFFF_FFFF_FFFF_F` Triggers ICE. SIF Lexer does not check for integer literal overflow.

Steps to reproduce: 1. Compile a program without .lib dependenceis and without vs environment (vsvars) Result: The linker displays the error message, then sif compiler displays "internal compiler error" message....

Function relies on C's `fgets`. it's behaviour is described as follows: Returns string allocated using `allocator` with length at max 256 characters.

Have you considered allowing default values for struct props? ```sif struct Button { color: string; text := "Button"; } myButton := Button.{"red"}; ```