{"id":15661137,"url":"https://github.com/ibara/o","last_synced_at":"2025-05-05T21:33:40.750Z","repository":{"id":80378429,"uuid":"475662007","full_name":"ibara/O","owner":"ibara","description":"Peephole optimizer for cproc and QBE","archived":false,"fork":false,"pushed_at":"2025-05-02T23:54:27.000Z","size":13,"stargazers_count":25,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-03T00:28:58.721Z","etag":null,"topics":["c","compiler","freebsd","linux","netbsd","openbsd","optimizer","unix"],"latest_commit_sha":null,"homepage":"https://briancallahan.net/blog/20220330.html","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibara.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":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-30T00:21:53.000Z","updated_at":"2025-05-02T23:54:31.000Z","dependencies_parsed_at":"2023-06-06T16:30:57.873Z","dependency_job_id":null,"html_url":"https://github.com/ibara/O","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/ibara%2FO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibara%2FO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibara%2FO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibara%2FO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibara","download_url":"https://codeload.github.com/ibara/O/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252579993,"owners_count":21771248,"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","compiler","freebsd","linux","netbsd","openbsd","optimizer","unix"],"created_at":"2024-10-03T13:26:05.668Z","updated_at":"2025-05-05T21:33:40.745Z","avatar_url":"https://github.com/ibara.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"O\n=\n`O` is a peephole optimizer for\n[qbe](https://c9x.me/compile/).\n\nIt is meant to be used in conjunction with\n[cproc](https://sr.ht/~mcf/cproc/).\n\nWhy?\n----\n`O` is the subject of two\n[blog](https://briancallahan.net/blog/20220330.html)\n[posts](https://briancallahan.net/blog/20220402.html).\n\nBuilding\n--------\nJust run `make`.\n\nThe only non-C89 functions are\n[`getline(3)`](https://man.openbsd.org/getline.3)\nand\n[`snprintf(3)`](https://man.openbsd.org/snprintf.3).\n\nRunning\n-------\n```\nusage: O in.s [-o out.s]\n```\n\nOutput is listed on `stdout` unless `-o` is passed on the command line.\n\nYou can pass this to an assembler using something like:\n```\n$ O file.s | as -o file.o -\n```\n\n`O` can read from `stdin` if invoked as `O -`.\n\nLicense\n-------\nISC License. See `LICENSE` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibara%2Fo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibara%2Fo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibara%2Fo/lists"}