diff options
author | Li Jin <dragon-fly@qq.com> | 2023-08-17 10:36:15 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-08-17 10:36:15 +0800 |
commit | e61cce21ef7def2c2e52dd6cb6a5b540ebcac29d (patch) | |
tree | 6e7c5e7e6f13157e9f8db26c38f6d8cba75683e5 /spec/outputs/unicode/global.lua | |
parent | 289faf45ac26f7e0ac1a1e4305e5c42fc1e5b866 (diff) | |
download | yuescript-e61cce21ef7def2c2e52dd6cb6a5b540ebcac29d.tar.gz yuescript-e61cce21ef7def2c2e52dd6cb6a5b540ebcac29d.tar.bz2 yuescript-e61cce21ef7def2c2e52dd6cb6a5b540ebcac29d.zip |
add unicode identifier support, fix more issue from #144
Diffstat (limited to 'spec/outputs/unicode/global.lua')
-rw-r--r-- | spec/outputs/unicode/global.lua | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/spec/outputs/unicode/global.lua b/spec/outputs/unicode/global.lua new file mode 100644 index 0000000..c91db52 --- /dev/null +++ b/spec/outputs/unicode/global.lua | |||
@@ -0,0 +1,91 @@ | |||
1 | do | ||
2 | _u5168_u5c40_u53d8_u91cfa, _u5168_u5c40_u53d8_u91cfb, _u5168_u5c40_u53d8_u91cfc = 223, 343, nil | ||
3 | _u9177 = "📉" | ||
4 | end | ||
5 | do | ||
6 | do | ||
7 | local _class_0 | ||
8 | local _base_0 = { | ||
9 | ["嗯"] = "🆒" | ||
10 | } | ||
11 | if _base_0.__index == nil then | ||
12 | _base_0.__index = _base_0 | ||
13 | end | ||
14 | _class_0 = setmetatable({ | ||
15 | __init = function() end, | ||
16 | __base = _base_0, | ||
17 | __name = "全局类" | ||
18 | }, { | ||
19 | __index = _base_0, | ||
20 | __call = function(cls, ...) | ||
21 | local _self_0 = setmetatable({ }, _base_0) | ||
22 | cls.__init(_self_0, ...) | ||
23 | return _self_0 | ||
24 | end | ||
25 | }) | ||
26 | _base_0.__class = _class_0 | ||
27 | _u5168_u5c40_u7c7b = _class_0 | ||
28 | end | ||
29 | end | ||
30 | do | ||
31 | local _u53d8_u91cfc, _u53d8_u91cfd | ||
32 | _u5168_u5c40_u53d8_u91cfa, _u5168_u5c40_u53d8_u91cfb, _u53d8_u91cfc, _u53d8_u91cfd = "ä½ å¥½", nil, nil, nil | ||
33 | end | ||
34 | do | ||
35 | local _u4ec0_u4e48 | ||
36 | if _u8fd9_u4e2a then | ||
37 | _u4ec0_u4e48 = 232 | ||
38 | else | ||
39 | _u4ec0_u4e48 = 4343 | ||
40 | end | ||
41 | local _u53e6_u4e00_u4e2a = 3434 | ||
42 | A_u53e6_u4e00_u4e2a = 7890 | ||
43 | if _u5185_u90e8 then | ||
44 | local Y_u597d = "10000" | ||
45 | end | ||
46 | if _u8fd9_u4e2a then | ||
47 | _u4ec0_u4e48 = 232 | ||
48 | else | ||
49 | _u4ec0_u4e48 = 4343 | ||
50 | end | ||
51 | end | ||
52 | do | ||
53 | if _u8fd9_u4e2a then | ||
54 | _u4ec0_u4e48 = 232 | ||
55 | else | ||
56 | _u4ec0_u4e48 = 4343 | ||
57 | end | ||
58 | _u5168_u5c40_u53d8_u91cfx, _u5168_u5c40_u53d8_u91cfy, _u5168_u5c40_u53d8_u91cfz = 1, 2, 3 | ||
59 | _u5168_u5c40_u53d8_u91cfy = function() | ||
60 | local _u597d_u7684 = 3434 | ||
61 | end | ||
62 | do | ||
63 | local _with_0 = _u5168_u5c40_u4e34_u65f6_u53d8_u91cf | ||
64 | local _u53d8_u91cfj = 2000 | ||
65 | end | ||
66 | end | ||
67 | do | ||
68 | _u53d8_u91cfx = 3434 | ||
69 | if _u6761_u4ef6y then | ||
70 | _u53d8_u91cfx = 10 | ||
71 | end | ||
72 | end | ||
73 | do | ||
74 | if _u6761_u4ef6y then | ||
75 | local _u53d8_u91cfx = 10 | ||
76 | end | ||
77 | _u53d8_u91cfx = 3434 | ||
78 | end | ||
79 | do | ||
80 | do | ||
81 | _u53d8_u91cfk = 1212 | ||
82 | do | ||
83 | local _u53d8_u91cfh = 100 | ||
84 | end | ||
85 | _u5168_u5c40_u53d8_u91cfy = function() | ||
86 | local _u53d8_u91cfh = 100 | ||
87 | _u53d8_u91cfk = 100 | ||
88 | end | ||
89 | end | ||
90 | local _u53d8_u91cfh = 100 | ||
91 | end | ||