def create_parser():
select = create_select()<EOL>scan = create_scan()<EOL>delete = create_delete()<EOL>update = create_update()<EOL>insert = create_insert()<EOL>create = create_create()<EOL>drop = create_drop()<EOL>alter = create_alter()<EOL>dump = create_dump()<EOL>load = create_load()<EOL>base = (<EOL>select | scan | delete | update | insert | create | drop | alter | dump | load<EOL>)<EOL>explain = upkey("<STR_LIT>").setResultsName("<STR_LIT:action>") + Group(<EOL>select | scan | delete | update | insert | create | drop | alter<EOL>)<EOL>analyze = upkey("<STR_LIT>").setResultsName("<STR_LIT:action>") + Group(<EOL>select | scan | delete | update | insert<EOL>)<EOL>dql = explain | analyze | base<EOL>dql.ignore("<STR_LIT>" + restOfLine)<EOL>return dql<EOL>
Create the language parser