{"id":20637066,"url":"https://github.com/travorlzh/jpp","last_synced_at":"2026-06-06T15:02:20.820Z","repository":{"id":162217248,"uuid":"138306918","full_name":"TravorLZH/JPP","owner":"TravorLZH","description":"Modular Macro Processor from Scratch","archived":false,"fork":false,"pushed_at":"2018-08-11T05:11:51.000Z","size":69,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T08:13:17.251Z","etag":null,"topics":["macro-processor","macros"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TravorLZH.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":"2018-06-22T13:37:39.000Z","updated_at":"2024-12-30T00:54:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc6ebbc1-dc1a-450b-bc84-8a965511b1b8","html_url":"https://github.com/TravorLZH/JPP","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/TravorLZH%2FJPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravorLZH%2FJPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravorLZH%2FJPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TravorLZH%2FJPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TravorLZH","download_url":"https://codeload.github.com/TravorLZH/JPP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242656036,"owners_count":20164431,"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":["macro-processor","macros"],"created_at":"2024-11-16T15:12:52.979Z","updated_at":"2025-12-05T15:03:07.073Z","avatar_url":"https://github.com/TravorLZH.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"JMacro - Re-implementation of macro processor\n=============================================\n\nThis project is originally created for preprocessing Java code, but I\nrecently realized that you are allowed to run `cpp` on Java code\n\nFeel free to do this in C. Nothing's implemented yet but work plan\n\n## Design\n\nUnlike those monolithic GNU softwares, my project aims to be modular. Builtin modules are listed below:\n\n* Define: Deals with `#define` directive\n* include: Deals with `#include` directive\n* Comment: Strips comments out\n\n### Preprocessing Progress\n\n1. Parsing command line arguments\n2. Calling modules to expand macros\n3. Check if all macros are expanded\n\t* If not, jump to step 2\n\n## Current Plan\n\n- [ ] Define macro using `#define`\n- [ ] Include other files using `#include`\n- [ ] Undefine macro using `#undef`\n- [ ] Strip out comments\n\n## Further Goals\n\n* Condition macro like `#if`\n* Optimization for Java\n* Builtin macros for conveniencing x86 Assembly Language.\n* Macros look like functions\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravorlzh%2Fjpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftravorlzh%2Fjpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravorlzh%2Fjpp/lists"}