shithub: libmujs

ref: 0f87d01184d3eee0c5b4b41b765ef5d11093f0c4
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[i]);
		// js_run(J);
	}

	js_close(J);

	return 0;
}