Re:Automatic code conversion from async to sync
by PaulHoule on Monday September 23, 2024 @09:13AM
(#41625715)
You can accomplish a lot like this without parsing at the AST level as a lot of api calls are something like
so you can ultimately write
and then generate a bunch of sync and async closures that capture that_call and then call the right things. In the typical API that you might want to compose sync/async I find at least 90% can be generated that way but working at the AST level you can get the last bit.
[ Parent
| on HN ]
There are no comments on this comment yet.