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

14 lines
237 B
Lua

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