MalbolgeLisp

From Esolang
Jump to navigation Jump to search
MalbolgeLisp
Paradigm(s) imperative
Designed by Palaiologos
Appeared in 2020
Memory system list
Computational class Turing-complete
Reference implementation malbolge-lisp
Influenced by Malbolge, Lisp
File extension(s) {{{files}}}


A Lisp variant created by User:Palaiologos in August 2020 implemented in Malbolge20 / Malbolge Unshackled.

Specifications

Supports:

  • basic mathematical operations on natural numbers:
    eq, +, -, *, /, %
  • list operations:
    car cdr cons quote atom
  • callables:
    define defun lambda if print

Minimum of 2 gigabytes of RAM is required. It's recommended to use a fixed-width interpreter.

Examples

(+ 2 2)
(* 3 3)
(print Hello)
(defun fac (n) (if (eq n 0) 1 (* n (fac (- n 1)))))