Parser for alphabet