issues
search
UnBCIC-TP2
/
Oberon-Scala
An implementation of the Oberon language using Scala
55
stars
118
forks
source link
Entrega final CCodeGen
#159
Closed
mrkeepout
closed
10 months ago
mrkeepout
commented
10 months ago
Criação de 13 testes
Os testes abrangeram as seguintes funcionalidades.
Teste de OR, AND e negação lógica.
Teste condicional (if e else).
Teste de estruturas de repetição (While).
Testes aritméticos (Soma, multiplicação, subtração e divisão).
Implementações
Não concluída a implementação do For. (Função implementada, porém com erros).
TODO
mainHeader permitir o uso da biblioteca math.h e stdlib.h
Permitir o uso de mais de 2 variáveis em uma única instrução (pode ser problemática a criação de "pseudoinstruções" na tradução de C para Oberon).
Switch Case.
For.
Correções:
Formatação código em C.
Refatoração de testes afetados pelo bug.
Refatoração na tradução CCodeGen.scala.
Criação de 13 testes
Os testes abrangeram as seguintes funcionalidades.
Implementações
TODO
Correções: