Terminfo data base parsing using Marpa