- Page 1 and 2: UNIVERSIDADE DO AMAZONAS Instituto
- Page 3 and 4: Menezes, Nilo Comport - Compilador
- Page 5 and 6: Aos meus pais pelo incentivo e supo
- Page 7: Comport - Compilador Portugol Nilo
- Page 11 and 12: SUMÁRIO ComPort - Compilador Portu
- Page 13 and 14: ComPort - Compilador Portugol 2.11.
- Page 15 and 16: LISTA DE TABELAS ComPort - Compilad
- Page 17 and 18: INTRODUÇÃO ComPort - Compilador P
- Page 19 and 20: ComPort - Compilador Portugol Ao co
- Page 21 and 22: 1.1.4. Autômatos Finitos ComPort -
- Page 23 and 24: Figura 3 - Exemplo de autômato fin
- Page 25 and 26: Figura 5 - Fases de um compilador 1
- Page 27 and 28: 3, abaixo: ComPort - Compilador Por
- Page 29 and 30: ComPort - Compilador Portugol Esta
- Page 31 and 32: 2. PORTUGOL ComPort - Compilador Po
- Page 33 and 34: 2.3. VARIÁVEIS E IDENTIFICADORES C
- Page 35 and 36: 2.6.2. Operadores Lógicos Tabela 5
- Page 37 and 38: ComPort - Compilador Portugol A est
- Page 39 and 40: ComPort - Compilador Portugol As fu
- Page 41 and 42: ComPort - Compilador Portugol op-re
- Page 43 and 44: 3. O COMPILADOR PORTUGOL 3.1. ANALI
- Page 45 and 46: ComPort - Compilador Portugol IR, o
- Page 47 and 48: Instrução Significado Formato Des
- Page 49 and 50: CONCLUSÃO ComPort - Compilador Por
- Page 51 and 52: SCANNER.H #ifndef ISCANNER #define
- Page 53 and 54: #define CARACTERE 53 #define NUMERO
- Page 55 and 56: SCANNER.CPP ComPort - Compilador Po
- Page 57 and 58: } sym = ENUMERO; do { if (val = '0'
- Page 59 and 60:
case '-': ch = fgetc (R); sym = MEN
- Page 61 and 62:
{ } error = FALSO; errpos = pos; R
- Page 63 and 64:
AdicionaConjunto(comandos, FIMFUNCA
- Page 65 and 66:
PARSER.H #ifndef IPARSER #define IP
- Page 67 and 68:
PARSER.CPP ComPort - Compilador Por
- Page 69 and 70:
} } } Get (sym); expression (y); if
- Page 71 and 72:
} case MAIS: Get (sym); term (x); b
- Page 73 and 74:
} ComPort - Compilador Portugol par
- Page 75 and 76:
} } else Mark ("IDENTIFICADOR?"); /
- Page 77 and 78:
ComPort - Compilador Portugol { Obj
- Page 79 and 80:
} { Mark ("IDENTIFICADOR?"); tp = i
- Page 81 and 82:
ComPort - Compilador Portugol OpenS
- Page 83 and 84:
} OpenScope (); // Tipos predefinid
- Page 85 and 86:
Type base; int size, len; }; #ifnde
- Page 87 and 88:
CODEGENERATOR.CPP ComPort - Compila
- Page 89 and 90:
} Mark ("Boolean ?"); load (x); x.m
- Page 91 and 92:
} x.r = 0; else if (y->lev == curle
- Page 93 and 94:
} { if (op == MAIS) x.a += y.a; els
- Page 95 and 96:
{ } long r; if (x.type == ftyp) { i
- Page 97 and 98:
} void Enter (long size) { Put (PSH
- Page 99 and 100:
} strcpy (mnemo[OR], "OR "); strcpy
- Page 101 and 102:
FUNCOES.CPP #include #include #de
- Page 103 and 104:
RISC.H #ifndef IRISC #define IRISC
- Page 105 and 106:
ComPort - Compilador Portugol R[a]
- Page 107 and 108:
} for (i = 0; i < len; i++) M[i] =
- Page 109 and 110:
PRINCIPAL.CPP #include #include #
- Page 111 and 112:
ComPort - Compilador Portugol CFLAG
- Page 113 and 114:
ComPort - Compilador Portugol $(PRO
- Page 115 and 116:
ComPort - Compilador Portugol APEND
- Page 117 and 118:
CVTD2F, CVTD2I, CVTI2F, CVTI2D __D,
- Page 119 and 120:
ComPort - Compilador Portugol Insti
- Page 121 and 122:
ComPort - Compilador Portugol URL:h
- Page 123 and 124:
ComPort - Compilador Portugol Insti
- Page 125:
símbolos, 19 inicial, 19 não-term