tj / luna

luna programming language - a small, elegant VM implemented in C
2.45k stars 147 forks source link

lexer: fix int default to float #55

Closed yorkie closed 10 years ago

yorkie commented 10 years ago

In current version:

luna> 1
(float 1.000000)

I think it should be

luna> 1
(int 1)

Then I do this fixup :p