{"id":13704678,"url":"https://github.com/endel/galapagos","last_synced_at":"2025-05-05T10:30:42.164Z","repository":{"id":25078050,"uuid":"28498514","full_name":"endel/galapagos","owner":"endel","description":"Evolutionary language transformation.","archived":false,"fork":true,"pushed_at":"2015-03-07T22:16:26.000Z","size":282,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-21T16:48:02.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"camspiers/galapagos","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/endel.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":"2014-12-26T03:38:43.000Z","updated_at":"2019-03-16T07:25:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/endel/galapagos","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/endel%2Fgalapagos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fgalapagos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fgalapagos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fgalapagos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endel","download_url":"https://codeload.github.com/endel/galapagos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252480356,"owners_count":21754757,"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":[],"created_at":"2024-08-02T21:01:17.493Z","updated_at":"2025-05-05T10:30:41.785Z","avatar_url":"https://github.com/endel.png","language":"PHP","funding_links":[],"categories":["目录","结构( Architectural )","Architectural Architectural"],"sub_categories":["数据结构和存储 Data Structure and Storage"],"readme":"# Galapagos\n\nEvolutionary language transformation. Fork of [igorw](https://github.com/igorw)'s initial work.\n\nRead the related [blog post](https://igor.io/2013/07/26/evolving-syntax.html).\n\nBackport existing PHP features to previous versions through AST compilation.\nInspired by lisp macros. Using the incredible\n[nikic/PHP-Parser](https://github.com/nikic/PHP-Parser).\n\n## Missing features\n\n### 5.4\n\n* Binary number format\n* Closure rebinding\n\nEdge cases:\n\n* Calling private methods from within closure\n* Ensure `$that` gets passed to nested closures\n\n### State\n\nThere needs to be a strategy for managing state. A trait transformer needs to\nkeep track of the traits it found. That is currently missing.\n\n### Preservation\n\nThere should be a way to preserve existing code formatting, especially for\ncode that wasn't actually modified. Instead of pretty-printing everything,\nonly changed parts of the AST should be changed in source. Three-way-diff may\nhelp with this.\n\n### Line numbers\n\nIs there any way to do something like source maps to refer to the original\nline numbers, so that code remains at all debuggable?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendel%2Fgalapagos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendel%2Fgalapagos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendel%2Fgalapagos/lists"}