Last active
March 26, 2021 03:01
-
-
Save nikolaybotev/d2af9ddbb6e8222a0b7525f9d2b42cdb to your computer and use it in GitHub Desktop.
Spiritual Autolysis - by Jed McKenna
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { tired, sleep, eat, walk } from “my_body/index.js”; | |
import { pray } from “my_body/heart.js”; | |
import { wahtDoIKnow, why } from “my_body/brain.js”; | |
const knowledge = []; | |
function write() { | |
while (!tired()) { | |
const text = knowledge.shift() || wahtDoIKnow(); | |
text.split(“ “).forEach(word => { | |
const answer = why(word); | |
knowledge.push(answer); | |
}); | |
} | |
} | |
while (true) { | |
write(); | |
sleep(); | |
eat(); | |
walk(); // with dog! | |
pray(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment