{"id":30880686,"url":"https://github.com/izenynn/dr-quine","last_synced_at":"2026-06-22T02:31:35.166Z","repository":{"id":311910270,"uuid":"1045549474","full_name":"izenynn/dr-quine","owner":"izenynn","description":"This project is about discovering the recursion theorem of Kleene! The challenge is to write a program whose output is its own source code.","archived":false,"fork":false,"pushed_at":"2025-08-27T16:06:00.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-08T07:21:34.910Z","etag":null,"topics":["42","42school","asm","c","cmake","dr-quine","kleene","linux","quine"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/izenynn.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,"zenodo":null}},"created_at":"2025-08-27T10:56:40.000Z","updated_at":"2025-08-27T16:19:59.000Z","dependencies_parsed_at":"2025-08-27T20:28:51.700Z","dependency_job_id":"147d908f-7afc-4b66-b5bb-d5e2cf5b5c78","html_url":"https://github.com/izenynn/dr-quine","commit_stats":null,"previous_names":["izenynn/dr-quine"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/izenynn/dr-quine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fdr-quine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fdr-quine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fdr-quine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fdr-quine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/izenynn","download_url":"https://codeload.github.com/izenynn/dr-quine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izenynn%2Fdr-quine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34632523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["42","42school","asm","c","cmake","dr-quine","kleene","linux","quine"],"created_at":"2025-09-08T07:11:23.485Z","updated_at":"2026-06-22T02:31:35.147Z","avatar_url":"https://github.com/izenynn.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dr-quine\n\n## Status\n\n- Status: on going\n- Result: -\n- Observations: (null)\n\n## Info\n\n42 school project.\n\nThis project is about discovering the recursion theorem of Kleene!\nThe challenge is to write a program whose output is its own source code.\nThe rules are simple:\n\n- Self-replication: The program’s output must be an exact copy of its source code.\n- No peeking: You can’t just open the source file and print its contents. That’s cheating.\n- No input: The program must be completely self-contained. It can’t ask for any input to do its job.\n\n### Included quines:\n\n- `Collean`: prints its own source code.\n- `Grace`: outputs its source code to a child file.\n- `Sully`: outputs its source code to `X` files, where `X` is defined in the original source code.\n\n## Build\n\n### Dependencies:\n\n- [CMake](https://cmake.org/download/) (\u003e= 3.18).\n- [Ninja](https://ninja-build.org/).\n\n### 1. Configure with `Ninja`:\n\n```bash\ncmake -B build -G \"Ninja Multi-Config\" .\n```\n\nAlternatively, use a [Visual Studio generator](https://cmake.org/cmake/help/v3.18/manual/cmake-generators.7.html#visual-studio-generators)\nto create a solution:\n\n```bash\n# 64-bit\ncmake -B build -G \"Visual Studio 17 2022\" -A x64 .\n# 32-bit\ncmake -B build -G \"Visual Studio 17 2022\" -A Win32 .\n```\n\n### 2. Build:\n\n```bash\ncmake --build build --config Release\n```\n\nThe [Ninja Multi-Config](https://cmake.org/cmake/help/v3.18/generator/Ninja%20Multi-Config.html)\ngenerator lets you use other build types ([`CMAKE_BUILD_TYPE`](https://cmake.org/cmake/help/v3.18/variable/CMAKE_BUILD_TYPE.html))\nlike \"`Debug`\" or \"`RelWithDebInfo`\", apart from \"`Release`\".\n`Asan` builds are also supported, they enable the address sanitizer.\n\nThe resulting binaries are in `build/\u003cbuild-type\u003e/`.\n\n### Windows notes\n\nTo build and use `CMake` you can open a developer powershell, or load the\nVisual Studio command-line tools by running [`vcvarsall.bat`](https://learn.microsoft.com/en-us/cpp/build/building-on-the-command-line#developer_command_file_locations) (locations vary) in your shell:\n```\n# 32-bit\npath\\to\\vcvarsall\\vcvarsall.bat x86\n# 64-bit\npath\\to\\vcvarsall\\vcvarsall.bat amd64\n```\n\n##\n[![forthebadge](https://forthebadge.com/images/badges/made-with-c.svg)](https://forthebadge.com)\n[![forthebadge](https://forthebadge.com/images/badges/you-didnt-ask-for-this.svg)](https://forthebadge.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizenynn%2Fdr-quine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fizenynn%2Fdr-quine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizenynn%2Fdr-quine/lists"}