moonscript/tests/inputs/literals.moon
leaf corcoran 05b3a8f989 fixed number literals (all lua ones supported)
integer, float and hex
2011-08-12 19:35:22 -07:00

22 lines
183 B
Plaintext

121
121.2323
121.2323e-1
121.2323e13434
2323E34
0x12323
0xfF2323
0xabcdef
0xABCDEF
[[ hello world ]]
[=[ hello world ]=]
[====[ hello world ]====]
"another world"
'what world'