Parser for cwise