almost finish FIPA SL parser implementatio