A simple scripting language in C++
Szontágh Ferenc
2025-04-19 571a9a1bafe0d8adddf3141f82213a47e4568baa
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");
}