2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -11,13 +11,13 @@
|
|||
(if (zerop (length s))
|
||||
""
|
||||
(let* ((su (upcase-str s))
|
||||
(o (chr-str su 0)))
|
||||
(o [su 0]))
|
||||
(for ((i 1) (l (length su)) cp cg)
|
||||
((< i l) (sub-str (cat-str ^(,o "000") nil) 0 4))
|
||||
((< i l) [`@{o}000` 0 4])
|
||||
((inc i) (set cp cg))
|
||||
(set cg (get-code (chr-str su i)))
|
||||
(if (and cg (null (eql cg cp)))
|
||||
(set o (cat-str ^(,o ,cg) nil))))))))
|
||||
(set cg (get-code [su i]))
|
||||
(if (and cg (not (eql cg cp)))
|
||||
(set o `@o@cg`)))))))
|
||||
@(next :args)
|
||||
@(repeat)
|
||||
@arg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue