a simple toy compiler written on f-sharp