{"id":46369667,"url":"https://github.com/totalspectrum/spin2cpp","last_synced_at":"2026-03-05T03:33:18.044Z","repository":{"id":19475847,"uuid":"22721276","full_name":"totalspectrum/spin2cpp","owner":"totalspectrum","description":"Tool to convert Parallax Propeller Spin code to PASM, C++ or C","archived":false,"fork":false,"pushed_at":"2026-02-22T17:42:26.000Z","size":21605,"stargazers_count":50,"open_issues_count":20,"forks_count":19,"subscribers_count":10,"default_branch":"master","last_synced_at":"2026-02-22T22:17:47.018Z","etag":null,"topics":["propeller","propeller-spin","propeller2"],"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/totalspectrum.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.txt","contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["totalspectrum"],"patreon":"totalspectrum","custom":["https://www.paypal.me/totalspectrum"]}},"created_at":"2014-08-07T12:56:19.000Z","updated_at":"2026-02-22T17:42:30.000Z","dependencies_parsed_at":"2024-01-05T22:46:43.214Z","dependency_job_id":"5ac33e8a-8691-4ef8-bf44-32769367739e","html_url":"https://github.com/totalspectrum/spin2cpp","commit_stats":null,"previous_names":[],"tags_count":234,"template":false,"template_full_name":null,"purl":"pkg:github/totalspectrum/spin2cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totalspectrum%2Fspin2cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totalspectrum%2Fspin2cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totalspectrum%2Fspin2cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totalspectrum%2Fspin2cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/totalspectrum","download_url":"https://codeload.github.com/totalspectrum/spin2cpp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/totalspectrum%2Fspin2cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30108651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:32:43.378Z","status":"ssl_error","status_checked_at":"2026-03-05T03:32:22.667Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["propeller","propeller-spin","propeller2"],"created_at":"2026-03-05T03:33:17.455Z","updated_at":"2026-03-05T03:33:18.020Z","avatar_url":"https://github.com/totalspectrum.png","language":"C","funding_links":["https://github.com/sponsors/totalspectrum","https://patreon.com/totalspectrum","https://www.paypal.me/totalspectrum"],"categories":[],"sub_categories":[],"readme":"Spin2cpp is a program for converting Spin, BASIC, or C code to binary, PASM (Parallax Propeller 1 assembly), P2ASM (Parallax P2 assembly), Spin1 bytecode, C, or C++.\n\nflexspin is a slightly different front end to the same functionality, designed to be compatible with other spin compilers.\n\nflexcc is a third front end designed to accept the arguments normally given to C compilers (`cc`). Like the others, it can actually accept Spin and BASIC input as well as C.\n\nThe command line options for spin2cpp and flexspin are documented in Spin2cpp.md and Flexspin.md respectively.\n\nDocumentation for the various front ends (languages accepted as input) are in doc. The BASIC language is the best documented. The C and Spin documentation just cover extensions and deviations from the standard (C99 in the case of C, and the original Propeller compiler in the case of Spin).\n\n\n## BUILDING\n\nOn most Linux installations you should be able to build with \"make\", which will place binaries in the \"build\" folder.\n\nOn macOS the procedure is similar, but you'll probably have to manually install a newer version of bison (the one that comes with macOS is too old). You'll need at least bison 3.0.\n\nOn Windows it should be possible to build using msys or a similar gcc based build environment, but you'll need to install bison 3.0 or later, flex, gcc, and make.\n\n## Tips and Tricks\n\n### Executable Name\n\nIf you name your executable \"bstc.exe\", it will try to act like the BSTC compiler (so it can be used in build scripts and IDEs that use bstc style command lines). For example, flexspin will work this way as the back-end assembler for PropBasic.\n\nIf you name your executable something that ends in \"spin2\" (like \"flexspin2.exe\") it will compile for P2 by default.\n\n## Credits\n\nMost of spin2cpp was written by Eric R. Smith. The bytecode back end and many other improvements and bug fixes were contributed by Ada Gottensträter, and she has contributed many helpful suggestions. The C preprocessor was written by Kiyoshi Matsui. Many people have contributed bug fixes, suggestions, and library files; see the COPYING and COPYING.LIB files for the full list of contributors.\n\nSome of the work on spin2cpp was done thanks to Eric's employer, Collabora Ltd. Many thanks to them for their support of open source projects including this one.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotalspectrum%2Fspin2cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftotalspectrum%2Fspin2cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotalspectrum%2Fspin2cpp/lists"}