A REPL is possible even today.
All is needed is an interpreter for the language and there are a few already available.
Nothing new, this is the same approach taken by many languages, provide an interactive environment for the REPL and a compiler for distribution.
Being done since the early days of computing.