Evalbot

Add to Slack

Example Usage:

  1. Code fences:
    ```language
    code
    ```

  2. Conversational:
    You: eval
    Evalbot: What language should I use?
    You: Python
    Evalbot: Type in code to eval
    You: print 1+1
    Evalbot: 2

In slack channels, you have to address the bot directly by mentioning it (@evalbot).

Supported languages:

  • C#
  • C
  • C++
  • C++11
  • F#
  • Java
  • Nodejs
  • PHP
  • Python
  • Python3
  • Ruby
  • Rust
  • Swift

You can always ask the bot for languages by saying "languages"

Source code

The code is available on Github, where you'll find more technical info.