We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm quite confused how to build low_js folder using duktape runtime. There is tool dukc, which compiles lib_js folder to lib .low files.
But the problem is ALL files in this folder are not compilable by duktape. First because duktape doesn't support let variable declaration.
And even without let - it reports errors on each second line for all js files.
For example:
const { Buffer } = require('buffer');
const { ERR_INVALID_ARG_TYPE, ERR_OUT_OF_RANGE } = require('internal/errors').codes;
duktape throws errors on this lines.
So how this .low files where compiled which are existing in binary distribution ?
The text was updated successfully, but these errors were encountered:
The Makefile transpiles these files with tsc before compiling them with DukTape.
Sorry, something went wrong.
No branches or pull requests
I'm quite confused how to build low_js folder using duktape runtime.
There is tool dukc, which compiles lib_js folder to lib .low files.
But the problem is ALL files in this folder are not compilable by duktape.
First because duktape doesn't support let variable declaration.
And even without let - it reports errors on each second line for all js files.
For example:
const { Buffer } = require('buffer');
const {
ERR_INVALID_ARG_TYPE,
ERR_OUT_OF_RANGE
} = require('internal/errors').codes;
duktape throws errors on this lines.
So how this .low files where compiled which are existing in binary distribution ?
The text was updated successfully, but these errors were encountered: