A simple scripting language in C++
Ferenc Szontágh
2025-04-18 e2e9e07a9f50dc1f7a967280a3d1d8ef7fcaa153
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
int $num = 123;
double $double = 12.3;
string $variable = "This is a string content with a number: 123";
 
string $variable2 = $variable;
 
function test = (int $i) {
    int $result = $i + 1;
}
 
function increment = (int $i) int {
    return $i + 1;
}
 
 
test(1);