What is The Difference Between Lua And Modula-2, Programming Languages
Lua is an Interpreted Programming Language, while Modula-2 is a Procedural Programming Language
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)
What are Procedural Programming Languages
Procedural (imperative) programming implies specifying the steps that the programs should take to reach to an intended state. A procedure is a group of statements that can be referenced through a procedure call. Procedures help in the reuse of code. Procedural programming makes the programs structured and easily traceable for program flow.
While Lua is an Interpreted Programming Language, and Modula-2 is a Procedural Programming Language
Let us now look at the difference between the two:
What is Lua Programming Language – A brief synopsis
Members of the Computer Graphics Technology Group developed Lua in 1993. It is an imperative and procedural programming language that was designed as a scripting language. It is known for being simple yet powerful.
What is Modula-2 Programming Language – A brief synopsis
It is a general-purpose procedural language created in 1978 by Niklaus Wirth at ETH. It is similar to Pascal and has systems programming and multiprogramming features.
Sources
A Complete List of Computer Programming Languages
Other Posts