aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/literals.yue
diff options
context:
space:
mode:
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