duktape
duktape copied to clipboard
Duktape - embeddable Javascript engine with a focus on portability and compact footprint
Sorry to bother you guys with such questions, but i'm interested in play with JavaScript and Lazarus applications (ultimate goal is making a minecraft clone on top of that), i'm...
@svaarala,hello great duktape developer,Currently duktape's buffer only supports utf8, is there any plan to support more encoding methods, similar to node.js('ascii', 'ucs2', 'base64', 'binary', 'hex'). For example: ``` console.log(buf.toString('base64')); ```...
Hi there, Please consider including the test suite in the release tarballs, so that GNU/Linux distributions like Debian and Ubuntu that use the tarballs for their packaging could run the...
Hi! We met an ASAN UAF report while testing the APIs, the POC is: ``` #include #include #include #include "duktape.h" duk_context* r; int main(void) { r = duk_create_heap_default(); duk_push_buffer(r, 0x400000,...
used for the plugins system https://openrct2.io/ https://github.com/OpenRCT2/OpenRCT2 many plugins here https://openrct2plugins.org/ I'm referring to this list https://wiki.duktape.org/projectsusingduktape
I noticed on the [website](https://duktape.org/) under the "Similar Engines" section that [MuJS](https://mujs.com/index.html) is listed as being licensed under Affero GPL. But on the [MuJS website](https://mujs.com/license.html) the license is listed as...
Hello there, when I try to use a simple for loop, I get "SyntaxError: parse error (line 2)" I can use while loops, but any for loops seems to cause...
The _duk_put_number_list_ documentation mentions: This is useful e.g. when defining numeric constants for modules or classes implemented in C. My tests showed that the properties created with _duk_put_number_list_ are writable....
The ptr_diff is taken between the post reallocation new_valstack pointer and pre-allocation thr->valstack pointer variables. Realloc function might change the base pointer, so there might be a difference between thr->valstack...
This is the error is get when trying to execute a lua file ``` :source (no file)` command. Specifically, it mentions "cannot resolve symbol 'duk_create_heap_default': The specified procedure could not...