A polyglot command-line REPL for .NET supporting C#, F#, PowerShell, and more, built on .NET Interactive.
dotnet-repl is a polyglot REPL (Read-Eval-Print Loop) tool for the .NET ecosystem, built on .NET Interactive. It allows developers to write and execute code in multiple .NET languages—such as C#, F#, and PowerShell—directly from the command line, supporting interactive coding, script running, and rapid prototyping.
.NET developers, data scientists, and educators who need a lightweight, interactive environment for testing code snippets, learning languages, or running scripts without launching a full IDE.
It offers a unified, polyglot REPL experience on the command line, leveraging .NET Interactive's capabilities for multi-language support, NuGet integration, and magic commands, making it more versatile than single-language REPLs.
A polyglot REPL built on .NET Interactive
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows seamless switching between C#, F#, PowerShell, and other languages in a single session, leveraging .NET Interactive's capabilities for a unified coding experience.
Enables on-the-fly installation and use of NuGet packages with #r nuget commands, facilitating rapid prototyping and library testing without external setup.
Supports running and initializing sessions from various file types like .ipynb, .csx, and .fsx, making it versatile for scripting, testing, and CI/CD integration.
Provides advanced functionalities through magic commands like #!import and #!help, extending beyond basic REPL features to include database connections and script imports.
As a personal project noted in the README, it may have stability issues, slower updates, and less community support compared to official .NET tools like Visual Studio Interactive.
For C# and F# source files, the README admits that some language constructs such as namespaces are not fully supported, restricting execution of complex codebases.
Lacks graphical elements like syntax highlighting or visual debugging, which might hinder users accustomed to IDE-based REPLs with richer feedback and tools.