{"id":16473113,"url":"https://github.com/binki/generalizedasyncpushpullparser","last_synced_at":"2025-02-28T06:20:51.711Z","repository":{"id":143134212,"uuid":"118289366","full_name":"binki/GeneralizedAsyncPushPullParser","owner":"binki","description":"An abuse of C#’s async/await to write a pull-style parser with a push-style public API.","archived":false,"fork":false,"pushed_at":"2018-01-20T23:33:43.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T02:19:10.915Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/binki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-01-20T23:31:45.000Z","updated_at":"2018-01-20T23:32:48.000Z","dependencies_parsed_at":"2023-04-10T08:35:57.161Z","dependency_job_id":null,"html_url":"https://github.com/binki/GeneralizedAsyncPushPullParser","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/binki%2FGeneralizedAsyncPushPullParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2FGeneralizedAsyncPushPullParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2FGeneralizedAsyncPushPullParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2FGeneralizedAsyncPushPullParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binki","download_url":"https://codeload.github.com/binki/GeneralizedAsyncPushPullParser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241110884,"owners_count":19911410,"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-10-11T12:25:22.487Z","updated_at":"2025-02-28T06:20:51.682Z","avatar_url":"https://github.com/binki.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"This doesn’t actually use GeneralizedAsync. It just uses the generalness in\n`GetAwaiter()` to demonstrate how one can write a pull-style parser with, e.g.,\nrecursive/nested constructs while providing a push-style API for consumers.\nIt does not actually provide a good example of such a parser and, due to\noperating character by character, is terribly inefficient and the API is a\nbit convoluted. But I thought I’d show as a proof of concept how to abuse\nthe `async`/`await` state machine.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinki%2Fgeneralizedasyncpushpullparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinki%2Fgeneralizedasyncpushpullparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinki%2Fgeneralizedasyncpushpullparser/lists"}