From Linguistic Events and Restricted Languages to Registers