1309100
Quex
https://vi.wikipedia.org/wiki?curid=1309100
Title: Quex
 "const" =&gt; QUEX_TKN_CONSTSYM; 
 "do" =&gt; QUEX_TKN_DOSYM; 
 "end" =&gt; QUEX_TKN_ENDSYM; 
 "if" =&gt; QUEX_TKN_IFSYM; 
 "odd" =&gt; QUEX_TKN_ODDSYM; 
 "procedure" =&gt; QUEX_TKN_PROCSYM; 
 "then" =&gt; QUEX_TKN_THENSYM; 
 "var" =&gt; QUEX_TKN_VARSYM; 
 "while" =&gt; QUEX_TKN_WHILESYM;
 {letter}({letter}|{digit})* =&gt; QUEX_TKN_IDENT(strdup(Lexeme));
 {digit}+ =&gt; QUEX_TKN_NUMBER(atoi(Lexeme));
. =&gt; QUEX_TKN_UNKNOWN(Lexeme);