compiler
compiler copied to clipboard
Pawn compiler for SA-MP with bug fixes and new features - runs on Windows, Linux, macOS
### Issue description: ```pawn new const Text[4][5][] = { { "Beer1", "Beer2", "Beer3", "Beer4", "Beer5" }, { "Wine1", "Wine2", "Wine3", "Wine4", "Wine5" }, { "Sprunk1", "Sprunk2", "Sprunk3", "Sprunk4", "Sprunk5" },...
### Issue description: Well this code isn't detected by the compiler and when I compile it i just get "[Finished in 3.5s]" ### Minimal complete verifiable example (MCVE): ``` main()...
Compiler 3.10.10, MRE in a few seconds. Compiling: ``` #include main() { print("Hey wait"); printf("Hello %s", "World"); } ``` No changes to code made: ``` root@7b250f68e776:/app# ./build.sh Pawn compiler 3.10.10...
### Minimal complete verifiable example (MCVE): ```pawn stock const arr[5][] = "hi"; ``` Valid code? No. Should crash? No.
### Issue description: I know the compiler isn't big on optimisations, but this might be a nice one to have. When an `operator=` is literally just `return Tag:val;` to suppress...
### Issue description: ### Minimal complete verifiable example (MCVE): ``` main() { // This work f(#AA); // This give the error, unknown directive f( #AA ); } f(const a[]) {}...
### Issue description: It seems that the compiler generates invalid code for array copying when the arrays (both the source and the destination) have more than one enum-dimension. ### Minimal...
Environment: Windows 10 -> WSL ubuntu (optional -> docker ubuntu) https://github.com/Misiur/compiler-poc Fails to compile due to not finding the correct include from relative path
3.10.10 linux release build 3.10.9 windows release build Trying to build from source, will update with last known working version as well. `strace` does not suggest that the `filename` param...
### Issue description: This feature is not really that new in general; you could have already seen it in C#, Java, Rust and other languages. In some situations an ability...