Raspberry BASIC

Author Topic: Duktape JavaScript ECMAscript engine  (Read 5345 times)

paulwratt

  • BASIC Developer
  • *
  • Posts: 5
    • View Profile
Duktape JavaScript ECMAscript engine
« 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

John Spikowski

  • BASIC Developer
  • ***
  • Posts: 234
    • View Profile
    • ScriptBasic
Re: Duktape JavaScript ECMAscript engine
« Reply #1 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.
« Last Edit: April 14, 2020, 06:26:55 AM by John Spikowski »
ScriptBasic Project Manager/Facilitator