https://github.com/sluukkonen/langbot
A small Slack bot for evaluating code in various programming languages.
https://github.com/sluukkonen/langbot
Last synced: 2 months ago
JSON representation
A small Slack bot for evaluating code in various programming languages.
- Host: GitHub
- URL: https://github.com/sluukkonen/langbot
- Owner: sluukkonen
- Created: 2013-10-14T00:01:08.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-06T16:03:38.000Z (almost 10 years ago)
- Last Synced: 2024-04-18T17:05:08.509Z (about 1 year ago)
- Language: Scala
- Homepage:
- Size: 871 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Langbot [](https://travis-ci.org/sluukkonen/langbot)
A small Slack bot for running code in various programming languages. Written in Scala.
## Commands
* `.rb ...` run Ruby code (via JRuby)
* `.py ...` run Python code (via Jython)
* `.js ...` run JavaScript code (via Rhino)
* `.clj ...` run Clojure code
* `.scala ...` run Scala code
* `.scm ...` run Scheme code (via JScheme)
* `.bf ...` run Brainfuck code
* `.reset` reset the language interpreters## Running it
Edit the configuration file at [src/main/resources/application.conf](src/main/resources/application.conf).
```
$ sbt assembly
$ java -Djava.security.manager -Djava.security.policy=langbot.policy -jar target/scala-2.11/langbot-assembly-1.0.jar
```