Synccc + AspectScript

Tame Callback Hell Without Rewriting Everything

Run callback-based code in a synchronous style with a two-aspect Sync/cc implementation inspired by the JUCS 2021 paper.

Paper Reference

Research basis for this Sync/cc implementation.

Continuations and Aspects to Tame Callback Hell on the Web

Authors: Paul Leger, Hiroaki Fukuda, Ismael Figueroa

Journal: Journal of Universal Computer Science

Volume/Number: 27(9)

Pages: 955-978

Publication Date: September 2021

DOI: 10.3897/jucs.72205

Maintainer

Implementation and public playground maintenance.

Prepared and maintained by Paul Leger.

Examples

Pick an example and run it in your browser.

Example



        
Ready.