Binary list to decimal string block

I know many people have answered this question before, but I have a couple limitations.

I want to use this for a project that works with unfathomably large integer numbers (basically BigInts) but without using javascript or the BigNums library.

I need to convert a binary list of booleans (least significant digit first) into a decimal string, while not lazily converting them into a number.

the block to do the conversion

the block returning the integer type

sorry, I don’t know what you mean.

For that, you’ll basically need a base-10 bignum. Addition is all you need though.

How “unfathomably large” are these integers?

they are generated using a boolean list, so the limit is the longest possible list that :snap: can handle.

yes but even bignums have limits. which is why i said

you used the javascript function block in the definition of the block returning the integer type.

it was used for the _morph attribute of the ADT. I was planning to add extra code in case js extensions wasn’t enabled as a failsafe, but i forgot

it’s okay just convert the javascript function contents into snap script
if you want to transform the result into monospace font, then use the writing and formatting library

just make your own bignum that uses a string

oh i actually haven’t thought of that