RiveScript Interpreters
Here is a collection of links to RiveScript interpreters built in various programming languages. If the language you want to see an interpreter for isn't listed, why not create it? Head to Developers for more information.Quick navigation:
First Party Libraries
These are RiveScript interpreters written by Noah Petherbridge. For the most part, all of these libraries will be kept in sync with new features. These are the "official" RiveScript libraries, written by the author of RiveScript!Choose your programming language...
Perl
The original RiveScript interpreter! This is RiveScript for the Perl 5 programming language.Notes:
- This supports Perl objects in RiveScript code by default.
- This distribution comes with the
rivescriptcommand line utility that lets you interactively test your RiveScript bot. It can also be used in "JSON Mode" so a third-party program can interact with it.
Revision Control
You can download the latest bleeding-edge version of RiveScript-Perl at GitHub:https://github.com/kirsle/rivescript-perl
Downloads
You can download packaged stable releases of RiveScript-Perl here.The latest stable version of RiveScript-Perl is 1.24 (May 15, 2012).
Ubuntu & Debian Users: This module may already be available
in your software sources! Try `sudo apt-get install librivescript-perl`.
But, there might be a newer version available below...
- Linux Packages:
- Red Hat Lineage:
- perl-RiveScript-1.24-20120515.fc17.rpm (Fedora 17: Beefy Miracle)
- perl-RiveScript-1.24-20120515.fc16.rpm (Fedora 16: Verne)
- perl-RiveScript-1.24-20120515.el6.rpm (Enterprise Linux 6)*
- Debian Lineage:
- librivescript-perl_1.24-20120516_all.deb (Ubuntu 12.04)**
- Red Hat Lineage:
- Source Release:
- CPAN Release:
** Note: The Ubuntu package was converted using
alien and will require the Perl JSON module to work
correctly. Run `sudo apt-get install libJSON-perl`
to get JSON.
Python
A RiveScript interpreter for the Python programming language.Notes:
- This supports Python objects in RiveScript code by default.
- The module
rivescript.pycan also be executed directly, and it will behave the same as therivescriptcommand line utility from RiveScript-Perl: you can interactively test your RiveScript bot with it. Also, it supports "JSON Mode", so that a third party program can communicate with your bot using JSON.
Revision Control
You can download the latest bleeding-edge version of RiveScript-Python at GitHub:https://github.com/kirsle/rivescript-python
Java
A RiveScript interpreter for the Java programming language.Notes:
- Since Java isn't a dynamic language, there is no default language handlers for RiveScript objects. However, there is some code included to allow you to use Perl objects.
Revision Control:
You can download the latest bleeding-edge version of RiveScript-Java at GitHub:https://github.com/kirsle/rivescript-java
Third Party Libraries
These are RiveScript interpreters written by other authors. Some of them may still be in active development and not ready or usable yet for the general public.Choose your programming language...
C#
A RiveScript interpreter for the C# programming language.This is being developed by Daniel Vinciguerra. It's still in active development. You can check on its progress via its GitHub page.
Revision Control
You can check out the progress of Mono-RiveScript at GitHub:https://github.com/dvinciguerra/Mono-RiveScript
