What is the difference between a REPL and an interpreter?

不羁岁月 提交于 2019-12-19 02:49:39

问题


Is there any technical difference between a REPL and an interpreter?


回答1:


Interactive interpreters use REPLs. An interpreter is not required to have one. You can run Python, for example, in non-interactive mode (on a file) and it will not use a read-eval-print loop.



来源:https://stackoverflow.com/questions/3424756/what-is-the-difference-between-a-repl-and-an-interpreter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!