What is The Difference Between AppleScript And Erlang, Programming Languages

AppleScript is a Scripting Language, while Erlang is an Interpreted Programming Language
What are Scripting Languages
Scripting languages are programming languages that control an application. Scripts can execute independent of any other application. They are mostly embedded in the application that they control and are used to automate frequently executed tasks like communicating with external programs.
What are Interpreted Programming Languages
An interpreted language is a programming language for which most of its implementations execute instructions directly, without previously compiling a program into machine-language instructions. The interpreter executes the program directly, translating each statement into a sequence of one or more subroutines already compiled into machine code. (Wikipedia)
While AppleScript is a Scripting Language, and Erlang is an Interpreted Programming Language
Let us now look at the difference between the two:
What is AppleScript Programming Language – A brief synopsis
It is a scripting language that is built into the Mac OS.
What is Erlang Programming Language – A brief synopsis
It is a concurrent programming language that includes a sequential subset, which supports functional programming. Ericsson developed Erlang as a distributed soft real-time and fault-tolerant language and released it as an open source computer programming language in 1998. It is one of the most popularly used functional programming languages.
Sources
A Complete List of Computer Programming Languages