Jump to content

Lightweight programming language: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Removing link(s) to "Jsish": Deleted PROD.
No edit summary
Line 43: Line 43:
===Tcl===
===Tcl===
[[Tcl (programming language)|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.<ref>{{Cite web|url=http://oldblog.antirez.com/post/picol.html|title=Picol, a TCL interpreter in 550 lines of C code}}</ref><ref>{{Cite web|url=https://zserge.com/posts/tcl-interpreter/|title = Partcl - a tiny command language}}</ref><ref>{{Cite web|url=http://runtimeterror.com/tech/lil/|title = Little Interpreted Language}}</ref>
[[Tcl (programming language)|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.<ref>{{Cite web|url=http://oldblog.antirez.com/post/picol.html|title=Picol, a TCL interpreter in 550 lines of C code}}</ref><ref>{{Cite web|url=https://zserge.com/posts/tcl-interpreter/|title = Partcl - a tiny command language}}</ref><ref>{{Cite web|url=http://runtimeterror.com/tech/lil/|title = Little Interpreted Language}}</ref>

===Ring===

[[Ring (programming language)|Ring]] is a lightweight multi-paradigm scripting language.


==Embedded languages==
==Embedded languages==

Revision as of 01:23, 22 September 2024

Lightweight programming languages are 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

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.

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:

Derivatives of Lisp:

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.[3][4][5]

Ring

Ring is a lightweight multi-paradigm scripting language.

Embedded languages

ECMAScript

There are many embeddable implementation of ECMAScript like:

Derivatives of ECMAScript:

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

Wren

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

References

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

See also