Skip to content
scrambled
Programming Language Theory Flashcard

Are languages inherently compiled/interpreted?

Books Deckprogramming-language-basic

Question

Are languages inherently compiled/interpreted?

Answer

  • No: Languages are not inherently compiled or interpreted.

  • Language specifications only specify syntax and semantics, but usually do not require a specific implementation.

  • Examples:

    • C++ can be interpreted.

    • Python can be compiled.

    • Javascript runtimes like browser opt for a hybrid approach.