THE GRAMMAR ARCHITECTURE