feat(#52): compilation support for fold and unfold blocks