Skip to content
Coroutine/Continuation/Async/Await PPX for ReasonML/Ocaml
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
draft
src
tests
.env.sh
.gitignore
.npmignore
.terminal.sh
LICENSE
Makefile
README.md
bsconfig.json
console.sh
copyPlatformBinaryInPlace.js
debug-bytecode.sh
dumpast-draft_ml.sh
install-compilers.sh
jbuild
opam
package-lock.json
package.json
parsertree-draft.sh
push-to-master.sh
refmt-draft_ml.sh
refmt-test-bytecode.sh
refmt-test-js.sh
refmt-test-native.sh
test-bytecode.sh
test-js.sh
test-native.sh
test.out.txt

README.md

#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.

If more people get on board, it can move further.

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
------>    ...
You can’t perform that action at this time.