Lightweight programming language

Short description: Programming language that is in some sense minimal

Lightweight programming languages are programming languages designed to have small memory footprint, are easy to implement (important when porting a language to different computer systems), and/or have minimalist syntax and features.[1]

These programming languages have simple syntax and semantics, so one can learn them quickly and easily. Some lightweight languages (for example Lisp, Forth, and Tcl) are so simple to implement that they have many implementations (dialects).[2]

## Contents

* 1 Compiled languages
* 1.1 BASIC
* 1.2 Forth
* 2 Toy languages
* 2.1 FALSE
* 2.2 Brainfuck
* 2.3 FlipJump
* 3 Scripting languages
* 3.1 Io
* 3.2 Lisp
* 3.3 Tcl
* 3.4 Ring
* 4 Embedded languages
* 4.1 ECMAScript
* 4.2 Lua
* 4.3 Wren
* 5 References
* 6 See also

## Compiled languages

### BASIC

BASIC implementations like Tiny BASIC were designed to be lightweight so that they could run on the microcomputers of the 1980s, because of memory constraints.

### Forth

Forth is a stack-based concatenative imperative programming language using reverse Polish notation.

## Toy languages

### FALSE

FALSE is a minimalist esoteric programming language, with a complete implementation done in 1024 bytes.

### Brainfuck

Brainfuck is an extremely minimalist esoteric programming language.

### FlipJump

FlipJump is a minimalistic one-instruction set computer.[3]

## Scripting languages

### Io

Io is a prototype-based object-oriented scripting language.

### Lisp

Lisp-like languages are very simple to implement, so there are many lightweight implementations of it.

There are some notable implementations:

* newLISP
* PicoLisp

Derivatives of Lisp:

* Pico
* Rebol
* Red
* Scheme

### Tcl

Tcl-like languages can be easily implemented because of its simple syntax. While Tcl itself is not lightweight, there are some lightweight implementations of languages with similar syntax.[4][5][6]

### Ring

Ring is a lightweight multi-paradigm scripting language. [7]

## Embedded languages

### ECMAScript

There are many embeddable implementation of ECMAScript like:

* Espruino
* JerryScript
* QuickJS
* Boa (JavaScript engine)

Derivatives of ECMAScript:

* Squirrel

### Lua

Lua is a small (C source is approx. 300 kB tarball, as of version 5.3.5), portable and embeddable scripting language (with LuaJIT as a JIT compiler improving speed). It can be embedded in applications such as computer games to provide runtime scripting capabilities.[8]

### Wren

Wren is a small, fast, object-oriented scripting language.[9]

## References

1. ↑ Minimalist Language on WikiWikiWeb
2. ↑ "Comparison - if Lisp is the perfect language, why are there so many?". https://stackoverflow.com/questions/3417831/if-lisp-is-the-perfect-language-why-are-there-so-many.
3. ↑ "FlipJump - Esolang". https://esolangs.org/wiki/FlipJump.
4. ↑ "Picol, a TCL interpreter in 550 lines of C code". http://oldblog.antirez.com/post/picol.html.
5. ↑ "Partcl - a tiny command language". https://zserge.com/posts/tcl-interpreter/.
6. ↑ "Little Interpreted Language". http://runtimeterror.com/tech/lil/.
7. ↑ (in en) Beginning Ring Programming - From Novice to Professional | Mansour Ayouni | Apress. https://www.apress.com/gp/book/9781484258323.
8. ↑ About Lua
9. ↑ "Home". http://wren.io/.

## See also

* Lightweight markup language
* Lightweight software

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Lightweight programming language. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Lightweight_programming_language&oldid=4149663"