add c example, remove some prints, small fix in parser