reintroduced the REPL. language runs much faster when using -O2 flag, but still getting a stack overflow, not sure why.