aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/literals.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-02-17 11:22:07 +0800
committerLi Jin <dragon-fly@qq.com>2021-02-17 11:22:07 +0800
commit7066392d1c974065181d95d93274136dcd625d43 (patch)
treecf51eafc2c52cbc12246a306bca172d799193d30 /spec/inputs/literals.yue
parent90cd12ad9ef465f3e435e1bd034dcfbe4e19d016 (diff)
downloadyuescript-7066392d1c974065181d95d93274136dcd625d43.tar.gz
yuescript-7066392d1c974065181d95d93274136dcd625d43.tar.bz2
yuescript-7066392d1c974065181d95d93274136dcd625d43.zip
stop reusing variables, rename project.
Diffstat (limited to 'spec/inputs/literals.yue')
-rw-r--r--spec/inputs/literals.yue46
1 files changed, 46 insertions, 0 deletions
diff --git a/spec/inputs/literals.yue b/spec/inputs/literals.yue
new file mode 100644
index 0000000..d4b0326
--- /dev/null
+++ b/spec/inputs/literals.yue
@@ -0,0 +1,46 @@
1
2_ = {
3 121
4 121.2323
5 121.2323e-1
6 121.2323e13434
7 2323E34
8 0x12323
9
10 0xfF2323
11 0xabcdef
12 0xABCDEF
13
14 .2323
15 .2323e-1
16 .2323e13434
17
18
19 1LL
20 1ULL
21 9332LL
22 9332
23 0x2aLL
24 0x2aULL
25
26 [[ hello world ]]
27
28 [=[ hello world ]=]
29 [====[ hello world ]====]
30
31 "another world"
32
33 'what world'
34
35
36 "
37 hello world
38 "
39
40 'yeah
41 what is going on
42 here is something cool'
43
44}
45nil
46