-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinterpreter.c
26 lines (25 loc) · 1.06 KB
/
interpreter.c
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
/*
+----------------------------------------------------------------------------------------------------+
|Author : Willians Costa da Silva |
|Email : [email protected] |
+----------------------------------------------------------------------------------------------------+
|License : GNU General Public License version 2.0 (GPLv2) - http://www.gnu.org/licenses/gpl-2.0.html |
|Created : 2013-12-01 |
|Note : Copy, distribute, modify freely, but keep the credits, please. |
+----------------------------------------------------------------------------------------------------+
*/
#include "core/syntax_analysis.h"
#include "core/core_script.h"
int main( int argc, char **argv )
{
if ( argc <= 1 )
{
printf( "Expected Script File!\n\nUse:%s myscript.mvk\n", argv[0] );
exit(EXIT_FAILURE);
}
arg_count = argc;
arg_val = argv;
syntax_init(argc, argv);
core_script_init();
return 0;
}