tc39/proposal-decimal

Babel PR for BigDecimal syntax: volunteers wanted

littledan opened this issue ยท 4 comments

BigDecimal adds the 123.456d syntax for BigDecimal literals. Probably there's no good Babel transform to implement BigDecimal, but it would be useful for tools to be able to parse and generate it. One place to start would be to create a PR for Babel providing the new syntax, in parsing and generation. It will not make sense to land this PR until BigDecimal is at Stage 1 at least. Volunteers wanted!

very interested

I create a JSBD-style babel transformer based on this implement in this PR and inspired by babel-plugin-transform-bigint. Maybe check it out if interested. ๐Ÿ˜„

Hii @Mitscherlich. Thanks for working on this babel transformer. I recently took on this project as co-champion and have also started working on Babel transforms for the playground project. I'm not at the point where I am certain how to best combine our efforts, but I should have some thoughts soon.

There is also still some API unsteadyness, which may effect some feedback. For instance, I see that you have included **, but I think that will not end up being the case.

In the meantime, I am going to go ahead and close this issue for now so no one does work that might not be used and I will reopen when we have a slightly more stable API and I am better caught up.

Thank you again for this work; I look forward to collaborating more in the future.