Fix memleaks and incompat with the current parser
Add generated files
Add benchmark with the current implementation