Lightweight programming language

Uses your system voice; voice and rate in settings.

Snapshot

≈ 3 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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]

Compiled languages

edit edit source

BASIC

edit edit source

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

edit edit source

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

Toy languages

edit edit source

FALSE

edit edit source

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

Brainfuck

edit edit source

Brainfuck is an extremely minimalist esoteric programming language.

FlipJump

edit edit source

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

Scripting languages

edit edit source

Io

edit edit source

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

Lisp

edit edit source

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

There are some notable implementations:

Derivatives of Lisp:

Tcl

edit edit source

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]

Embedded languages

edit edit source

ECMAScript

edit edit source

There are many embeddable implementation of ECMAScript like:

Derivatives of ECMAScript:

Lua

edit edit source

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.[7]

Wren

edit edit source

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

References

edit edit source
  1. ^ Minimalist Language on WikiWikiWeb
  2. ^ "Comparison - if Lisp is the perfect language, why are there so many?".
  3. ^ "FlipJump - Esolang".
  4. ^ "Picol, a TCL interpreter in 550 lines of C code".
  5. ^ "Partcl - a tiny command language".
  6. ^ "Little Interpreted Language".
  7. ^ About Lua
  8. ^ "Home". wren.io.

See also

edit edit source

Text derived from https://en.wikipedia.org/w/index.php?oldid=1352113286 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot enwiki-001352113286 · captured 1777685655.0 · version history

Cite this page as: encyclopegia.org, “Lightweight programming language”, snapshot enwiki-001352113286. https://encyclopegia.org/a/lightweight-programming-language

Sources cited in this revision

8 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.