ArticleslgStudy

mathematics

NewLISP

NewLISP is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand NewLISP rather than just read about it. In short: newLISP is a scripting language, a dialect of the Lisp family of programming languages. It was designed and developed by Lutz Mueller.

NewLISP — main illustration
NewLISP — illustration

Key takeaways

  • NewLISP belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect NewLISP to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of NewLISP from memory before moving on to harder problems.

Reference excerpt

newLISP is a scripting language, a dialect of the Lisp family of programming languages. It was designed and developed by Lutz Mueller. Because of its small resource requirements, newLISP can be used for embedded systems applications. Many functions are built in, including networking functions, support for distributed and multicore processing, and Bayesian statistics. newLISP is free and open-source software released under the GNU General Public License, version 3 or later.

History 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 an MS-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. In 2026, newLISP Neo was released—a modernized, high-performance distribution of newLISP designed to accelerate iterative execution and recursive processing while maintaining full backward compatibility with the existing language specifications.

Philosophy newLISP is a language-based on Lisp written to be scriptable. It has lists, symbols, function mapping, anonymous functions, s-expressions and macros in its language. It offers features that are common for scripting applications such as regular expressions, XML processing, UTF-8 support, networking, array and matrix processing, mathematical functions, statistical functions and database connectivity as well. newLISP supports namespaces termed contexts, which can be assigned to variables and passed to functions. Contexts can also be used to implement a prototype-based object-oriented programming style newLISP provides features including regular expressions, networking, NewLISP 10.7.5 is also available through Homebrew for supported macOS and Linux systems. It offers support for BSD, Linux, macOS, Solaris and Windows systems. The database interfaces supported are MySQL, SQLite and ODBC; and newLISP can be run as a server and offers TCP/IP and UDP networking functionality. The latest release is version 10.7.5, released in May 2019.

Language features

Contexts 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.

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.

Memory management 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 nil.

GUI options 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.

Standalone binaries Any newLISP version allows building executable files, portable applications, for deployment which are self-contained and need no installing.

Interaction with shared libraries newLISP has an import function, which allows importing functions from a dynamic-link library (DLL) on Windows API Win32, or from a shared library on Linux or Unix. Example:

Frameworks Web frameworks available for newLISP include Dragonfly and Rockets.

References

External links

Official website Archived official website (December 27, 2025) newlisp on GitHub

Worked examples

Example 1 — a first encounter with NewLISP

Start with the simplest possible case. Write down what NewLISP claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to NewLISP before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about NewLISP ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of NewLISP

In research
NewLISP appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses NewLISP in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
NewLISP is common in secondary-school and first-year university syllabi. It links to neighbouring topics Dynamically typed programming languages, Functional languages, Lisp programming language family, so understanding it makes those chapters shorter.
In everyday life
Look for NewLISP outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “NewLISP” →

How to study NewLISP in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what NewLISP means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain NewLISP out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is NewLISP in simple terms?

newLISP is a scripting language, a dialect of the Lisp family of programming languages. It was designed and developed by Lutz Mueller.

Why does NewLISP matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study NewLISP?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on NewLISP.

Tags

  • Dynamically typed programming languages
  • Functional languages
  • Lisp programming language family
  • Scripting languages

Keep exploring