Skip to content

Instantly share code, notes, and snippets.

@mcnemesis
Last active November 13, 2025 12:53
Show Gist options
  • Select an option

  • Save mcnemesis/ae9d6226d49f5a8601a84241a08f07c8 to your computer and use it in GitHub Desktop.

Select an option

Save mcnemesis/ae9d6226d49f5a8601a84241a08f07c8 to your computer and use it in GitHub Desktop.
The LANGuage to LUMTauto transformer | for algorithmically generating magical language utterances from ordinary latin alphabet text
f!:^$:lDONTPROMPT
i!:{Enter Message to be Encoded:} | i*:
i:{language} # given some message
l:lDONTPROMPT
v:vMESSAGE #store the original message
#COMPLETE LANGuage -> LUMTauto TRANSFORM
#LUMTAUTO-TRANSFORM [lower-case]
#start transforming via the LUMTAUTO cipher algorithm
r!:a:_%_ #U
r!:b:_%%_ #Y
r!:c:_%%%_ #X
r!:d:_%%%%_ #W
r!:e:_%%%%%_ #O
r!:f:_%%%%%%_ #F
r!:g:_%%%%%%%_ #T
r!:h:_%%%%%%%%_ #S
r!:i:_%%%%%%%%%_ #I
r!:j:_%%%%%%%%%%_ #Q
r!:k:_%%%%%%%%%%%_ #P
r!:l:_%%%%%%%%%%%%_ #L
r!:m:_%%%%%%%%%%%%%_ #N
r!:n:m
r!:o:e
r!:p:k
r!:q:j
r!:r:r
r!:s:h
r!:t:g
r!:u:a
r!:v:v
r!:w:d
r!:x:c
r!:y:b
r!:z:z
#complete the transform
r!:_%_:u
r!:_%%_:y
r!:_%%%_:x
r!:_%%%%_:w
r!:_%%%%%_:o
r!:_%%%%%%_:f
r!:_%%%%%%%_:t
r!:_%%%%%%%%_:s
r!:_%%%%%%%%%_:i
r!:_%%%%%%%%%%_:q
r!:_%%%%%%%%%%%_:p
r!:_%%%%%%%%%%%%_:l
r!:_%%%%%%%%%%%%%_:n
#FINISHED: for lower-case
#COMPLETE LUMTAUTO TRANSFORM [for uppercase]
#LUMTAUTO-TRANSFORM [upper-case]
#start transforming via the LUMTAUTO cipher algorithm
r!:A:_%_ #U
r!:B:_%%_ #Y
r!:C:_%%%_ #X
r!:D:_%%%%_ #W
r!:E:_%%%%%_ #O
r!:F:_%%%%%%_ #F
r!:G:_%%%%%%%_ #T
r!:H:_%%%%%%%%_ #S
r!:I:_%%%%%%%%%_ #I
r!:J:_%%%%%%%%%%_ #Q
r!:K:_%%%%%%%%%%%_ #P
r!:L:_%%%%%%%%%%%%_ #L
r!:M:_%%%%%%%%%%%%%_ #N
r!:N:M
r!:O:E
r!:P:K
r!:Q:J
r!:R:R
r!:S:H
r!:T:G
r!:U:A
r!:V:V
r!:W:D
r!:X:C
r!:Y:B
r!:Z:Z
#complete the transform
r!:_%_:U
r!:_%%_:Y
r!:_%%%_:X
r!:_%%%%_:W
r!:_%%%%%_:O
r!:_%%%%%%_:F
r!:_%%%%%%%_:T
r!:_%%%%%%%%_:S
r!:_%%%%%%%%%_:I
r!:_%%%%%%%%%%_:Q
r!:_%%%%%%%%%%%_:P
r!:_%%%%%%%%%%%%_:L
r!:_%%%%%%%%%%%%%_:N
#FINISHED: for upper-case
#Complete Original Message NOW Transformed
l:lFINISHED
#then store transformed message :)
v:vTRANSFORMED_MESSAGE
#we can display the translation now...
i!:{In LUMTAUTO
} | x*!: vMESSAGE | x!: {
-- becomes --
} | x*!: vTRANSFORMED_MESSAGE
#display result
i*:
y:vTRANSFORMED_MESSAGE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment