H⨧

Halppp is a pseudo language that transpiles to c++. The language was created with the intention of removing alot of unecessary characters.

Other than a bunch of changes syntactically it's still c++.

Why it exist?

Why Not.

>> Halppp reduces the number of [{}, (), ;] you use cutting down the number of annoying keypresses

>> Option class to avoid using nulls

>> The keyword auto has been changed to let

>> it's not indentation dependant like python

>> a lot less unecessary tokens to look at when reading through code

How it looks

1  | fn println<T> T s => do cout << s << "\n"
2  | 
3  | struct Language
4  |   string name
5  |   double version
6  |   Language string name =>
7  |     this->name = name
8  |     this->version = version
9  |   ;
10 | ;
11 | 
12 | fn main =>
13 |   let lang = Language("halppp")
14 |   println($"Language: {lang.name}-v-{lang.version}")
15 | ;

What it compiles to

1  |  template <typename T>
2  |  void println(T s) {
3  |    cout << s << "\n"
4  |  }
5  |
6  |  struct Language {
7  |    string name;
8  |    double version;
9  |    Language( string name, double version ) {
10 |      this->name = name;
11 |      this->version = version;
12 |    }
13 |  }
14 |
15 |  int main( int argc, char* argv[] ) {
16 |    auto lang = Language("halppp", 0.1);
17 |    println("Language: " + to_string(lang.name)
           + "-v-" + to_string(lang.version) + "");
18 |    return 0;
19 |  }