Sharp avatar

Sharp

69 servers

About Sharp

🤖 Sharp

Sharp is a powerful Discord bot that runs, decompiles, and shows JIT disassembly of .NET languages.

✨ Features

  • Run Code: Execute your code directly within Discord.
  • Decompile Code: Convert your code to another supported language.
  • JIT Disassembly: View JIT disassembly of your code for the specified architecture.

📝 Commands

  • #run <architecture?> <code> — Runs the provided code, using ARM64 architecture by default.

    • Example:
      #run
      ```csharp
      Console.Write("Hello, World!");
      ```
    • Output:
      Hello, World!
      
  • #<language> <code> — Decompiles the provided code to the specified language.

    • Example:
      #c#
      ```fsharp
      printf "Hello, World!"
      ```
  • #<architecture> <code> — Shows the architecture-specific JIT disassembly of the provided code.

    • Example:
      #arm64
      ```csharp
      Console.Write("Hello, World!");
      ```

The code can be provided as is, as a code block, or as an attachment.

🛎️ Support

  • Compilation: C#, VB, F#, IL
  • Decompilation: C#, IL
  • Architectures: x64, ARM64

Not affiliated with Microsoft or the .NET Foundation

Popular Commands

No commands data available.

Categories

Tags

No tags.

Monetization

Links