Skip to content

Coroutine/Continuation/Async/Await PPX for ReasonML/Ocaml

License

Notifications You must be signed in to change notification settings

wiltonlazary/cps_ppx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#cps_ppx

Hi guys, for me asynchronous computations are a matter of urgency, then I made a PPX that behind scene transform discret sequential code into AST continuation, for simple code style as an act to prove the viability and get helped to implement all the AST patterns.

What works fully async by now:
------>    nested [@cps] function declaration
------>    function apply "named by: await/delay or with sufix Cps/Await/Delay"
------>    single let bindings
------>    if/then/else
------>    match/cases
------>    try/cases

What will come fully async on short:
------>    context api
------>    channels
------>    for/while loops
------>    instance methods on cps apply detection
------>    ...

About

Coroutine/Continuation/Async/Await PPX for ReasonML/Ocaml

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published