Of course LISP is the example to look at with REPL: https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93prin...
...esp with Emacs: https://slime.common-lisp.dev/