dotcl.win-arm64 0.1.34

There is a newer version of this package available.
See the version list below for details.
dotnet add package dotcl.win-arm64 --version 0.1.34
                    
NuGet\Install-Package dotcl.win-arm64 -Version 0.1.34
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="dotcl.win-arm64" Version="0.1.34" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="dotcl.win-arm64" Version="0.1.34" />
                    
Directory.Packages.props
<PackageReference Include="dotcl.win-arm64" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add dotcl.win-arm64 --version 0.1.34
                    
#r "nuget: dotcl.win-arm64, 0.1.34"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package dotcl.win-arm64@0.1.34
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=dotcl.win-arm64&version=0.1.34
                    
Install as a Cake Addin
#tool nuget:?package=dotcl.win-arm64&version=0.1.34
                    
Install as a Cake Tool

dotcl

Common Lisp for .NET applications. Embed it in a C# program to evaluate Lisp, call Lisp functions, and let Lisp call back into your code. Lisp values are .NET objects and Lisp code calls any .NET API directly, so there is no marshalling layer between the two.

dotnet add package DotCL.Runtime

Quick start

using DotCL;

DotclHost.EnsureCore();

// Evaluate Lisp and take the result back as a .NET value.
var answer = DotclHost.EvalString("(+ 40 2)");
Console.WriteLine(DotclHost.ToClr<int>(answer));                      // 42

// Let Lisp call into C#.
DotclHost.Register("greet", args => $"Hello, {args[0]}!");
DotclHost.EvalString("(print (greet \"Lisp\"))");                     // "Hello, Lisp!"

// Define a function in Lisp and call it from C#.
DotclHost.EvalString("(defun fact (n) (if (< n 2) 1 (* n (fact (1- n)))))");
Console.WriteLine(DotclHost.ToClr<long>(DotclHost.Call("fact", 20))); // 2432902008176640000

Embedding dotcl covers the host API: loading code, passing values both ways, errors, output, and running where no code may be generated at run time.

Features

  • The whole .NET library from Lisp. (dotnet:new "System.Text.StringBuilder"), (dotnet:invoke sb "Append" "x"), (dotnet:static "System.Math" "Sin" 1.0); NuGet packages load at run time. See Calling .NET from Lisp.
  • Real .NET classes from Lisp. dotnet:define-class emits an ordinary .NET type, so frameworks such as ASP.NET Core, MAUI, Avalonia and MonoGame see a plain subclass. See Defining .NET classes.
  • Runs where code generation is not allowed. Lisp compiled ahead of time runs under NativeAOT and Unity IL2CPP, including a WebGL build. See the Precompiled* samples.
  • Common Lisp, not a subset. The ansi-test suite passes except for one deliberate deviation, with the few tests that ansi-test itself marks as specification problems left out. Most Quicklisp libraries load, some of them with patches from the dotcl dist; library status is the measured list.
  • Edit while it runs. Redefine a function and the next call uses the new definition; a host can reload a file without restarting. See HotReloadDemo.
  • One package for Windows, macOS and Linux on x64 and ARM64, with builds for .NET 10, .NET 8 and netstandard2.0 (Unity).

How fast, measured against C# and SBCL: Benchmarks.

Before you embed it

dotcl runs in your process with the same rights as your code, and Lisp code can reach any .NET API. It is not a sandbox: do not run code you do not trust. The runtime is one image per process, shared by every thread that calls into it. Hosting dotcl safely says what that means for threads and for untrusted input.

Using dotcl as a Lisp

dotcl is also a Common Lisp you can use on its own, with a REPL, scripts and Quicklisp:

dotnet tool install --global dotcl
dotcl repl
dotcl --load my-program.lisp

dotcl for Lisp programmers starts there: libraries, editors, the REPL, and shipping what you write as a .NET tool or an executable. Editors connects Emacs with SLIME or SLY. To try it without installing anything, the playground runs dotcl in your browser.

Showcase

  • paalam: an image / comic / PDF viewer (Avalonia). UI and application logic are Common Lisp end to end.
  • playa: an Emacs-style split-tiling video / music player (Avalonia + LibVLCSharp), Lisp compiled ahead of time by the project's own dotnet build.

Samples

Complete projects in samples/, each with its own README:

Documentation

The documentation index. Building dotcl from source is in Getting started; the architecture and design history are in DESIGN.md.

License

MIT. See LICENSE.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.38 103 11/24/2026
0.1.37 106 11/7/2026
0.1.36 119 10/31/2026
0.1.35 109 10/23/2026
0.1.34 108 10/17/2026
0.1.33 110 10/11/2026
0.1.32 128 10/3/2026
0.1.31 108 10/2/2026
0.1.30 117 9/28/2026
0.1.29 124 9/20/2026
0.1.28 132 9/13/2026
0.1.27 126 9/1/2026
0.1.26 139 8/24/2026
0.1.25 142 8/18/2026
0.1.24 132 8/11/2026
0.1.23 139 8/6/2026
0.1.22 151 8/1/2026
0.1.21 147 7/24/2026
0.1.20 165 7/23/2026
0.1.19 143 7/20/2026
Loading failed