The COMTAY coroutine manager makes it easy to create and manage coroutines in Delphi and Free Pascal.
Download COMTAY at https://opensimply.org/comtay
The approach implemented in COMTAY allows the use of cooperative multitasking in both procedural and class-based programming.
...First KAREL-3D is created in 1986 after Karel the Robot, in Slovakia ( before Czechoslovakia ) on 8 bit microcomputer PMD 85-2 for school kids to learn algorithm and what is programming, teach know how to solve a logical problem, like Spock and his children from the planet Vulcan ( live long and prosper ).
because it's fun
Actual WebGL version: https://sourceforge.net/projects/karel-3d-webgl/
...Functionality P* has by now is MySQL database access with prepared statements, HTML templates, standard arithmetic and variables, functions, structs, (to-be-classes), JSON output, GET and POST.
Say hello on the mailing list if you want to participate: p-star-dev@googlegroups.com
Checkout P* on Github: https://github.com/P-star/P-star
Please visit the web-page for more details.