All Projects → Raku → Evalbot

Raku / Evalbot

IRC bot for executing Raku code

Programming Languages

perl
6916 projects

This is an IRC bot, which is designed to execute Raku commands from IRC, and echo the output on IRC again. Currently it runs as nick "camelia" on freenode, in #raku and other channels.

Might also work for other languages :-)

To add a new execution target, conduct the following steps:

  • build it on the server
  • write a script that updates the repo and rebuilds. Store it in the evalbot repo under build-scripts/rebuild-.sh or .pl
  • add a cron job for regular rebuilding (crontab -e)
  • add the target to %impls in evalbot.pl
  • push everything
  • pull on the server
  • restart evalbot
  • PROFIT

The Rakudo Star releases aren't automatically built. To update to a new release, conduct the following steps:

  • log in as the user that runs the evalbot

  • download the rakudo-star-YYYY.MM.tar.gz tarball

  • unpack, build install:

    tar xzf rakudo-star-YYYY.MM.tar.gz cd rakudo-star-YYYY-MM perl Configure.pl --backends=all --gen-moar && make && make install echo YYYY.MM > install/version cd ..

  • symlink to star:

    rm star; ln -s rakudo-star-YYYY.MM/install

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].