Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 1.15 KB

README.md

File metadata and controls

54 lines (44 loc) · 1.15 KB

Parser and Interpreter for ipl Language

ipl is a programming language with its own syntax that was created for this project.

This program takes as input programs written in ipl, uses a parser to read the code (for syntax errors) and then an interpreter to execute the commands.

The language supports commands such as while, if, else, break, continue,...

Programms written in ipl can be found in the folder programs.

The program kalmpr.ipl is this project written in ipl.

Use the Makefile to compile, run and clean using the following commands:

Compile Program

make

Run Program

Use the interpreter to execute different programs written in ipl language:

./ipli programs/kalmpr.ipl
./ipli programs/selectsort.ipl
./ipli programs/nqueens.ipl
./ipli programs/matrmult.ipl
./ipl programs/numbers.ipl
./ipl programs/countdivs.ipl
./ipl programs/factorize.ipl
./ipl programs/humble.ipl
./ipl programs/primes.ipl

Clean After Execution

make clean