AroundEnglish
Jump to navigation
Jump to search
AroundEnglish is an attempt to make a programming language as close to English as possible.
Structure
Same as english. This makes interpreters hard to make (that arent human)
Commands
i (program) say(ing) "" (print) and (string concatenation) hbu? (input. fills in last variable used) think [] is [] (does variable manipulation) and while [] is [], (control flow) and while [] isnt [], . (ends loop) hi (starts program) bye (ends program) sorry, a cat was on my keyboard (previous command is invalid) the next thing i say is false (next command is negated) hey, i can read your mind: (starts arithmatic section) first, then, then, (prefix) (you can use normal commands here also, but arithmatic commands are also accepted) {} [] and [] (does operation to store in last variable) isnt that cool? (ends arithmatic section) i hate you (sets previous input to 0 and redoes section of last input, or terminates program if there is no input) [] is awesome! ("uses" a variable without using it) think of something random. (randomizes last variable used from 1 to 10) bring it up (increments) bring it down (decrements)
Hello world
hi im saying "hello world" bye
Cat
hi i think green is 0 hbu? im saying green bye
Fizzbuzz
hi i think green is 0 hbu? hey, i can read your mind: first, i think blue is 0 then, modulo green and 15 then, i think yellow is 0 then, modulo green and 5 then, i think red is 0 then, modulo green and 3 isnt that cool? and while blue is 0, im saying "fizzbuzz" bye. and while yellow is 0, im saying "buzz" bye. and while red is 0, im saying "fizz" bye. im saying green bye
99 bottles of beer on the wall
hi i think green is 99 while green is not 1 im saying green and " bottles of beer on the wall" im saying green and " bottles of beer take one down pass it around" bring it down. im saying "1 bottle of beer on the wall 1 bottle of beer take one down pass it around no more bottles of beer on the wall" bye
kiwiscript
hi im saying "kiwi" bye
7 bottles of tommyaweosme
hi i think green is 7 while green is not 1 im saying green and " bottles of tommyaweosme on the wall" im saying green and " bottles of tommyaweosme take one down get +100 health" bring it down. im saying "one last bottle of tommyaweosme on the wall one final bottle of tommyaweosme walk away keep it up there let it ferment into greatness" bye