Seshat is a programming language in Egyptian hieroglyphs. Its goal is to make programming easy for anyone who can read and write Egyptian hieroglyphs.

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-02-28 19:30:11

Seshat is a programming language in Egyptian hieroglyphs. Its goal is to make programming easy for anyone who can read and write Egyptian hieroglyphs.

"Seshat" (𓋇 Zẖꜣ.t) is the name of an Egyptian goddess. The goddess of writing, architecture, and mathematics, she would definitely be the goddess of programming.

Among the oldest mathematical texts in human history are Rhind Mathematical Papyrus and Moscow Mathematical Papyrus. They mostly consist of problems and their solutions, and the solutions are written as line-by-line instructions. Like a description of an algorithm, they're very programmatic:

Make 10 heqats of the fat into ro; it shall become 3200. Make a year into days; it shall become 365. Divide 3200 by 365; it shall become 8 + 2/3 + 1/10 + 1/2190. Make this in [haqet and ro notation]; 1/64 [haqet and] 1/3 + 1/10 + 1/2190 ro.

For multiplications and divisions, Egyptians used a method called "doubling." For example, to calculate 2000 * 5, they simply doubled 2000 until the multiplier reachs high enough for 5, and added things up:

Leave a Comment