shithub: libmujs

ref: cb273846e4702b096feb761d26c3cff82f2f22df
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_loadfile(J, argv[1]);
		// js_run(J);
	}

	js_close(J);

	return 0;
}