Lightweight programming language
This article needs additional citations for verification. (January 2020) |
A lightweight programming language is one that is designed to have very small memory footprint, is easy to implement (important when porting a language to different systems), and/or has minimalist syntax and features. [1] [2]
These programming languages have simple syntax and semantics, so they could be learnt easily and in little time. Some of them (like Lisp, Forth, Tcl) are so simple to implement that they have many implementations ("dialects"). [3]
Examples of lightweight programming languages
BASIC
Brainfuck
Brainfuck is an extremely minimalist esoteric programming language.
Forth
Forth is a stack-based concatenative imperative programming language using reverse polish notation.
Io
Io is a prototype-based object-oriented scripting language.
ECMAScript
There are many embeddable implementation of ECMAScript.
Lisp
Lisp is the second oldest programming language.
Lua
Lua is a small (C source is approx. 300kB tarball, as of version 5.3.5), simple, fast, portable and embeddable scripting language (with LuaJIT as a JIT compiler making it very fast). It can be embedded in many applications, like games, to provide runtime scripting capabilities. [4]
Rebol
Red
Squirrel
Wren
Wren is a small, fast, object-oriented scripting language. [5]
Tcl
Tcl-like languages can be easily implemented because of its simple syntax. Tcl itself maybe not so lightweight, but there exists some, if not many, lightweight implementations of languages which have Tcl-like syntax. [6] [7] [8]
References
- ^ https://www.quora.com/What-is-meant-by-lightweight-in-programming-language
- ^ Minimalist Language on WikiWikiWeb
- ^ https://stackoverflow.com/questions/3417831/if-lisp-is-the-perfect-language-why-are-there-so-many
- ^ About Lua
- ^ http://wren.io/
- ^ http://oldblog.antirez.com/post/picol.html
- ^ https://zserge.com/posts/tcl-interpreter/
- ^ http://runtimeterror.com/tech/lil/