compile let statements and other stuff