REPL环境对语言的帮助
最近在看julia语言,然后有一篇文章写的含糊其辞,把shell 和repl 弄混了,于是我很好奇,就上网查,看看到底有多少语言有repl环境,并且不支持repl的语言都是垃圾吗?
Read-Eval-Print Loop 中文翻译成“交互式解释器”或“交互式编程环境”。
维基百科的定义如下:
A read–eval–print loop (REPL), also termed an interactive toplevel or language shell, is a simple, interactive computer programming environment that takes single user inputs (i.e., single expressions), evaluates them, and returns the result to the user; a program written in a REPL environment is executed piecewise. The term is most usually used to refer to programming interfaces similar to the classic Lisp machine interactive environment. Common examples include command line shells and similar environments for programming languages, and is very characteristic of scripting languages.
成功没有捷径