This article needs additional citations for verification. (March 2013)
|Designed by||Lutz Mueller|
10.7.5 / May 12, 2019
10.7.4 / September 10, 2018
|OS||Cross-platform: Unix, Unix-like, Windows|
|C, Common Lisp, Perl, Scheme|
newLISP is a scripting language which is a dialect of the Lisp family of programming languages. It was designed and developed by Lutz Mueller. newLISP is free and open-source software released under the GNU General Public License, version 3 or later.
newLISP design is influenced by the two main Lisp dialects, Common Lisp and Scheme, and by other languages like Pascal and C. newLISP originated in 1991 and was originally developed on a Sun-4 workstation. It later moved to Windows 3.0, where version 1.3 was released on CompuServe around 1993, then became available as a Windows graphical user interface (GUI) graphics-capable application and a DOS console application (both 16-bit). In 1995, with the release of Windows 95, newLISP moved to 32-bit.
In April 1999, newLISP was ported to Linux; some of its core algorithms were rewritten, and all Windows-specific code removed. newLISP was released as an open-source software project licensed under the GPL, and development on Windows stopped after version 6.0.25. During the first half of 2001, newLISP was ported back to Windows on the Cygwin platform without graphics abilities. In the second half of 2001, a cross-platform Tcl/Tk frontend named newLISP-tk was released around version 6.3.0. In 2006, 64-bit precision was introduced for integer arithmetic and for some operations on files in version 9.0.
Since the release of 6.5 in mid-2002, development has been very active, and many new features have been added.
|LISP 1, 1.5, LISP 2(abandoned)|
|Lisp Machine Lisp|
|ZIL (Zork Implementation Language)|
|Common Lisp||ANSI standard|
newLISP attempts to provide a fast, powerful, cross-platform, full-featured scripting version of the language Lisp while using only a modest system resources such as data storage (e.g., disk space) and memory.
It provides Lisp features such as lists, symbol processing, function mapping, anonymous functions (lambda expressions), s-expressions (excluding improper lists), and macros. It also provides the functions expected of a modern scripting language, including supporting regular expressions, XML, Unicode (UTF-8), networking via Transmission Control Protocol (TCP), Internet Protocol (IP), and User Datagram Protocol (UDP), matrix and array processing, advanced math, statistics and Bayesian statistical analysis, mathematical finance, and distributed computing.
newLISP runs on the operating systems Berkeley Software Distribution (BSD), Linux, macOS, Solaris, and Windows. It supports MYSQL, SQLite and ODBC database access, Common Gateway Interface (CGI), Simple Mail Transfer Protocol (SMTP), Post Office Protocol (POP) 3, File Transfer Protocol (FTP) and XML remote procedure call (XML-RPC). It can run in server mode as a daemon.
newLISP supports namespaces termed contexts, which can be assigned to variables and passed to functions, but which are associated with globally unique symbols, limiting their use as first-class citizens (objects). A prototype-based object-oriented style of programming is possible in newLISP, using contexts as prototypes to construct objects. Variables inside contexts do not interfere with variables of the same name in other contexts, but inside a context, variables behave according to the rules of dynamic scoping.
newLISP uses dynamic scoping. When a function is called, that function can see all variables of its caller, its caller's caller, and so on, within the same context or namespace. It supports both explicitly and implicitly defined local dynamic variables that shadow variables with the same name from the outer environment, thus preventing accidental use or change of the variables from caller environment. Parameter variables of the called function automatically shadow the caller's variable environment. Globally, variables can be grouped in separate namespaces.
newLISP uses a method of automatic memory management different from traditional garbage collection schemes, termed one reference only (ORO) memory management. Each variable is referenced only by its context, and each context is referenced globally.
Sharing of subobjects among objects, cyclic structures, or multiple variables pointing to the same object are unsupported in newLISP. Objects are copied when stored in data structures or passed to functions, except for certain built-in functions. The exceptions are symbols and contexts, which are shared instead of copied, and thus can be used for indirection. Symbols and contexts are globally named and are deleted explicitly; deleting a symbol or context scans all other objects to replace references to it with
newLISP graphical user interface (GUI) server (newLISP-GS) is a Java-based Internet protocol suite (TCP/IP) server providing a graphical programming interface. A newLISP-GS based development environment is included in newLISP binary distributions, and GTK-server, OpenGL, and Tcl/Tk-based programming interfaces are available.
Any newLISP version allows building executable files, portable applications, for deployment which are self-contained and need no installing.
- "newLISP". Retrieved 2018-11-20.
- Walling, Rob. "An Interview with Lutz Mueller, Creator of newLISP". Softwarebyrob.com. Archived from the original on 2007-10-31. Retrieved 2018-11-20.
- Mueller, Lutz. "newLISP – a LISP Scripting Language". don Lucio. Retrieved 2018-11-20.
- Kobayashi, Shigeru. "kosh04/newlisp". GitHub. Retrieved 2018-11-20.
- "Category:newLISP". Rosetta Code. Retrieved 2018-11-20.
- Lazar, Alexandru (5 January 2009). "A look at newLISP". OSNews. Retrieved 2018-11-20.
- Slepak, Greg; Hildmann, Marc. "Dragonfly web framework". AppTruck. Retrieved 2018-11-20.
- Reimer, Jeremy. "The newLISP on Rockets 2.0 Blog". Rocket Man. Retrieved 2018-11-20.