MLISP
1 program
Added 2026-03-06T12:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Meta-LISP, Machine LISP
Provenance: commit c03a72473c · authored 2026-03-06T00:56:45+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
2 sources · pl_id:
pl/m-lispRelated languages
LLM-contributed programs
Factorial, Fibonacci, and List Length
Provenance: commit c03a72473c · authored 2026-03-06T00:56:45+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
comment Factorial and list utilities in MLISP;
define factorial[n] =
if n = 0 then 1
else n * factorial[n - 1];
define fib[n] =
if n leq 1 then n
else fib[n - 1] + fib[n - 2];
define mylen[lst] =
if null[lst] then 0
else 1 + mylen[cdr[lst]];
comment Print results;
print[factorial[6]];
print[fib[10]];
print[mylen[quote[(a b c d e)]]];
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)