Skip to content
/ Sharp Public

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

License

Notifications You must be signed in to change notification settings

KubaZ2/Sharp

Repository files navigation

🤖 Sharp

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

Invite it now!

🛠️ Getting Started

  1. Invite the Bot: Use the link above to invite Sharp to your Discord server.
  2. Run a Command: Try running #run with a simple C# code snippet to see it in action.
  3. Join the Community: Join our support Discord to ask questions, report issues, or suggest new features.

✨ 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.

🔗 Links

📝 Commands

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

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

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

    • Example:
      #arm64
      ```c#
      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