src/egt.record.m: implemented LALR state record parsing