Sharp is a powerful Discord bot that runs, decompiles, and shows JIT disassembly of .NET languages.
- Invite the Bot: Use the link above to invite Sharp to your Discord server.
- Run a Command: Try running
#run
with a simple C# code snippet to see it in action. - Join the Community: Join our support Discord to ask questions, report issues, or suggest new 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.
-
#run <architecture?> <code>
— Runs the provided code, using ARM64 architecture by default.- Example:
#run ```c# Console.Write("Hello, World!"); ```
- Output:
Hello, World!
- Example:
-
#<language> <code>
— Decompiles the provided code to the specified language.- Example:
#c# ```f# printf "Hello, World!" ```
- Example:
-
#<architecture> <code>
— Shows the architecture-specific JIT disassembly of the provided code.- Example:
#arm64 ```c# Console.Write("Hello, World!"); ```
- Example:
The code can be provided as is, as a code block or as an attachment.
- Compilation: C#, VB, F#, IL
- Decompilation: C#, IL
- Architectures: x64, ARM64