opendylan
opendylan copied to clipboard
Add string-to-float to common-dylan
common-dylan has integer-to-string, string-to-integer, and float-to-string, but no string-to-float. Look at copying https://github.com/dylan-hackers/gwydion/blob/master/common/common-dylan/float.dylan over to Open Dylan
This is needed for the json parser.
a remark from @housel on IRC was: that specific code needs bignums, which are not there in Open Dylan
There is also an atof in the dfmc-reader ... and I think there's a copy of that code in the LLVM asm parser as well!
https://arxiv.org/pdf/2101.11408.pdf