A translator for simple expressions