1
0
Fork 0
forked from fun/fun

Added fun_version and env_all as opcodes and some fixes in httpserver. (0.37.30)

This commit is contained in:
Johannes Findeisen 2025-12-28 23:36:37 +01:00
commit a27ff12b08
12 changed files with 126 additions and 6 deletions

View file

@ -9,6 +9,7 @@
#include "parser.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef FUN_WITH_REPL
@ -42,6 +43,9 @@ static void print_usage(const char *prog) {
}
int main(int argc, char **argv) {
/* Set FUN_EXECUTABLE environment variable to the path of this binary */
setenv("FUN_EXECUTABLE", argv[0], 1);
VM vm;
vm_init(&vm);