Loic.ashmind.SharpLab
1.0.0
dotnet add package Loic.ashmind.SharpLab --version 1.0.0
NuGet\Install-Package Loic.ashmind.SharpLab -Version 1.0.0
<PackageReference Include="Loic.ashmind.SharpLab" Version="1.0.0" />
<PackageVersion Include="Loic.ashmind.SharpLab" Version="1.0.0" />
<PackageReference Include="Loic.ashmind.SharpLab" />
paket add Loic.ashmind.SharpLab --version 1.0.0
#r "nuget: Loic.ashmind.SharpLab, 1.0.0"
#addin nuget:?package=Loic.ashmind.SharpLab&version=1.0.0
#tool nuget:?package=Loic.ashmind.SharpLab&version=1.0.0
This repository contains source code for https://sharplab.io.
SharpLab is a .NET code playground that shows intermediate steps and results of code compilation.
Some language features are thin wrappers on top of other features -- e.g. using()
becomes try/finally
.
SharpLab allows you to see the code as compiler sees it, and get a better understanding of .NET languages.
Recent versions include experimental support for running code, with some limitations.
Languages
SharpLab supports three source languages:
- C#
- Visual Basic
- F#
Due to complexity of F#'s compiler library, some features might not be available for F#.
Decompilation/Disassembly
There are currently three targets for decompilation/disassembly:
- C#
- IL
- JIT Asm (Native Asm Code)
Note that VB=>C# disassembly shouldn't be used to convert between languages, as the produced code is intentionally overly verbose.
Execution
You can use "Run" target to execute your code and see the output.
Execution enables a few nice features such as flow arrows — see here:
https://twitter.com/ashmind/status/894058159223955456.
Execution is intentionally limited, however the limits are continuously improved and corrected.
Contributing
See CONTRIBUTING.md.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net5.0
- 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 |
---|---|---|
1.0.0 | 0 | 7/31/2021 |