use recursive regex for interpolation
parser: remove unreachable code