Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Lightweight programming language

From Wikipedia, the free encyclopedia
Programming language that is in some sense minimal

Lightweight programming languages areprogramming languages designed to have smallmemory footprint, are easy to implement (important whenporting a language to different computer systems), and/or haveminimalist syntax and features.[1]

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

Compiled languages

[edit]

BASIC

[edit]

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

Forth

[edit]

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

Toy languages

[edit]

FALSE

[edit]

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

Brainfuck

[edit]

Brainfuck is an extremely minimalist esoteric programming language.

FlipJump

[edit]

FlipJump is a minimalisticone-instruction set computer.[3]

Scripting languages

[edit]

Io

[edit]

Io is a prototype-based object-orientedscripting language.

Lisp

[edit]

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]

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]

ECMAScript

[edit]

There are many embeddable implementation ofECMAScript like:

Derivatives of ECMAScript:

Lua

[edit]

Lua is a small (C source is approx. 300 kBtarball, as of version 5.3.5), portable and embeddable scripting language (withLuaJIT as a JIT compiler improving speed). It can be embedded in applications such ascomputer games to provide runtime scripting capabilities.[7]

Wren

[edit]

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

References

[edit]
  1. ^Minimalist Language onWikiWikiWeb
  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]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Lightweight_programming_language&oldid=1335279312"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp