Enviar por SMS: Applying attribute grammars to teach linguistic rules