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.
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.
SharpLab supports three source languages:
- Visual Basic
Due to complexity of F#'s compiler library, some features might not be available for F#.
There are currently three targets for decompilation/disassembly:
- 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.
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:
Execution is intentionally limited, however the limits are continuously improved and corrected.