-
-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
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
BIgInt/BigFloat support #12
Comments
Any updates on this? |
Ok, I have tried a few steps to fix the problem
Can build dylib. but when it runs, it throws: SyntaxError: invalid version (1 expected=2) I found the error coming from It seems that |
Updates Rooted problem, the polyfill scripts are compiled by See:
I create this pull request on One more plugins needed to compile is the So I strongly suggest that we should use CONFIG_BIGNUM enabled to all webf dependencies by default since most browsers have already support es2020 by default, and it is very important datatype for future apps. Otherwise we have to rebuild all packages by ourselves to make it compatible. Thanks again |
Thanks for your good work :) 👍🏻 I had approved your PR to Now you can try to upgrade the qjsc version in polyfill to If everythings is fine, A PR is always welcome. |
@neeboo I tried to add bignum support, and the final error displayed was |
@andycall 能帮我查看一下这个问题吗, 这个对我很重要, 如果成功解决这个问题, 我想去提交这个功能的PR |
@andycall 我找到产生问题的原因了,node-qjsc现在只有 darwin-arm64 版本,其他平台的没有升级 |
Use case
Enable BigInt/BigFloat support is important for quickjs. We have libbf.c included but CONFIG_BIGNUM is not added to build definition. Please include it as well.
Proposal
BigInt can be recognized in JavaScript side.
The text was updated successfully, but these errors were encountered: