// javascript.c - 2024 ChillerDragon // // gcc javascript.c -o javascript &>/dev/null // ./javascript #include struct Console { void (*log)(int val); }; void print_num(int val) { printf("%d\n", val); } #define var struct Console console = { print_num };int #define function int function sum(a, b) { return a + b; } function main() { var foo = 5; console.log(sum(10, foo)); }