{"id":24316492,"url":"https://github.com/jferard/selfhosted","last_synced_at":"2026-04-27T01:31:47.473Z","repository":{"id":170593577,"uuid":"91125022","full_name":"jferard/selfhosted","owner":"jferard","description":"A self hosted compiler project","archived":false,"fork":false,"pushed_at":"2018-02-05T11:39:05.000Z","size":14,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T02:06:54.528Z","etag":null,"topics":["llvm","python","toy-compiler","toy-language","toy-project"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/jferard.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,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-12T19:51:45.000Z","updated_at":"2025-01-10T06:47:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"644180b7-0aa0-4e33-873d-b0cc267e07ad","html_url":"https://github.com/jferard/selfhosted","commit_stats":null,"previous_names":["jferard/selfhosted"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jferard/selfhosted","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jferard%2Fselfhosted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jferard%2Fselfhosted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jferard%2Fselfhosted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jferard%2Fselfhosted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jferard","download_url":"https://codeload.github.com/jferard/selfhosted/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jferard%2Fselfhosted/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32319559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: 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":["llvm","python","toy-compiler","toy-language","toy-project"],"created_at":"2025-01-17T12:56:41.349Z","updated_at":"2026-04-27T01:31:47.459Z","avatar_url":"https://github.com/jferard.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Self Hosted - A Self Hosted compiler project\n\nCopyright (C) 2017 J. Férard \u003chttps://github.com/jferard\u003e\n\nThis is an experimental project, and a work in progress.\n\n**Do not rely on it.**\n\n## The project\nI will try to make a tiny self hosted compiler, one part after another.\nThe goal is to create in Python a compiler based on LLVM.\nThis compiler should be able to compile itself.\n\nThe only requirements will be:\n- LLVM\n- a python 3 interpreteter\n- python llvmlite module\n\n## Roadmap\nThere are two main steps : the bootstrap in Python, and the self hosted compiler.\n\n### The bootstrap\n1. Create a tiny regex library in Python\n2. Create a lexer on tiny regexes\n3. Create a parser on BNF \u0026 lexer\n4. Use the previous steps to output an executable build on LLVM\n\n### The self hosted compiler\n1. Translate Python sources to self hosted syntax.\n2. Tie this to LLVM\n\nSee https://github.com/jferard/selfhosted/ROADMAP.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjferard%2Fselfhosted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjferard%2Fselfhosted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjferard%2Fselfhosted/lists"}