moonscript/spec/outputs/literals.lua

26 lines
422 B
Lua
Raw Permalink Normal View History

local _ = 121
_ = 121.2323
_ = 121.2323e-1
_ = 121.2323e13434
_ = 2323E34
_ = 0x12323
_ = 0xfF2323
_ = 0xabcdef
_ = 0xABCDEF
2013-01-24 23:20:06 +00:00
_ = .2323
_ = .2323e-1
_ = .2323e13434
2014-01-06 18:38:01 +00:00
_ = 1LL
_ = 1ULL
_ = 9332LL
_ = 9332
_ = 0x2aLL
_ = 0x2aULL
_ = [[ hello world ]]
_ = [=[ hello world ]=]
_ = [====[ hello world ]====]
_ = "another world"
_ = 'what world'
_ = "\nhello world\n"
_ = 'yeah\nwhat is going on\nhere is something cool'
return nil