Skip to content

Commit dbbc3b9

Browse files
authored
Update interpreter.c
1 parent 26c40b5 commit dbbc3b9

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

interpreter.c

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*Implementation of a custom interpreter for a small language written in C.
2+
The interpreter supports basic arithmetic operations, string manipulation (including concatenation),
3+
and I/O operations like scanf and printf.
4+
It handles variable declarations for integers and strings, error reporting, and
5+
executes statements line by line. The project showcases
6+
a simple yet functional scripting language with basic support for integers and strings,
7+
designed to demonstrate interpreter design principles.*/
8+
9+
/*Most tasks completed and solutions provided.
10+
While some tasks are still in progress,
11+
the majority of the work has been successfully implemented and documented.*/
12+
13+
14+
15+
116
#include <ctype.h>
217
#include <stdio.h>
318
#include <stdlib.h>
@@ -254,4 +269,4 @@ int main() {
254269
}
255270

256271
return 0;
257-
}
272+
}

0 commit comments

Comments
 (0)