{"id":17249558,"url":"https://github.com/huy-dna/nonvariadic-printf","last_synced_at":"2025-02-24T18:31:11.812Z","repository":{"id":220485198,"uuid":"622899707","full_name":"Huy-DNA/nonvariadic-printf","owner":"Huy-DNA","description":"An implementation of printf + A preprocessor to pass the code through before compiling","archived":false,"fork":false,"pushed_at":"2024-03-31T06:45:01.000Z","size":22,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-04-28T06:24:36.184Z","etag":null,"topics":["cpp","implementation","makefile","printf","python3","speculative"],"latest_commit_sha":null,"homepage":"https://blogginginhell.netlify.app/posts/printf-a-speculative-implementation-part-2","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Huy-DNA.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}},"created_at":"2023-04-03T09:40:05.000Z","updated_at":"2024-03-31T09:54:58.000Z","dependencies_parsed_at":"2024-03-18T03:46:19.124Z","dependency_job_id":null,"html_url":"https://github.com/Huy-DNA/nonvariadic-printf","commit_stats":null,"previous_names":["huy-dna/nonvariadic-printf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huy-DNA%2Fnonvariadic-printf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huy-DNA%2Fnonvariadic-printf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huy-DNA%2Fnonvariadic-printf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Huy-DNA%2Fnonvariadic-printf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Huy-DNA","download_url":"https://codeload.github.com/Huy-DNA/nonvariadic-printf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219844982,"owners_count":16556477,"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":["cpp","implementation","makefile","printf","python3","speculative"],"created_at":"2024-10-15T06:44:42.475Z","updated_at":"2024-10-15T06:44:43.059Z","avatar_url":"https://github.com/Huy-DNA.png","language":"C++","readme":"# nonvariadic-printf\nAn implementation of printf + A pre-preprocessor to pass the code through before compiling.\n\nPlease read the blog post at https://blogginginhell.netlify.app/posts/printf-a-speculative-implementation to understand the idea.\n\n## Requirements\n- bash\n- python3\n- GNUMake\n\n## How to use\n- Write a program `main.cpp` using `my_printf`, the syntax is just like normal `printf` with some limitations in capabilities.\n- Running `make` to run the pre-preprocessor and compile the program.\n- `./main` to run the program.\n- Additionally, you can inspect the `main.output.cpp` file to inspect the output generated by the pre-preprocessor.\n\n## Limitations\n- Only supports `%d`, `%f`, `%s` and `%p` format specifier.\n- The `%f` format specifier only works with `double`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuy-dna%2Fnonvariadic-printf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuy-dna%2Fnonvariadic-printf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuy-dna%2Fnonvariadic-printf/lists"}