orangeduck/BuildYourOwnLisp

Change the grammar to recognize decimal numbers such as 0.01, 5.21, or 10.2.

Closed this issue · 2 comments

I already set regular expression for number, the compiler can receive decimal number but the output not in decimal format.

/-?[0-9]+(\\.[0-9]*)?/

Please advice. Thank you.

Please see previous issues: #110