add jvector, jscalar, and support multi-output statements