haxetink / tink_await

Haxe async/await
MIT License
58 stars 15 forks source link

Using tink_syntaxhub #5

Closed benmerckx closed 6 years ago

benmerckx commented 8 years ago

Is now done here: https://github.com/haxetink/tink_await/blob/master/src/tink/await/Await.hx#L18 It's probably a bit naive and mostly copied from tink_lang. I could use a few pointers on how to improve the interoperability with tink_lang.

Classes with @await are transformed. Also unsure if this should be @tink_await. Or if this should simply check all members of a class for @async?