{"id":13629625,"url":"https://github.com/B1Z0N/LazyshGen","last_synced_at":"2025-04-17T09:35:09.637Z","repository":{"id":122787732,"uuid":"394798970","full_name":"B1Z0N/LazyshGen","owner":"B1Z0N","description":"Source generator to get seamlessly lazy at compile time.","archived":false,"fork":false,"pushed_at":"2023-02-25T13:35:11.000Z","size":38,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-05T15:28:50.110Z","etag":null,"topics":["csharp","csharp-sourcegenerator","source-generators","sourcegenerator"],"latest_commit_sha":null,"homepage":"","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/B1Z0N.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":"2021-08-10T22:48:17.000Z","updated_at":"2024-05-07T23:08:33.000Z","dependencies_parsed_at":"2024-01-06T09:53:51.742Z","dependency_job_id":"c8f041f3-85b6-43fb-88bb-39ac4aafc923","html_url":"https://github.com/B1Z0N/LazyshGen","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/B1Z0N%2FLazyshGen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B1Z0N%2FLazyshGen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B1Z0N%2FLazyshGen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B1Z0N%2FLazyshGen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/B1Z0N","download_url":"https://codeload.github.com/B1Z0N/LazyshGen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223751292,"owners_count":17196605,"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":["csharp","csharp-sourcegenerator","source-generators","sourcegenerator"],"created_at":"2024-08-01T22:01:15.102Z","updated_at":"2024-11-08T20:31:26.087Z","avatar_url":"https://github.com/B1Z0N.png","language":"C#","funding_links":[],"categories":["Source Generators","Do not want to test 112 ( old ISourceGenerator )"],"sub_categories":["Other","1. [ThisAssembly](https://ignatandrei.github.io/RSCG_Examples/v2/docs/ThisAssembly) , in the [EnhancementProject](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enhancementproject) category"],"readme":"# Lazysh source generator\n\nSee [this](Usage/Program.cs) for detailed tutorial.\n\n# Limitations\n\nUnfortunately, as this project helped me to find out, we can't be more implicit about source generation.\nCompiler can't run through all usages of LazyshFactory\u003cISomeInterface\u003e, get all such interfaces and generate lazies for them on demand.\nIt won't work as the C++ templates do. You should always register it with some kind of static compile-time field/attribute/declaration and so on.\n\n### BUT\n\nIf you think it's possible and have some hints on how to do it(how to actually emulate C++ tempaltes in C# source generation + C# generics),\n\n### THEN\n\nplease contact [me](https://linktr.ee/b1z0n).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FB1Z0N%2FLazyshGen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FB1Z0N%2FLazyshGen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FB1Z0N%2FLazyshGen/lists"}