What is the Plus Plus Plus Language and why Programmers and Scientists everywhere are using it!

close up of computer screen

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

assignment: 

+<id>+ <val>

addition: 

<val> + <val>

subtraction: 

<val> <val> +

multiplication: 

<val> ++ <val>

division: 

<val> <val> ++

increment: 

<val>++

decrement: 

++<val>

greater than: 

<val> ++ + <val>

less than: 

<val> + ++ <val>

equal to: 

<val> +++ <val>

and:

<cond> + + + <cond>

or: 

<cond> ++ + ++ <cond>

print:

++ <val> ++

if – else:

+ + <condition>
    + + <stmt>
+ + +
    <stmt>
+ + +

comments: ++ ++ <comment>

While:

+ ++ + <condition>
    <stmt>
+ ++ +

function bois

definition:

+++<funct_name>+<params>
    <stmts>
+++

call:

<funct_name>{+<params>}

return

++++<val>

arrays

++<array_name>++{ <val>}

element:

<array_name>++<index>

set element:

<array_name>++<index>++ <val>

length:

<array_name>++++

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!

Examples

+++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 hereor the Journal of Immaterial Science Subreddit for weekly content.

Published by B McGraw

B McGraw has lived a long and successful professional life as a software developer and researcher. After completing his BS in spaghetti coding at the department of the dark arts at Cranberry Lemon in 2005 he wasted no time in getting a masters in debugging by print statement in 2008 and obtaining his PhD with research in screwing up repos on Github in 2014. That's when he could finally get paid. In 2018 B McGraw finally made the big step of defaulting on his student loans and began advancing his career by adding his name on other people's research papers after finding one grammatical mistake in the Peer Review process.

Leave a Reply

%d bloggers like this: