r/shittyprogramming • u/AsianFeng • Nov 11 '15
The dankest programming language: greentext
Hello shitty programmers, a few weeks ago I was inspired by this thread and decided to take it to the next level and make a memearrow-based language a real thing. (Shout outs to everyone in that thread for all those ideas ayy lmaoI swear I didn't steal them ) So here it is, my new programming language called greentext. Code and docs on Github
A basic rundown:
:^) = true, :^( = false
>mfw = print
>be foo like 1234 = variable assignment
>implying = if statement
>inb4 = for loop
>dank memes = main function
>wewlad foobar = function declaration
Yes you can write actual code in this language. Here's fizzbuzz:
>dank memes
>inb4 i from 0 to 100 by 1
>implying i % 15 is 0
>mfw "fizzbuzz", i
>or not
>implying i % 3 is 0
>mfw "fizz", i
>done implying
>implying i % 5 is 0
>mfw "buzz", i
>done implying
>done implying
>done inb4
>tfwLet me know what you guys think :^)
463
Upvotes
1
u/I-baLL Nov 12 '15
...but we're talking about greentext?