Реферат: Интерпретатор 2
codetable[LabelPop()].value=lastcode+1;
insertcode(GOTO,"goto",LabelPop());
break;
default:
return;
}
}
}
int expr(void)
{
term();// Ввызов вспомогательной процедуры разбора
while(1)
{
switch(lookahead)// Обработка операций + - и логических уловий
{
case '+':
match(lookahead);// Перейти к следующему слову
term();
insertcode('+',"+",0);
break;
case '-':
match(lookahead);
term();
insertcode('-',"-",0);
break;
case JNE:
match(lookahead);
term();
insertcode(JE,"!=",0);