algograph

Locria’s Unnamed Graphical Algorithmic Notation, or algograph for short, is a tool for me to output algorithms faster than any other method in existence (as of writing). As someone who wrote tons of code using a keyboard, I realized that my productivity was often bottlenecked by the speed of typing. Since I think way faster than I type, even if I type as fast as I can, my thoughts still pile up inside me. It felt bad.

In order to express my will unimpeded, I have designed this visual language that can denote algorithms. Incidentally, some complex concepts in Lambda Calculus have clear visual mappings here. It also does not depend on English to work, and is designed to work best with writing systems with square glyphs (漢字).

I hope you find my invention useful as a tool of thought or for teaching computing. Feel free to invent custom syntax if you find the base syntax too verbose or too lacking for you.

Learn The Language

Here are some handwritten notes showing the syntax of the language. Some of the syntax has changed since then.


(Written on 2023-07-25)

Here’s more backstory.

algograph started as a feature-parity visual representation of Koka. Koka gave me a glimpse of what a systems programming language with types could be like. Therefore, although the algebraic-effect part of the grammar is labeled as “extension”, it was finalized earlier than the basic grammar (about lambda calculus).

I also think of an OS that would allow humans to refactor algorithms as simple as cutting vegetables (ok maybe not that simple). I shall call that type of product a refactoring table.


(Update 2024-06-08)

algograph is over a year old now. The syntax has gone through little change since I first designed it. This language is based on how algorithms are stored inside me, so I guess I shouldn’t be too surprised about this? Anyway, it was a mixed feeling of “m? (did i make this?)” and “wow I’m so good at this”.