SMS: Compiler design