aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/unicode/stub.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2023-08-17 10:36:15 +0800
committerLi Jin <dragon-fly@qq.com>2023-08-17 10:36:15 +0800
commite61cce21ef7def2c2e52dd6cb6a5b540ebcac29d (patch)
tree6e7c5e7e6f13157e9f8db26c38f6d8cba75683e5 /spec/inputs/unicode/stub.yue
parent289faf45ac26f7e0ac1a1e4305e5c42fc1e5b866 (diff)
downloadyuescript-e61cce21ef7def2c2e52dd6cb6a5b540ebcac29d.tar.gz
yuescript-e61cce21ef7def2c2e52dd6cb6a5b540ebcac29d.tar.bz2
yuescript-e61cce21ef7def2c2e52dd6cb6a5b540ebcac29d.zip
add unicode identifier support, fix more issue from #144
Diffstat (limited to 'spec/inputs/unicode/stub.yue')
-rw-r--r--spec/inputs/unicode/stub.yue18
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/inputs/unicode/stub.yue b/spec/inputs/unicode/stub.yue
new file mode 100644
index 0000000..05a9191
--- /dev/null
+++ b/spec/inputs/unicode/stub.yue
@@ -0,0 +1,18 @@
1
2
3变量x = {
4 值: 100
5 你好: =>
6 打印 @val
7}
8
9函数 = 变量x\值
10打印 函数!
11打印 变量x\值!
12
13
14-- ... should be bubbled up anon functions
15((...)-> 变量x = 你好(...)\世界)!
16
17nil
18