kolibrios/programs/develop/kosjs/kosjs.c
maxcodehack 2a45e4a7f7 Upload kosjs interpreter
git-svn-id: svn://kolibrios.org@8455 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-20 07:57:39 +00:00

15 lines
203 B
C
Executable File

#include <stdio.h>
#include <stdlib.h>
#include <mujs.h>
#include <import.h>
int main(int argc, char **argv)
{
import_functions();
js_dofile(J, argv[1]);
js_freestate (J);
exit(0);
}