Implementation of an interpreter for a stack oriented programming language called $OM.
This group project was fully developed in C during the second semester of the Computer Science and Engineering degree at UMinho. The full process of development was evaluated and established the final grade for the "Laboratórios de Informática II" subject.
The interpreter can receive inputs using a specific sintax that is explained in deitail here, therefore it works like a calculator with some extra functionality. Here's how to try it out on your Linux machine:
Have in mind that this project was fully developed in C, which means a C compiler is needed to compile and run the program. Namely gcc that can be installed very easily using your favorite package manager. Here's how it goes for Manjaro Linux using pamac:
$ sudo pamac install gcc
Time to clone the repository, run the following command or simply donwload and extract the .zip file to your home.
$ git clone https://github.com/sassypocoyo/LI2-PL5G05.git
To compile the project, first let's move to the repository we just cloned/downloaded:
$ cd LI2-PL5G05/src
Then, run the compilation script by doing:
$ ./comp
Your done, now you just need to run the following command everytime you want to run the program.
$ ./proj
- A100545 Daniel Pereira;
- A100741 Diogo Matos;
- A100757 João Fernandes;
- A100555 Rodrigo Gomes.