WatchJuliaBurn aims at destroying the look of your code by adding emojis like ๐ and kaomojis like cโฏยฐโกยฐโโฏ instead of your favorite Julia functions. For a serious use of unicode characters see also Ueauty.jl
Don't hesitate to add your worst creations via PR. All you need to do is to add the function and emoji to the ๐๐
internal ๐
in src/๐.jl
. Don't touch the README
!
It will be automatically generated after your PR is merged. Also tests are optional since tests are for losers!
You can use the emojify
function to recursively emojify all the files in a given path. emojify
will replace all functions for which an alias is known
by the corresponding emoji (a random one is picked every โฒ๏ธ if multiple options are possible).
For example:
vcat(round(log(pi)), broadcast(tan โ inv, rand(3)))
will return
โฌ๏ธ๐(๐ (๐ชต(๐ฅง)), ๐ก(๐ฉ๐ปโก๏ธ๐ฉ๐ฝ โ โ, ๐ฒ(3)))
Function | Emojis | Julia Version |
---|---|---|
AbstractChar |
๐ซฅ๐ | 1.8 |
AbstractDict |
๐ซฅ๐ | 1.8 |
AbstractDisplay |
๐ซฅ๐บ | 1.8 |
AbstractFloat |
๐ซฅ๐ | 1.8 |
AbstractMatrix |
๐ซฅ๐ข | 1.8 |
AbstractString |
๐ซฅ๐งต | 1.8 |
ArgumentError |
๐ฌ๐จ | |
Bool |
๐๐ | |
Char |
๐ | |
Dict |
๐ | |
ENV |
๐งง | |
IO |
๐ชยฝ, ๐๏ธ๐ฒ | 1.2, 1 |
Matrix |
๐ข | |
Pair |
๐ | |
String |
๐งต | |
Threads |
๐ชข | 1.5 |
abs |
๐๐ช, ๐ฝ๐ช | |
any |
๐ฉ | |
axes |
๐ช๐ช | 1.2 |
broadcast |
๐ก | |
cat |
๐ป, ๐น, ๐ | |
cd |
๐ฟ, ๐จ๐ฉ | |
chop |
๐ฅข, ๐ณ๐ช | 1, 1.2 |
clamp |
๐๏ธ | |
collect |
๐งบ | |
cot |
๐งฅ, ๐ฅผ | |
count |
๐งฎ | |
count_ones |
๐งฎ1๏ธโฃ1๏ธโฃ | |
count_zeros |
๐งฎ0๏ธโฃ0๏ธโฃ | |
delete! |
๐ฅ | |
display |
๐บ | |
div |
(Symbol(Char(0x0001f93f)), 1.2) | |
download |
๐ฅ | |
dump |
๐ฉ | |
eachindex |
โ๏ธโ๏ธ | |
error |
๐ฃ | |
exit |
๐ช | |
false |
๐ | |
fill |
๐ฐ | |
findall |
๐ต๏ธ | |
findfirst |
๐๐ฅ | |
findnext |
๐โญ | |
first |
๐ฅ | |
float |
โต๏ธ, ๐ | 1, 1.8 |
flush |
๐ณ | |
foldr |
๐, ๐ | |
get |
๐คฒ | |
getfield |
๐คฒ๐ฝ, ๐คฒ๐พ | |
getindex |
๐คฒโ๏ธ | |
getkey |
๐คฒ๐, ๐คฒ๐ | |
getproperty |
๐คฒ๐ก | |
hcat |
โก๏ธ๐ป, โก๏ธ๐น, โก๏ธ๐ | |
im |
๐ฎ๐ฒ | |
imag |
๐ฎ | |
inv |
โ | |
isreal |
๐ธโ | |
join |
๐ช๐ถ | |
keys |
๐, ๐ | |
kill |
โฐ๏ธ | |
length |
๐ | |
log |
๐ชต | 1.5 |
map |
๐บ | |
mean โ skipmissing |
๐ | |
mod |
๐ต๐ง | |
nothing |
โฌ | |
peek |
โฐ๏ธ | 1.5 |
pi |
๐ฅง, ๐ฐ | |
pop! |
๐พ, ๐น๐ | |
print |
๐จ๏ธ | |
push! |
๐๏ธ | |
rand |
๐ฐ, ๐ฒ | |
raw |
๐ฅฉ | |
round |
๐ , ๐ต | |
run |
๐ | |
searchsorted |
๐๐ค | |
secd |
๐ฅ | |
show |
โ๏ธ | |
sign |
๐ชง, ๐ | 1.5, 1.5 |
sleep |
๐ด, ๐ค | |
sort |
๐ค | |
string |
๐ป | |
tan |
๐ง๐ปโก๏ธ๐ง๐ฝ, ๐ฉ๐ปโก๏ธ๐ฉ๐ฝ | |
throw |
cโฏยฐโกยฐโโฏ, ๐คฎ, ๐ฎ | |
time |
๐, โฑ๏ธ, โ, โฒ๏ธ | |
tr |
๐น๐ท | |
true |
โ , ๐, ๐ | |
vcat |
โฌ๏ธ๐ป, โฌ๏ธ๐น, โฌ๏ธ๐ | |
view |
๐, ๐๏ธ | |
write |
๐๏ธ, โ๏ธ, ๐๏ธ | |
zip |
๐ค |
You can now replace boring old try/catch/finally clauses with fancy monkey flow!
@๐ begin
๐
๐ฃ()
๐(๐ฅ)
๐ฅ(๐ฅ)
๐
๐()
end
Parsing may behave weird when there are infix operators around the block. Try enclosing everything with parenthesis like @๐(begin ... end)
if that happens.
You can use the EmojiSymbols.jl package to super-turbo-charge your REPL experience!
You can press space to launch space invaders (julia>[space]
). This feature is helpfully
bundled with โ๐ฅ
version 0.2.0 and above and all packages that depend on it.