CIL parser

initial work on CIL parsing