PicoLisp
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
(Learn how and when to remove this template message)
|
Paradigms | Functional, procedural, object-oriented, declarative, reflective, meta |
---|---|
Family | Lisp |
Designed by | Alexander Burger |
First appeared | 1988 |
Stable release | 18.12.27
/ 27 December 2018 |
Typing discipline | duck, dynamic, strong |
Implementation language | C, assembly, PicoLisp |
Platform | IA-32, x86-64 |
OS | POSIX |
License | MIT |
Filename extensions | .l |
Website | picolisp |
Dialects | |
Ersatz PicoLisp, miniPicoLisp[1] |
PicoLisp is a programming language, a dialect of the language Lisp. It runs on operating systems including Linux and others that are Portable Operating System Interface (POSIX) compliant. Its most prominent features are simplicity and minimalism. It is built on one internal data type: a cell. On the language level, a programmer can use three different data types (numbers, symbols, and lists) being represented by cells and differentiated by bits at the end of the cell.[2] It is free and open-source software released under an MIT License (X11).
Contents
Features[edit]
Functions can accept arbitrary types and numbers of arguments. Macros are needed only in rare cases and are implemented using the quote function. PicoLisp does not include Lisp's lambda function. This is because the quote function is changed to return all its arguments unevaluated, not only the car
of the first.[3]
A special feature is the intrinsic create, read, update, and delete (CRUD) functioning. Persistent symbols are first-class citizens (objects), they are loaded from database files automatically when accessed, and written back when modified. Applications are written using a class hierarchy of entities and relations.
Other features include: Prolog engine, database engine and database queries, distributed databases, inlining of C language functions and native C function calls, child process management, interprocess communication, browser graphical user interface (GUI), and internationalization and localization.
History[edit]
In the 1980s, PicoLisp began development on the Macintosh, and was used in commercial application[which?] development since then.[citation needed] It was ported to DOS and SCO Unix. Since 1993, it was used mainly on Linux. In the mid-1990s, database functions were added.
The first versions were written in a mix of C and assembly language. In 1999, a first rewrite from scratch was done, fully in C. In 2002, that version was released under a GNU General Public License (GNU GPL). In 2010, it changed to an MIT/X11 license.
In 2009, the 64-bit version was released, another rewrite, this time written in generic assembly, which in turn is implemented in PicoLisp. This version adds support for coroutines.
In December 2010, a Java version named Ersatz PicoLisp was released.[4]
In September 2014, Burger announced the PilMCU project on the PicoLisp development listserv, an effort with George Orais to implement PicoLisp in hardware directly.[5]
In the summer of 2016, development of PilBox ("PicoLisp Box") – a generic Android app allowing to write apps in pure PicoLisp – was started. It is still being developed and maintained.
1955 | 1960 | 1965 | 1970 | 1975 | 1980 | 1985 | 1990 | 1995 | 2000 | 2005 | 2010 | 2015 | 2019 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Lisp 1.5 | ||||||||||||||
Maclisp | ||||||||||||||
Interlisp | ||||||||||||||
Lisp Machine Lisp | ||||||||||||||
Scheme | ||||||||||||||
NIL | ||||||||||||||
Common Lisp | ||||||||||||||
Le Lisp | ||||||||||||||
T | ||||||||||||||
Emacs Lisp | ||||||||||||||
AutoLISP | ||||||||||||||
OpenLisp | ||||||||||||||
PicoLisp | ||||||||||||||
EuLisp | ||||||||||||||
ISLISP | ||||||||||||||
newLISP | ||||||||||||||
Racket | ||||||||||||||
GNU Guile | ||||||||||||||
Visual LISP | ||||||||||||||
Clojure | ||||||||||||||
Arc | ||||||||||||||
LFE | ||||||||||||||
Hy |
References[edit]
- ^ "PicoLisp Download". Software Lab. Retrieved 18 November 2018.
- ^ Burger, Alexander. "Internal structures". Software Lab. Retrieved 18 November 2018.
- ^ "Even small details make a difference!".
- ^ Burger, Alexander (8 May 2013). "Ersatz PicoLisp". Software Lab.
- ^ "Announce: PicoLisp in Hardware".
External links[edit]