Raspberry BASIC

Raspberry BASIC => Other Languages => Topic started by: paulwratt on April 14, 2020, 03:50:56 AM

Title: Duktape JavaScript ECMAscript engine
Post by: paulwratt on April 14, 2020, 03:50:56 AM
when duktape is built with linenoise a tiny JavaScript Interpreter is also build by default, which can also work the same way shell scripts do. It is ECMAscript 6 compatible.

https://duktape.org/
https://github.com/svaarala/duktape/
https://github.com/paulwratt/linenoise

Cheers

Paul
Title: Re: Duktape JavaScript ECMAscript engine
Post by: John Spikowski on April 14, 2020, 06:21:30 AM
This looks like it might be a nice ScriptBasic extention module. I have a V7 JavaScript extension module but the library is now deprecated.

I believe Dave Zimmer the developer that did the ScriptBasic COM extension module also wrote a VB6 Ducktape extension.