tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
7
Task/Rot-13/PicoLisp/rot-13-1.l
Normal file
7
Task/Rot-13/PicoLisp/rot-13-1.l
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(de rot13-Ch (C)
|
||||
(if
|
||||
(or
|
||||
(member C '`(apply circ (chop "ABCDEFGHIJKLMNOPQRSTUVWXYZ")))
|
||||
(member C '`(apply circ (chop "abcdefghijklmnopqrstuvwxyz"))) )
|
||||
(get @ 14)
|
||||
C ) )
|
||||
7
Task/Rot-13/PicoLisp/rot-13-2.l
Normal file
7
Task/Rot-13/PicoLisp/rot-13-2.l
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(de rot13-Ch (C)
|
||||
(cond
|
||||
((>= "M" (uppc C) "A")
|
||||
(char (+ (char C) 13)) )
|
||||
((>= "Z" (uppc C) "N")
|
||||
(char (- (char C) 13)) )
|
||||
(T C) ) )
|
||||
3
Task/Rot-13/PicoLisp/rot-13-3.l
Normal file
3
Task/Rot-13/PicoLisp/rot-13-3.l
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(de rot13-stdIn ()
|
||||
(while (line)
|
||||
(prinl (mapcar rot13-Ch @)) ) )
|
||||
Loading…
Add table
Add a link
Reference in a new issue