Compiled Interpreted Language

Is there a programming language that has a useful interactive interpreter, even if it can be compiled into machine code?

+3
source share
16 answers

Compilation against "interpretation" is essentially a matter of implementation, not the language itself. For example, MRI Ruby 1.8 is interpreted, while MacRuby is compiled into native machine code. Both include an interactive REPL . All languages ​​that I know have at least one machine code compiler and at least one REPL:

  • ruby
  • Python
  • Lisps (Lisp , , AFAIK)
  • OCaml
  • Haskell
  • Forth

-, , - :

  • Java
  • Scala
  • Groovy
  • Erlang
  • #
  • F #
  • Smalltalk
+14

Haskell, Glasgow Haskell, "" GHCi.

+12

Lisp , Clojure.

+5

: ocaml scala (~ = java), , .

+3

, :

x86

Yup, .

, , .

, , - .: -)

+3

Lua . - . LuaJIT - Lua VM, 32- x86. 64- , ARM.

- . VM , JIT VM .

+2

, OCaml.

(.NET CLI) , F # . , .NET/Mono, .

+2

, :

C ++.

?

, , .

+2

, , , . ML - - , , -: .

+2

, Java , BeanShell.

+1

Ruby , , , .

+1

, - . .

+1

Python Windows.

+1
+1

. Java :

, , .

Java , . " " Eclipse, Java . Java, , (, -, , ).

, ? , .

+1

mono/.net , GC- ( , ). gambit-c , C, , , .

, , python, C/++, , , .

+1

Source: https://habr.com/ru/post/1753432/


All Articles