I'm been thinking recently about how when zig imports something it basically just takes the file and wraps it in a struct then namespaces it with the name of the variable followed by a .. This of course is very annoying with things like SDL as it ends up being sdl.SDL_Init. Well, what if there was a way to tell @import to manually remove the redundent SDL_ from the syntax. Something like @import("sdl_bindings.zig", .{ .namespace = "SDL", .seperator = "_" })
then you could do something like sdl.Init