File tree Expand file tree Collapse file tree
sample_TEA_programs/spiritual_medicine Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #############################################
2+ # RANDOM VOWEL HYMN GENERATOR v1
3+ #############################################
4+ # Though legit vowel hymns ought be generated
5+ # based on transforming the text of legit hymns
6+ # or words, this generator instead generates
7+ #such hymns based on nothing really, but the
8+ # outputs shall read and feel like legitimate
9+ #vowel hymns nonetheless.
10+ #------------------------------------------ -
11+ # For Theory: https: // bit.ly/grimoirelumtauto
12+ # For Example: https: // www.youtube.com/watch?v=p_THWo4MjIU
13+ ##############################################
14+ v: vLINES: 5 | v: vI: 0 | v: vHYMN: {}
15+ v: vLIMIT: 10 | v: vGLUE: { } | v: vALPHABET: {aeiou }
16+ l: LOOP
17+ p* ! : vLIMIT: vGLUE: vALPHABET | v: vLINE #generate and store random string
18+ g* : {
19+ }: vHYMN: vLINE | v: vHYMN #add it to the hymn
20+ y: vI | x! : {+ 1 } | r.: | v: vI
21+ y: vI | x! : {> } | x* ! : vLINES | r.: | f: ^ true $: FIN : LOOP #test if we must finish
22+ l: FIN | y: vHYMN | k! : ^ $ #return clean hymn
You can’t perform that action at this time.
0 commit comments