Robert Campbell
Robert Campbell

Reputation: 6958

Which JVM languages are interpreted rather than compiled to bytecode?

The wikipedia article on JVM languages states:

Some of these languages are interpreted by a Java program, and some are compiled to Java bytecode...

Which well-known, general purpose JVM languages are interpreted by a Java program?

Upvotes: 1

Views: 584

Answers (5)

ng.
ng.

Reputation: 7189

Another JVM language SnapScript is interpreted so that it can be run on Dalvik and ART (Android) in addition to the standard JRE.

Upvotes: 0

cthom06
cthom06

Reputation: 9655

Reposted as answer:

I don't think that statement is correct. A language with a Java interpreter is not a "JVM language", it's just an interpreted language. IMO a JVM language (which is in fact a misnomer, they'd be languages with a JVM implementation) is one that gets compiled to JVM bytecode

Upvotes: 1

Ren
Ren

Reputation: 93

Well Groovy for one is not compiled.

Upvotes: 0

Zac Bowling
Zac Bowling

Reputation: 6588

Mozilla Rhino (the Java javascript engine) is interpreted.

JRuby, Jython, and Scala are examples that are mostly compiled to bytecode.

Upvotes: 3

Pablo Santa Cruz
Pablo Santa Cruz

Reputation: 181460

Maybe the article is referring to languages like JRuby or Jython...

Upvotes: 0

Related Questions