I'll nominate this pseudocode from a paper of mine currently under review. Treat it like a koan to be meditated upon to gain enlightenment about AGI. The paper introduces an ordinal notation system in which ordinals are notated by computer programs. This pseudocode notates the ordinal omega^2. `, ⌜, and « are progressively higher-level opening quotation marks. ', ⌝, and » are the corresponding closing quotation marks.
LEFT = «X=⌜»; RIGHT = «⌝; While(True) {Print(X); X=⌜Print(`⌝+X+⌜')⌝}»; X = «Exit()»; While(True) {
X = LEFT + X + RIGHT;
Print(X);
}
All comments shown.
Couldn't load more comments. Check your connection and try again.
Comments (380) 116 threads
Earlier commentscat animals.txt | awk '{ cnts[$0] += 1 } END { for (v in cnts) print cnts[v], v }'
https://blog.jpalardy.com/posts/alternative-to-sort-uniq-c/
awk 'NR==FNR{A[$0]; next} $0 in A' file1.txt file2.txt
LEFT = «X=⌜»;
RIGHT = «⌝; While(True) {Print(X); X=⌜Print(`⌝+X+⌜')⌝}»;
X = «Exit()»;
While(True) {
All comments shown.
Couldn't load more comments. Check your connection and try again.