REPL和口译员之间有什么区别? [英] What is the difference between a REPL and an interpreter?

查看:88
本文介绍了REPL和口译员之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

REPL和口译员之间有技术上的区别吗?

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

推荐答案

交互式解释器使用REPL.一名口译员不需要拥有一名口译员.例如,您可以在非交互模式下(在文件上)运行Python,它将不使用read-eval-print循环.

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.

这篇关于REPL和口译员之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆