javascript: support using nodejs as jsshell interpreter.master
commit08f0905643301767fc3f0d2c73cdeb2347863d8e
authorAvery Pennarun <apenwarr@gmail.com>
Sat, 14 Oct 2017 02:27:41 +0000 (13 22:27 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Sat, 14 Oct 2017 02:38:52 +0000 (13 22:38 -0400)
treef39343d8ec86e5fe7d6e965722851760e839d040
parent887098a02192dac8cbd155472807c3b5391aa980
javascript: support using nodejs as jsshell interpreter.

libv8-dev on many systems (ie. Debian) is super old and doesn't support
modern javascript syntax.  A version of nodejs is usually available with
something better, so let's use that if we can.

(Maybe we should consider using that in preference to jsc on MacOS, too.)
javascript/Makefile
javascript/nodeshell [new file with mode: 0755]
javascript/nodeshell.js [new file with mode: 0644]
javascript/t/ttest.js
javascript/t/ttrace.js
javascript/wvtest.js