(dir) move parser to inline file