Plus Plus Plus, or +++, or Ppp, or P++ is the first ever syntactical programming language that only uses one character ‘+’. It’s perfect for teaching newbies because they only have to remember just one character and with that, can code anything you want! Now done with the days of scratching your head wondering what the difference between a ‘=’ and an ‘if’ or even the dreaded ‘elif’.
The first International Language?!
With P++ devoid of its English bias from removing its ‘Ifs’ ‘else’ ‘and’ ‘or’ ‘length’ and other English words, P++ is the first ever international programming language. With only the character ‘+’ used, there is absolutely no bias! Something so brave and daring hasn’t been attempted since the constructed international language of Esperanto in the turn of the 20th Century.
How it works
By only using spaces, tabs, numerical values, labels, and the all too important character ‘+’, P++ creates a language extensive enough to create any type of software. It can handle functional programming, loops and basic math functions to any degree. We wanted to add in object oriented programming method but that many symbols with only the character ‘+’ just started to get a little silly.
Plus Plus Plus Basic Syntax
<val> + <val>
<val> <val> +
<val> ++ <val>
<val> <val> ++
<val> ++ + <val>
<val> + ++ <val>
<val> +++ <val>
<cond> + + + <cond>
<cond> ++ + ++ <cond>
++ <val> ++
if – else:
+ + <condition> + + <stmt> + + + <stmt> + + +
++ ++ <comment>
+ ++ + <condition> <stmt> + ++ +
+++<funct_name>+<params> <stmts> +++
Super easy right? With simple syntax like that, who could ever forget how to code something. Even better, the simplicity makes the code incredibly readable!
+++main +a+ 2 ++ ++ set a to 2 +b+ 5 ++ ++ set b to 5 +c+ a + b ++ ++ set c to sum of a and b +d+ b a + ++ ++ set d to b - a + + b ++ + d ++ ++ if b > d + + a++ ++ ++ then increment a + + + b++ ++ ++ else increment b + + + +i+ 0 + ++ + i + ++ b ++ ++ while i < b +c+ c a ++ ++ ++ c = c / a i++ + ++ + +x+ add+c+a ++ ++ set x to sum of c and a (from add function) +++ +++add+num1+num2 +sum+ num1 + num2 ++++ sum +++
Another Less Commented Example
++arr++ 2 6 1 9 3 7 +n+ arr++++ +m+ n + 1 +j+ 2 + ++ + j + ++ m +key+ arr++j +i+ j - 1 + ++ + i ++ + 0 + + + arr++i ++ + key +k+ i + 1 arr++k++ arr++i +i+ i 1 + + ++ + +next+ i + 1 arr++next++ key + ++ + ++++arr
Test your knowledge with our Plus Plus Plus Quiz!
If you enjoyed this revolutionary new programming language and would like to see cool research using Plus++, please like, share, and subscribe with your email, our twitter handle (@JABDE6), our facebook group here, or the Journal of Immaterial Science Subreddit for weekly content.