Front-end prototype for CS