About
Roll Lang is a domain specific language for interpreting common tabletop and RPG dice mechanics. It is a Rust package which can be integrated into any Rust project.
This project has several goals that set it apart from other dice notation interpreters.
- Easy to understand syntax.
- Supports a wide range of dice mechanics.
- Free to use, modify, and distribute.
The syntax of roll lang aims to be similar to what you would find in any TTRPG book. The syntax often has short and long names for many operations making it as verbose as the player decides.
Roll lang goes beyond basic dice notation interpreters by including dice modifiers, macros, and other features.
The source code of Roll Lang will always be available for both users and developers to inspect, modify, or redistribute. In this way Roll Lang can be expanded apon to accomodate custom mechanics.
Getting Started
Developers
Players
Feature Overview
For a full list of features and how to use them check the features pages.