shithub: libmujs

ref: 5ce44f9d4a73250fefc15a6102e60773f7b3b8db
dir: /main.c/

View raw version
#include "js.h"

int
main(int argc, char **argv)
{
	js_State *J;
	int i;

	J = js_newstate();

	for (i = 1; i < argc; ++i)
		js_dofile(J, argv[i]);

	js_close(J);

	return 0;
}