UnBCIC-TP2 / Oberon-Scala

An implementation of the Oberon language using Scala
55 stars 118 forks source link

Sprint 2 and Sprint 3 - CCodeGenerator (Grupo 1) - Type definition, declaration and usage of ARRAY and RECORD #108

Closed SergioAlonsoJr closed 2 years ago

SergioAlonsoJr commented 2 years ago

Participação de:

Não teve participação de:

Our Sprint 2 code is essentialy capable of converting the Oberon file on the left into the C code on the right.

Array and Struct definition and declaration

image

Our Sprint 3 code is capable of doing the following convertions

Array usage

image

Record (struct) usage

image