Maybe can add @ or $ orC.directly use the c function and type,
Perhaps the key to achieving this lies in not checking the types and function names that contain the "@" symbol , All of these are for the C compiler to compile.
u32 screen_width = 200;
u32 screen_height = 200;
//auto gray = @Color { r: 130, g: 130, b: 130, a: 255 };
auto bg_color = @Color { 76, 63, 47, 255 };
@InitWindow(screen_width, screen_height, "quark raylib".data());
@SetTargetFPS(60);
bool is_close = false;
while(is_close != true) {
@ClearBackground(bg_color);
@BeginDrawing();
@DrawText("hello quark".data(), 10, 80, 20, @GRAY);
@EndDrawing();
is_close = @WindowShouldClose();
}
and rename 😄
type init_window = @InitWindow
It looks very concise.
