Coder Social home page Coder Social logo

bsdayo / sharplab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ashmind/sharplab

0.0 0.0 0.0 13.27 MB

.NET language playground

Home Page: https://sharplab.io

License: BSD 2-Clause "Simplified" License

JavaScript 0.27% C++ 2.08% C 0.03% C# 68.36% F# 0.81% PowerShell 0.58% TypeScript 24.31% CSS 0.09% HTML 0.35% GLSL 0.40% Batchfile 0.01% Less 2.56% Visual Basic .NET 0.13%

sharplab's Introduction

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:

  1. C#
  2. Visual Basic
  3. 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:

  1. C#
  2. IL
  3. 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.

sharplab's People

Contributors

ashmind avatar am11 avatar teo-tsirpanis avatar jsk95 avatar controlflow avatar antitcb avatar tessenr avatar jkim506 avatar svick avatar dpen2000 avatar thomastay avatar kkokosa avatar muojp avatar davidwengier avatar agocke avatar abenimatteo avatar i3arnon avatar dogac00 avatar vbfox avatar darkbullnull avatar rosenbjerg avatar rikkigibson avatar tyoverby avatar yohdeadfall avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.