compiler icon indicating copy to clipboard operation
compiler copied to clipboard

Pawn compiler for SA-MP with bug fixes and new features - runs on Windows, Linux, macOS

Results 122 compiler issues
Sort by recently updated
recently updated
newest added

### Issue description: ```pawn new const Text[4][5][] = { { "Beer1", "Beer2", "Beer3", "Beer4", "Beer5" }, { "Wine1", "Wine2", "Wine3", "Wine4", "Wine5" }, { "Sprunk1", "Sprunk2", "Sprunk3", "Sprunk4", "Sprunk5" },...

state: stale
type: bug
area: code generation

### 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()...

state: stale
type: bug
area: parser

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...

state: stale
type: bug

### Minimal complete verifiable example (MCVE): ```pawn stock const arr[5][] = "hi"; ``` Valid code? No. Should crash? No.

state: stale
type: bug
area: parser

### 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...

type: enhancement
state: stale
area: optimization

### Issue description: ### Minimal complete verifiable example (MCVE): ``` main() { // This work f(#AA); // This give the error, unknown directive f( #AA ); } f(const a[]) {}...

area: pre-processor
state: discuss

### 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...

state: stale

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

state: stale

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...

state: stale

### 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...

area: syntax
state: discuss
type: feature