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

**Is this a BUG REPORT, FEATURE REQUEST or QUESTION?**: * [x] Bug Report * [ ] Feature Request * [ ] Question **What happened**: Returning an array into another return...

state: stale
type: bug
area: code generation

- [x] Add `location` tag `` - [x] Fix `transition` tag - [ ] Escape special characters in documentation - [x] Fix enumerators documentation - [x] Fix constant documentation -...

state: stale

```pawn #include enum E_TEST { E_WTF[32] } main () { new test[E_TEST]; (test[E_WTF])[0] = EOS; // Tag mismatch (_:test[E_WTF])[0] = EOS; // Still tag mismatch (test[E_WTF])[E_TEST:0] = EOS; // No...

type: bug
state: discuss

### Issue description: Most developers (ab)use `enum`s to create aggregate user-defined types. There are few disadvantages to this method: - it's a hack! enum structs are handled in an unconventional...

area: syntax
state: discuss
type: feature

### Issue description: I think it could be useful to have an ability for enumerations to inherit elements from other enumerations. Examples: ```Pawn enum Entity { type, // Entity:0 Float:posX,...

area: syntax
state: discuss
type: feature

### Issue description: Pawn is positioned as ["a robust language with a compiler that performs a maximum of static checks"](https://www.compuphase.com/pawn/pawn.htm#INTRODUCTION), but there are still a lot of areas where these...

state: discuss
type: feature
area: diagnostics

Allow this syntax: ``` new field, other, ; ```

area: syntax
state: discuss
type: feature

**Is this a BUG REPORT, FEATURE REQUEST or QUESTION?**: * [ ] Bug Report * [x] Feature Request * [ ] Question The issue name is kind of self-explanatory, I...

area: syntax
state: discuss
type: feature

It would be good if using `__emit` as a function parameter maybe bypassed some checks, for example: ```pawn Func(const arr[]) { printf("%s", arr); } main() { new string[] = "hello";...

type: enhancement
state: discuss
area: parser

This issue is for listing down possible improvements for the compiler's codebase. **Current list of suggestions:** - [grow literal queue exponentially (currently linear)](https://github.com/pawn-lang/compiler/issues/296#issuecomment-375947055) - [inconsistent naming of preprocessor tokens](https://github.com/pawn-lang/compiler/issues/296#issuecomment-406837564) -...

type: enhancement
state: discuss
area: internal