G
glen herrmannsfeldt
(snip)
Yes. Well, some might have different definition, but there are many
languages that can only be interpreted. TeX, for example, lets you
change the category codes of characters, which changes, among others,
which are letters, and so allowed in multiple character names.
Languages that allow dynamic typing of variables, such as matlab and
octave, are mostly meant to be interpreted. (Though many now use the
just-in-time compilation to speed things up.)
It is pretty much always possible to interpret a compiled language,
but not always the other way around.
-- glen
Java has never been an interpreted language. The original
implementations of the JVM all strictly interpreted the byte codes, as
opposed to more modern JVMs that just-in-time compile many of the byte
codes and execute then in that form (although mostly, if not all, JVMs
fall back on byte code interpretation in some cases). But the
language has always been compiled (to byte codes).
Yes. Well, some might have different definition, but there are many
languages that can only be interpreted. TeX, for example, lets you
change the category codes of characters, which changes, among others,
which are letters, and so allowed in multiple character names.
Languages that allow dynamic typing of variables, such as matlab and
octave, are mostly meant to be interpreted. (Though many now use the
just-in-time compilation to speed things up.)
It is pretty much always possible to interpret a compiled language,
but not always the other way around.
-- glen