Open Issues Need Help
View All on GitHubAI Summary: This issue proposes extending `mod_api.json` to allow game developers to specify custom integer sizes (e.g., `i8`) and disable float types entirely for mods, addressing limitations of esoteric platforms like the NES. It also suggests supporting both `f32` and `f64` simultaneously, or using a generic `number` type with an `is_integer` flag for more granular control.
AI Summary: This issue proposes enforcing a `g_` prefix for all global variables in grug. This rule aims to resolve conflicts caused by the language's existing prohibition against variable shadowing, which currently flags errors when local variables or function parameters share names with global variables. By requiring the `g_` prefix, global variables would be distinctly named, preventing these shadowing errors and simplifying code.