Skip to content
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

[FEATURE] Implement BigInt #20

Open
naijun0403 opened this issue Dec 3, 2023 · 2 comments
Open

[FEATURE] Implement BigInt #20

naijun0403 opened this issue Dec 3, 2023 · 2 comments

Comments

@naijun0403
Copy link

naijun0403 commented Dec 3, 2023

~~Can you implement here what was implemented in the original Rhino now?

for example: BigInt, globalThis, Promise~~

Edit: BigInt must be supported.

@mattco98
Copy link
Member

mattco98 commented Dec 3, 2023

Can you be more specific? I might add something if someone requested it, but just saying "add everything that isn't implemented" isn't too helpful. Is there something in particular you need?

@naijun0403
Copy link
Author

naijun0403 commented Dec 3, 2023

Actually, there is no major inconvenience, but BigInt support seems to be particularly important.

For example, it would be nice to include grammar like 1n!

I can do it directly with java.lang.Long or java.math.BigInteager, but I think need to use BigInt natively to handle large numbers.

I will change the issue name accordingly.

@naijun0403 naijun0403 changed the title [FEATURE] Can you implement here what was implemented in the original Rhino now? [FEATURE] Implement BigInt Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants