Skip to content

samboyer/adventofcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avent of Code 2024: Pythonji 🎄🔥🧾🚣‍♂️🎉🎅🎄

Coding with emojis. Wish me luck. Currently using https://github.com/gahjelle/pythonji for execution. I may have to fork it soon to add some other features (module imports mainly).

Rules

  • Emojis only for variable & function names, and comments
  • Python keywords (for, in, return etc) are allowed
  • Method functions of builtin/3rd-party types (e.g. str.split) may use their original spelling (I can't be bothered to inject my own methods)

Dictionary

Functions

Emoji Meaning
🧼 sorted(), 'A sorted version of'
👆 abs()
🖨 print()
🤐 zip()
👓 file_readlines()
🛺 min()
🚛 max()
📏 len()
🧑‍🌾 range()
🪓 str.split(substr)
🔢 int()
🗺 map()
list()

Miscellaneous

Emoji Meaning
🤛 left
🤜 right
🪓 separator, splitted
🚪 ending, close point
📈 increase
📉 decrease
⬇️ index in string/list (i)
© 'counts of' (i.e. frequency of values)
🧾 file
🚣 row
A single string value
A single numeric value
🎉 Puzzle result, Part 1
🎉🎉 Puzzle result, Part 2
🅰️, 🅱️ input parameters to a binary operator
0️⃣ 1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣ 8️⃣ 9️⃣ 🔟 ...numbers. They're numbers.

Previous Years

About

adventofcode.com solutions :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published