Skip to content

Interpreter for a stack oriented programming language, written in C

Notifications You must be signed in to change notification settings

diogogmatos/LI2-PL5G05

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

LI2-PL5G05

Final Grade: 19/20

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.

Installing and running the program

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:

Dependencies

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

Cloning the repository

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

Compiling and running

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

Have fun!

Developed by

  • A100545 Daniel Pereira;
  • A100741 Diogo Matos;
  • A100757 João Fernandes;
  • A100555 Rodrigo Gomes.

About

Interpreter for a stack oriented programming language, written in C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •