{"id":15148716,"url":"https://github.com/ibara/pl0c","last_synced_at":"2025-10-24T05:30:26.908Z","repository":{"id":47530599,"uuid":"395878401","full_name":"ibara/pl0c","owner":"ibara","description":"Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.","archived":false,"fork":false,"pushed_at":"2021-09-23T03:13:57.000Z","size":415,"stargazers_count":139,"open_issues_count":1,"forks_count":14,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-01-30T23:41:17.702Z","etag":null,"topics":["c","code-generation","code-generator","code-generators","compilation","compiler","compilers","compiling","freebsd","lexer","linux","netbsd","openbsd","parser","pascal","pl-0","recursive-descent","recursive-descent-parser","unix"],"latest_commit_sha":null,"homepage":"https://briancallahan.net/blog/20210814.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}},"created_at":"2021-08-14T03:41:06.000Z","updated_at":"2025-01-18T04:59:06.000Z","dependencies_parsed_at":"2022-09-23T12:43:20.340Z","dependency_job_id":null,"html_url":"https://github.com/ibara/pl0c","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibara%2Fpl0c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibara%2Fpl0c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibara%2Fpl0c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibara%2Fpl0c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibara","download_url":"https://codeload.github.com/ibara/pl0c/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237915423,"owners_count":19386724,"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","code-generation","code-generator","code-generators","compilation","compiler","compilers","compiling","freebsd","lexer","linux","netbsd","openbsd","parser","pascal","pl-0","recursive-descent","recursive-descent-parser","unix"],"created_at":"2024-09-26T13:22:02.360Z","updated_at":"2025-10-24T05:30:26.487Z","avatar_url":"https://github.com/ibara.png","language":"C","readme":"pl0c\n====\n`pl0c` is a compiler for the\n[PL/0](https://en.wikipedia.org/wiki/PL/0)\nlanguage. It reads in PL/0 source code and outputs\nequivalent C source code.\n\nIt was written to be the subject of a series of\n[blog posts](https://briancallahan.net/blog/20210814.html)\non writing a compiler from a hands-on practical perspective\nfor the beginner.\n\nBuilding\n--------\nJust run `make`. Then (optionally) `make install`.\n\nIf you are on a platform that does not include\n[`strtonum(3)`](https://man.openbsd.org/strtonum.3)\nin its libc, remove `-DHAVE_STRTONUM` from `CFLAGS`.\nIn this case, you'll have to put `strtonum.c` in the\nsame directory as `pl0c`. This will be improved.\n\nVersion\n-------\nThe current version is `1.0.2`.\n\nYou can find a source tarball in the Releases tab.\n\nIssues and Pull Requests\n------------------------\nIssues and Pull Requests are accepted at any time.\n\nIf your Pull Request changes the compiler in any way, I ask\nthat you remember to update the bootstrap compiler using\n`make genbootstrap` and including the updated bootstrap\ncompiler as part of the Pull Request.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibara%2Fpl0c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibara%2Fpl0c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibara%2Fpl0c/lists"}