Implements a simple compiler that uses the green threads implementation