parse guarded alts