EuLisp

Programming language


title: "EuLisp" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["dynamically-typed-programming-languages", "functional-languages", "lisp-programming-language-family", "multi-paradigm-programming-languages"] description: "Programming language" topic_path: "technology/programming-languages" source: "https://en.wikipedia.org/wiki/EuLisp" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary Programming language ::

::data[format=table title="Infobox programming language"]

FieldValue
nameEuLisp
logoEuLispLogo.png
familyLisp
paradigmmulti-paradigm: functional, procedural, meta, object-oriented
released
latest preview version0.991
latest preview date
standard referenceLatest draft
typingstrong, dynamic
scopestatic and dynamic
implementationsEuXLisp, Youtoo, Eu2C
influenced byCommon Lisp, InterLisp, LeLisp, Lisp/VM, Scheme, T, CLOS, ObjVlisp, Oaklisp, MicroCeyx, MCS, Standard ML, Haskell
influencedDylan, ISLISP, Evelin
operating systemLinux
file ext.em
::

| name = EuLisp | logo = EuLispLogo.png | family = Lisp | paradigm = multi-paradigm: functional, procedural, meta, object-oriented | designer = | developer = | released = | latest release version = | latest release date = | latest preview version = 0.991 | latest preview date = | standard reference = Latest draft | typing = strong, dynamic | scope = static and dynamic | implementations = EuXLisp, Youtoo, Eu2C | dialects = | influenced by = Common Lisp, InterLisp, LeLisp, Lisp/VM, Scheme, T, CLOS, ObjVlisp, Oaklisp, MicroCeyx, MCS, Standard ML, Haskell | influenced = Dylan, ISLISP, Evelin | operating system = Linux | file ext = .em

EuLisp is a statically and dynamically scoped Lisp dialect developed by a loose formation of industrial and academic Lisp users and developers from around Europe. The standardizers intended to create a new Lisp "less encumbered by the past" (compared to Common Lisp), and not so minimalist as Scheme. Another objective was to integrate the object-oriented programming paradigm well. It is a third-generation programming language.

Origin

The language definition process first began in a meeting in 1985 in Paris and took several years. The complete specification and a first implementation (interpreted-only) were made available in 1990.

Distinguishing features

Its main traits are that it is a Lisp-1 (no separate function and variable namespaces), has a Common Lisp Object System (CLOS) style generic-function type object-oriented system named The EuLisp Object System (TELOS) integrated from the ground up, has a built-in module system, and is defined in layers to promote the use of the Lisp on small, embedded hardware and educational machines. It supports continuations, though not as powerfully as Scheme. It has a simple lightweight process mechanism (threads).

Summary

Implementations

An early implementation of EuLisp was Free and Eventually Eulisp (FEEL). The successor to FEEL was Youtoo (interpreted and compiled versions), by University of Bath in the United Kingdom. An interpreter for the basic level of EuLisp, level-0, was written by Russell Bradford in XScheme, an implementation of Scheme by David Michael Betz, originally named EuScheme EuScheme but the most recent version is renamed EuXLisp https://github.com/Henry/EuLisp/ to avoid confusion. Also Eu2C https://github.com/Henry/EuLisp/, a EuLisp optimizing compiler, was created by Fraunhofer ISST under the APPLY project in Germany http://publica.fraunhofer.de/dokumente/PX-46999.html.

A dialect of EuLisp was developed, named Plural EuLisp. It was EuLisp with parallel computing programming extensions.

Example

Example use of classes in the algorithm to solve the "Towers of Hanoi" problem. ::code[lang=lisp] (defmodule hanoi (syntax (syntax-0) import (level-0) export (hanoi))

;;;------------------------------------------------- ;;; Tower definition ;;;------------------------------------------------- (defconstant max-tower-height 10)

(defclass () ((id reader: tower-id keyword: id:) (blocks accessor: tower-blocks)))

(defun build-tower (x n) (labels ((loop (i res) (if (= i 0) res (loop (- i 1) (cons i res))))) ((setter tower-blocks) x (loop n ())) x))

(defmethod generic-print ((x ) (s )) (sformat s "#<tower ~a: ~a>" (tower-id x) (tower-blocks x)))

;;;------------------------------------------------- ;;; Access to tower blocks ;;;------------------------------------------------- (defgeneric push (x y))

(defmethod push ((x ) (y )) (let ((blocks (tower-blocks x))) (if (or (null? blocks) (< y (car blocks))) ((setter tower-blocks) x (cons y blocks)) (error

(defgeneric pop (x))

(defmethod pop ((x )) (let ((blocks (tower-blocks x))) (if blocks (progn ((setter tower-blocks) x (cdr blocks)) (car blocks)) (error

;;;------------------------------------------------- ;;; Move n blocks from tower x1 to tower x2 using x3 as buffer ;;;------------------------------------------------- (defgeneric move (n x1 x2 x3))

(defmethod move ((n ) (x1 ) (x2 ) (x3 )) (if (= n 1) (progn (push x2 (pop x1)) (print x1 nl x2 nl x3 nl nl)) (progn (move (- n 1) x1 x3 x2) (move 1 x1 x2 x3) (move (- n 1) x3 x2 x1))))

;;;------------------------------------------------- ;;; Initialize and run the 'Towers of Hanoi' ;;;------------------------------------------------- (defun hanoi () (let ((x1 (make id: 0)) (x2 (make id: 1)) (x3 (make id: 2))) (build-tower x1 max-tower-height) (build-tower x2 0) (build-tower x3 0) (print x1 nl x2 nl x3 nl nl) (move max-tower-height x1 x2 x3)))

(hanoi)

;;;------------------------------------------------- ) ;; End of module hanoi ;;;------------------------------------------------- ::

References

References

  1. "Eulisp".
  2. "Eulisp".
  3. Kind, Andreas. "Youtoo".

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

dynamically-typed-programming-languagesfunctional-languageslisp-programming-language-familymulti-paradigm-programming-languages