Reminder issue that we need to add resource limit checks for (stack size + alt stack size) check when implementing tapscript. This is not a problem for standard scripts because the 1000 limit is never hit because of existing resource limits for opcodes(201 in segwitv0/legacy) and initial stack limit(100, segwitv0).