2
에 나는 누락 된 경우 정의를 얻고있다.누락 된 경우 정의는 미란다
내가에서 호출하고있어 곳입니다 (경고 :이 심하게 지금 작성된 비트의) :
readword input state tape
=output tape, if (((haltcheck sWord sNum state tape)=true)&(isprefix " halt" rline))
=doinst rline state tape , if ((check sWord sNum state tape)=true)
=readword tail state tape, otherwise
where
theline = dropwhile notit input
start = dropwhile isspace theline
sWord = takewhile letter start
ends = dropwhile notspace start
distart = dropwhile isspace ends
sNum = takewhile notspace distart
tail = dropwhile notspace distart
rline = takewhile notit tail
대단히 감사합니다. 지금은 차기라고 생각하지 않았습니다. – user23012