{"id":15117031,"url":"https://github.com/pawn-lang/compiler","last_synced_at":"2025-04-05T05:09:21.214Z","repository":{"id":2265866,"uuid":"3222079","full_name":"pawn-lang/compiler","owner":"pawn-lang","description":"Pawn compiler for SA-MP with bug fixes and new features - runs on Windows, Linux, macOS","archived":false,"fork":false,"pushed_at":"2024-08-17T02:06:28.000Z","size":79715,"stargazers_count":309,"open_issues_count":211,"forks_count":75,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-03-29T04:09:02.098Z","etag":null,"topics":["c","cmake","compiler","hacktoberfest","pawn","sa-mp"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pawn-lang.png","metadata":{"files":{"readme":"readme.md","changelog":"history.txt","contributing":".github/CONTRIBUTING.md","funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-01-19T23:07:57.000Z","updated_at":"2025-03-27T04:25:35.000Z","dependencies_parsed_at":"2024-08-14T10:05:41.228Z","dependency_job_id":null,"html_url":"https://github.com/pawn-lang/compiler","commit_stats":{"total_commits":542,"total_committers":21,"mean_commits":25.80952380952381,"dds":0.4981549815498155,"last_synced_commit":"134ad7a836c581546665340aedb59efd4636e269"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawn-lang%2Fcompiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawn-lang%2Fcompiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawn-lang%2Fcompiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pawn-lang%2Fcompiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pawn-lang","download_url":"https://codeload.github.com/pawn-lang/compiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289429,"owners_count":20914464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cmake","compiler","hacktoberfest","pawn","sa-mp"],"created_at":"2024-09-26T01:45:47.460Z","updated_at":"2025-04-05T05:09:21.176Z","avatar_url":"https://github.com/pawn-lang.png","language":"C","funding_links":[],"categories":["C","Pawn","Packages"],"sub_categories":["Software"],"readme":"# Pawn Community Compiler\n\n[![Build Status][build_status_linux]][build_linux]\n[![Build Status - Windows][build_status_win]][build_win]\n\n## What\n\nThis is a modified version of the Pawn 3.2.3664 compiler with many bug fixes and\nenhancements.\n\nThis project was originally started by Zeex but on 2017-12-31, the project was\ntaken over by some members of the SA:MP community. Zeex still contributes to the\nproject, along with the [Compiler Team][team].\n\nThe original readme is available [here][original_readme]\n\n## Why\n\nThis project exists to:\n\n- Fix known bugs with the original compiler\n- Provide a better development experience for the SA:MP community\n\nIf you find a problem, you can [open an issue][issues] and contributors can work\non a fix. This isn't true with the original compiler that comes with the SA:MP\nserver distribution.\n\nThere are also new features that enhance the development experience, such as\ntelling you which tags are involved in a \"tag mismatch\" or showing you where\nthat pesky \"symbol is never used\" is actually declared.\n\nThere are plenty of features and fixes that are documented, see below for links:\n\n- [Known compiler bugs][bugs] contains a list of bugs that the team are aware of\n  with their status.\n\n- [What's new][new] contains features and other notable changes.\n\n- [Release notes][releases] list of all official releases of the compiler\n  binaries.\n\n## How to Use\n\nBinary packages can be downloaded from [Releases][releases], see the below\nsections for platform-specific installation instructions.\n\n**Note:** You will _probably_ get warnings/errors/fatals when you first build\nwith this compiler — you need to add the `-Z` flag to your build configuration\nor add `#pragma compat`. See [this page][compat] for more information.\n\nYou can also get the latest development binaries for Windows on\n[AppVeyor][artifacts]. This archive is built automatically on every Git commit\nand can be pretty unstable, so use at your own risk.\n\n### Windows\n\nIf you just use an editor configured to run `pawncc` such as Pawno, Sublime Text\nor VS Code you can simply delete your existing `pawncc.exe` and replace it with\nthe new one.\n\nDownload the ZIP archive and extract `pawnc.dll`, `pawncc.exe`,\n`pawndisasmsm.exe` to your original `pawncc` directory. If you use Pawno, this\nwill be in the `pawno/` folder that's inside your server directory.\n\n### openSUSE\n\nThere is an installation package available for openSUSE users so that you\ncan easily install the latest compiler on your distribution. Please follow\nthese steps:\n\n1.  Go to https://build.opensuse.org/package/show/home:mschnitzer:pawncc/pawncc\n2.  On the right side, select your distribution (only if it's not disabled!)\n3.  Click \"Go to download repository\"\n4.  Copy the link and enter in sudo mode in your shell:\n    `zypper ar $COPIED_LINK home:mschnitzer:pawncc`\n5.  Again as root, type: `zypper ref`\n6.  Install the package with `zypper in pawncc`\n7.  Run `pawncc` in your shell to test if it's working\n\nThe download repository for openSUSE does provide older versions as well (oldest\nversion: 3.10.7). Just install the version you like (e.g.:\n`zypper in pawncc-3.10.8` and run it via `$ pawncc-3.10.8 -Z -O3 [...]`).\nParallel installation is supported.\n\n### With sampctl\n\nIf you are a [sampctl][sampctl] user, you are already using this compiler!\n\n### Building from Source\n\nIf you are interested in contributing then please first read\n[this document][contributing] and ensure you have discussed your proposed\nchanges before writing any code. Check out [this page][build_source] for\ninstructions for compiling for your platform.\n\n## Background\n\nThe project was originally started as a set of patches aimed to create a\ncompiler that would be compatible with the compiler used in\n[SA-MP (San Andreas Multiplayer)](http://sa-mp.com/).\n\nSA-MP uses a modified version of Pawn 3.2.3664 [1] with Windows-only\nexecutables, and the developers said that they lost the source code for it which\nmeans it can't be ported to other platforms (e.g. Linux) and newly discovered\nbugs can't be fixed. So the main goal of the project is to re-create changes\nthat were previously made by the devs as well as fix all known compiler bugs.\n\n[1] It's worth noting that the version of the AMX embedded into the SA-MP server\nseems to be based on an older release of Pawn.\n\n[build_linux]: https://travis-ci.org/pawn-lang/compiler\n[build_status_linux]: https://travis-ci.org/pawn-lang/compiler.svg?branch=master\n[build_win]: https://ci.appveyor.com/project/Southclaws/compiler/branch/master\n[build_status_win]:\n  https://ci.appveyor.com/api/projects/status/k112tbr1afrkif0n?svg=true\n[team]: https://github.com/pawn-lang/compiler/graphs/contributors\n[original_readme]:\n  https://github.com/pawn-lang/compiler/tree/master/readme_compuphase.txt\n[issues]: https://github.com/pawn-lang/compiler/issues\n[bugs]: https://github.com/pawn-lang/compiler/wiki/Known-compiler-bugs\n[new]: https://github.com/pawn-lang/compiler/wiki/What's-new\n[releases]: https://github.com/pawn-lang/compiler/releases\n[artifacts]:\n  https://ci.appveyor.com/project/Southclaws/compiler/branch/master/artifacts\n[compat]: https://github.com/pawn-lang/compiler/wiki/Compatibility-mode\n[sampctl]: http://bit.ly/sampctl\n[contributing]:\n  https://github.com/pawn-lang/compiler/tree/master/.github/CONTRIBUTING.md\n[build_source]: https://github.com/pawn-lang/compiler/wiki/Building-From-Source\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawn-lang%2Fcompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpawn-lang%2Fcompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpawn-lang%2Fcompiler/lists"}