Phōs under pthreads

From Spivey's Corner
Jump to: navigation, search

For experimentation and debugging, it would be really nice to have an implementation of the Phōs API in terms of pthreads. Then Phōs programs could run on a Linux (or other) host instead of running on the micro:bit. Dummy device drivers could be written so that a Phōs program could communicate using standard input and output.