{"id":13782774,"url":"https://github.com/magetron/c-interpreter","last_synced_at":"2025-05-11T16:32:43.391Z","repository":{"id":102538364,"uuid":"162772167","full_name":"magetron/c-interpreter","owner":"magetron","description":"Patrick's C Compiler (interpreter)","archived":false,"fork":false,"pushed_at":"2019-06-12T14:08:51.000Z","size":60,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-24T15:34:27.887Z","etag":null,"topics":["compiler","interpreter","pcc"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magetron.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}},"created_at":"2018-12-22T01:30:03.000Z","updated_at":"2024-03-07T01:06:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"469e7249-c5b6-4e20-abc5-f9a3c475866f","html_url":"https://github.com/magetron/c-interpreter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magetron%2Fc-interpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magetron%2Fc-interpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magetron%2Fc-interpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magetron%2Fc-interpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magetron","download_url":"https://codeload.github.com/magetron/c-interpreter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213838097,"owners_count":15645778,"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":["compiler","interpreter","pcc"],"created_at":"2024-08-03T18:01:44.159Z","updated_at":"2024-08-03T18:10:50.222Z","avatar_url":"https://github.com/magetron.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# c-interpreter\n\nThis is a small project where I try to make a C minimal interpreter in 10 days.\n\nIt's called Patrick's C compiler -\u003e pcc.\n\n## Files\n\n* `pcc.c` - The source code of pcc.\n\n* `hello.c` - A piece of testing C code that outputs `Hello World!\\n`\n\n* `fibonacci.c` - A piece of testing C code that outputs fibonacci sequence using recursion.\n\n## Usage\n\n`gcc -m32 pcc.c -o pcc`\n\n`-m32` tag is used for `64-bit` machines.\n\n`./pcc hello.c`\n\n### Bootstrap\n\npcc is a interepter that bootstraps. Therefore, feel free to execute commands like :\n\n`./pcc pcc.c fibonacci.c`\n\nAlthough it is not recommended since this slows down the program for no reason.\n\n### Options\n\n`./pcc -s` outputs ASM code for VM / Further compiler purposes.\n\n`./pcc -d` outputs DEBUG information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagetron%2Fc-interpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagetron%2Fc-interpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagetron%2Fc-interpreter/lists"}