Skip to content

A parser and an interpreter for a programming language that we created, called ipl

Notifications You must be signed in to change notification settings

JennyKozi/Interpreter_ipl

Repository files navigation

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

About

A parser and an interpreter for a programming language that we created, called ipl

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published