{"id":15684071,"url":"https://github.com/appcypher/raccoon","last_synced_at":"2025-05-07T15:07:13.008Z","repository":{"id":40333042,"uuid":"451859395","full_name":"appcypher/raccoon","owner":"appcypher","description":"Python-like syntax for Rust-like performance","archived":false,"fork":false,"pushed_at":"2023-03-17T09:29:46.000Z","size":160,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T15:06:56.955Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appcypher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-25T11:59:45.000Z","updated_at":"2025-04-03T14:07:35.000Z","dependencies_parsed_at":"2023-01-22T11:45:53.662Z","dependency_job_id":null,"html_url":"https://github.com/appcypher/raccoon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appcypher%2Fraccoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appcypher%2Fraccoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appcypher%2Fraccoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appcypher%2Fraccoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appcypher","download_url":"https://codeload.github.com/appcypher/raccoon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252902614,"owners_count":21822261,"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":[],"created_at":"2024-10-03T17:10:38.323Z","updated_at":"2025-05-07T15:07:12.979Z","avatar_url":"https://github.com/appcypher.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"#\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/raccoon-lang/raccoon/master/raccoon.svg\" alt=\"Raccoon Logo\" width=\"140\" height=\"140\"\u003e\u003c/img\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003eRaccoon\u003c/h1\u003e\n\n`raccoon` is a language with Python 3.x syntax that is amenable to static analysis. The repository both defines the spec of the language and contains a reference implementation of the compiler.\n\n**Raccoon will not maintain full syntactic and semantic compatibility with Python**. Several dynamic elements known of Python are not available in Raccoon. While Raccoon prioritizes a design that benefits static analysis, it still allows Python's level of flexibility where statically determinable.\n\nRaccoon compiler implementation generates WebAssembly code.\n\nBelow is an example of what Raccoon currently looks like:\n\n```py\nclass Person:\n    \"\"\"\n    Class for creating details about a person.\n    \"\"\"\n\n    population = 0\n\n    def init(self, name, age):\n        \"\"\"\n        Creates a new person\n        \"\"\"\n\n        self.name = name\n        self.age = age\n\n        Person.population += 1\n\n    def del(self):\n        \"\"\"\n        Decrement population\n        \"\"\"\n\n        Person.population -= 1\n\n    def debug(self, f):\n        \"\"\"\n        Create a string representation of object\n        \"\"\"\n\n        return f.debug_class(\"Person\")\n            .field(\"name\", self.name)\n            .field(\"age\", self.age)\n\njane = Person(\"Jane Doe\", 23)\nprint(\"jane =\", jane)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappcypher%2Fraccoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappcypher%2Fraccoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappcypher%2Fraccoon/lists"}