X-Git-Url: https://code.kerkeslager.com/?p=fur;a=blobdiff_plain;f=templates%2Fprogram.c;h=0d6d947f06f3b7d5689f34537a3697971c9b1e17;hp=f23640a79d12bd228cf08f5d29fe68f9c159c64e;hb=0d43b38c70255f1bdb69ceede2b67ef4b293468b;hpb=dee52f20ded67843ceac0e92ee2038f8aaf21cc4 diff --git a/templates/program.c b/templates/program.c index f23640a..0d6d947 100644 --- a/templates/program.c +++ b/templates/program.c @@ -330,6 +330,11 @@ int main(int argc, char** argv) { Environment* environment = Environment_construct(); + // TODO Use the symbol from SYMBOL_LIST + {% for builtin in builtins %} + Environment_set(environment, "{{ builtin }}", builtin${{ builtin }}); + {% endfor %} + {% for statement in statements %} {{ statement }} {% endfor %}