A simple scripting language in C++
Ferenc Szontágh
2025-04-18 7934a339e9b2319e0234e8f2ca5d952eff243c05
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
string $test = "Test string";
 
 
if ($test == "Test string") {
    printnl("Test passed");
} else {
    printnl("Test failed");
}
 
 
bool $this_is_okay = true;
bool $this_is_not_okay = false;
 
 
if ($this_is_okay && $this_is_not_okay == false && $test == "Test string") {
    printnl("This is okay");
}
 
if ($this_is_okay == false) {
    printnl("This is not okay");
}