duktape icon indicating copy to clipboard operation
duktape copied to clipboard

Duktape - embeddable Javascript engine with a focus on portability and compact footprint

Results 146 duktape issues
Sort by recently updated
recently updated
newest added

Hi, thanks for this amazing work. I am trying to compile duktape within and Arduino IDE, on an ESP8266 board. I know that there is a duktape on ESP32 project...

question
config

Hello, I'm using version duktape 2.3.0 and I have issues to load Node.js modules. In the following web page: https://duktape.org/guide.html there is a link for a Node.js modules compatible loader....

Outward symptoms, for `make duk` on GCC 5+: ``` duk> ArrayBuffer() = || ``` Expected result is a TypeError: ``` duk> ArrayBuffer() TypeError: constructor requires 'new' at [anon] (duk_api_call.c:386) internal...

bug
portability

There are two API calls to conveniently initialize objects from C: - http://duktape.org/api.html#duk_put_function_list - http://duktape.org/api.html#duk_put_number_list There are a few downsides to these: - Separate calls are needed to initialize functions...

enhancement
api

Currently external declaration is a struct with a fixed size byte array, while the internal struct has a separate declaration only visible to internals (with a byte size smaller than...

enhancement
api

Proposal from IRC: https://github.com/mamod/JavaScript-Duktape/pull/23/commits/91f0ef29096f19991186a27a268d92521ff7d983. Changes: - [x] For Windows target, when compiling with MinGW, use __builtin_{setjmp,longjmp}() to avoid a potential crash issue - [x] Identify Cygwin target as "cygwin", not...

portability

Hey, I have some kind of a custom object that uses proxy to virtualize properties and pass the properties access to an inner handler, so writing `a.b.c.d` will access each...

question

I do not need the ability to catch JS exceptions in my application. In fact, it is acceptable to me if the whole process aborts when a JS-level exception is...

question
portability

I saw this example which limits the memory by re-defining the allocation functions. https://github.com/svaarala/duktape/blob/master/examples/sandbox/sandbox.c Are DUK_USE_CALLSTACK_LIMIT and DUK_USE_VALSTACK_LIMIT overlapping what the example is doing as call stack and value stack...

question

Hi, I'm trying to validate that my approach is correct. It seems to work, but whenever I dump the stack I cant see the function "read". What I want to...

question