LLVM frontend for Arduino
Project Developed at Universidade Federal de Goiás - Regional Jataí http://computacao.jatai.ufg.br
This code is a framework to build LLVM compiler frontend's. It uses the compiler backend in https://github.com/avr-llvm/llvm.
The purpose of the framework is to provide basic support for academics, taking the Compiler course, to build their own language an run it on Arduino boards.
The files rob.l and rob.y implements a general purpose example language, using the framework in node.h file. Examples of the language are provided in test folder.
Academics has built their own specific language, to run an arduino connect to a robot arm (1). The project file is provided in the proj folder, file project.pdf, writen in Brazilian Portuguese.
1 - Clone o repositório 'MUSSUM-Compilis':
2 - Instale os pacotes necessários:
LLVM Encontre o llvm adequado a sua distribuição: llvm
3 - Instale o pacote lncurses-dev, clang e llvm-3.8
sudo apt-get install libncurses5-dev clang llvm-3.8
https://grisotto.github.io/MUSSUM-Compilis/
Vídeos de ajuda: