kanaka / mal

mal - Make a Lisp
Other
10k stars 2.53k forks source link

solve issue Floats don't work in the python implementation. #646 #654

Closed jero98772 closed 1 month ago

jero98772 commented 2 months ago

the error was because it is not converted to float change the line 34 from elif re.match(float_re, token): return int(token) to elif re.match(float_re, token): return float(token)

kanaka commented 1 month ago

Thanks for catching that!