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