Skip to content

Maraaghib/mini-projetCompilation

Repository files navigation

Mini-project: interpretation and compilation of the IMP language

To compile the project, type:

make

1. Interpreter of IMP language

To run this executable, type:

./iimp --intIMP < inputs/src*.imp * = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}

2. Interpreter of C3A (Code à 3 Adresses) language

To run this executable, type:

./interpreterC3A < inputs/src*.c3a * = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}

3. Compiler of IMP language

To run this executable, type:

./iimp --compIMP < inputs/src*.imp * = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}

4. Compiler of C3A (Code à 3 Adresses) language

To run this executable, type:

./compilerC3A < inputs/src*.c3a * = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}

To clean the directory, type:

make clean

About

Mini-projet de compilation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published