UnB-CIC / sle-course

A Software Language Engineering Course using Rascal-MPL
2 stars 5 forks source link

Compiler #31

Open luisamaralh opened 4 years ago

luisamaralh commented 4 years ago

Create a compiler that translate our Oberon-lang to LLVM or FlyBytes

rbonifacio commented 4 years ago

In this case, I think that @arcosta and @FHandrick should start reading the LLVM documentation. I would suggest you guys write some simple C code and compile them to LLVM. After that, write a similar Oberon code and try to figure out some translation rules between Oberon and LLVM. We should write one translation rule to every Oberon construct (statements, expressions, and so on).