Adding semantic parsing to cpp