Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wizard04wsu/tree-sitter-roll20-script

Tree-sitter grammar for macros on Roll20
https://github.com/wizard04wsu/tree-sitter-roll20-script

Last synced: 17 days ago
JSON representation

Tree-sitter grammar for macros on Roll20

Awesome Lists containing this project

README

        

# Tree-sitter for Roll20 scripts
[![npm](https://img.shields.io/npm/v/tree-sitter-roll20-script)](https://www.npmjs.com/package/tree-sitter-roll20-script) [![npm](https://img.shields.io/npm/dt/tree-sitter-roll20-script)](https://www.npmjs.com/package/tree-sitter-roll20-script)

Tree-sitter parser for macros, abilities, and roll templates on [Roll20](https://roll20.net/).

This supports elements nested (i.e., HTML-escaped) within roll queries, grouped rolls, rollable tables, and ability command buttons.

## Roll20 help center references
- [Macros](https://help.roll20.net/hc/en-us/articles/360037256794-Macros)
- [Dice](https://help.roll20.net/hc/en-us/articles/360037773133-Dice-Reference)
- [Rollable Tables](https://help.roll20.net/hc/en-us/articles/360039178754-Collections#Collections-UsingyourRollableTable)
- [Order of Operations](https://help.roll20.net/hc/en-us/articles/360037773133-Dice-Reference#DiceReference-OrderofOperations)