Prepare dynamic executor in loose mode.

In loose mode, the program would not be terminated even when error occurs. Instead, the error would be archived and returns as a list. Otherwise, assert mode terminates the program directly when error occurs.