Is Ruby a scripting language or an interpreted language?

前端 未结 3 1970
醉话见心
醉话见心 2021-01-31 16:49

I just noticed that in the wikipedia page of Ruby, this language is defined as interpreted language.
I understood that probably there\'s something missing in my background.

3条回答
  •  遥遥无期
    2021-01-31 17:21

    Yes.

    Detailed response:

    A scripting language is typically used to control applications that are often not written in this language. For example, shell scripts etc. can call arbitrary console applications.

    Ruby is a general purpose dynamic language that is frequently used for scripting.

    You can make arbitrary system calls using backtick notation like below.

    ``
    

    There are also many excellent Ruby gems such as Watir and RAutomation for automating web and native GUIs.

    For definition of scripting language, see here.

提交回复
热议问题