thread analysis env into REPL special fns

implement require REPL special fn