aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorEduardo Julian2019-01-09 23:44:54 -0400
committerEduardo Julian2019-01-09 23:44:54 -0400
commit8b6f4e486ffc9b6b8fec314f2a94998feb919c39 (patch)
tree0dacadaa2acf95960249deb435cd8c9e780896f2 /stdlib
parent9a6d43895330f7c71bde85aa46230a40ada5dbd5 (diff)
Shortened normalization codes.
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/platform/compiler/name.lux46
1 files changed, 23 insertions, 23 deletions
diff --git a/stdlib/source/lux/platform/compiler/name.lux b/stdlib/source/lux/platform/compiler/name.lux
index 184b2cab5..394bdb2db 100644
--- a/stdlib/source/lux/platform/compiler/name.lux
+++ b/stdlib/source/lux/platform/compiler/name.lux
@@ -7,29 +7,29 @@
(`` (template: (!sanitize char)
("lux syntax char case!" char
- [["*"] "_ASTER_"
- ["+"] "_PLUS_"
- ["-"] "_DASH_"
- ["/"] "_SLASH_"
- ["\"] "_BSLASH_"
- ["_"] "_UNDERS_"
- ["%"] "_PERCENT_"
- ["$"] "_DOLLAR_"
- ["'"] "_QUOTE_"
- ["`"] "_BQUOTE_"
- ["@"] "_AT_"
- ["^"] "_CARET_"
- ["&"] "_AMPERS_"
- ["="] "_EQ_"
- ["!"] "_BANG_"
- ["?"] "_QM_"
- [":"] "_COLON_"
- ["."] "_PERIOD_"
- [","] "_COMMA_"
- ["<"] "_LT_"
- [">"] "_GT_"
- ["~"] "_TILDE_"
- ["|"] "_PIPE_"]
+ [["*"] "_AS"
+ ["+"] "_PL"
+ ["-"] "_DS"
+ ["/"] "_SL"
+ ["\"] "_BS"
+ ["_"] "_US"
+ ["%"] "_PC"
+ ["$"] "_DL"
+ ["'"] "_QU"
+ ["`"] "_BQ"
+ ["@"] "_AT"
+ ["^"] "_CR"
+ ["&"] "_AA"
+ ["="] "_EQ"
+ ["!"] "_BG"
+ ["?"] "_QM"
+ [":"] "_CO"
+ ["."] "_PD"
+ [","] "_CM"
+ ["<"] "_LT"
+ [">"] "_GT"
+ ["~"] "_TI"
+ ["|"] "_PI"]
(text.from-code char))))
(def: #export (normalize name)