forked from metthal/IFJ-Projekt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
interpreter.h
41 lines (36 loc) · 1.02 KB
/
interpreter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* Project name:
* Implementace interpretu imperativního jazyka IFJ13.
*
* Codename:
* INI: Ni Interpreter
*
* Description:
* https://wis.fit.vutbr.cz/FIT/st/course-files-st.php/course/IFJ-IT/projects/ifj2013.pdf
*
* Project's GitHub repository:
* https://github.com/metthal/IFJ-Projekt
*
* Team:
* Marek Milkovič (xmilko01)
* Lukáš Vrabec (xvrabe07)
* Ján Spišiak (xspisi03)
* Ivan Ševčík (xsevci50)
* Marek Bertovič (xberto00)
*/
/**
* @file interpreter.h
* @brief Declares interpreter.
*/
#ifndef INTERPRETER_H
#define INTERPRETER_H
#include "vector.h"
#include "instruction.h"
/**
* Runs interpretation of generated instructions.
* @param firstInstruction Pointer to first instruction of main (body) instruction vector.
* @param constTable Table holding constants - their types and values.
* @param addressTable Table holding addresses for calling functions.
*/
void interpret(const Instruction *firstInstruction, const Vector *constTable, const Vector *addressTable);
#endif