Tilde.chat/tracer: Difference between revisions

From Tildeverse Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{stub}}
A bot that parses tracery grammars found in <code>~/.tracery</code>.
A bot that parses tracery grammars found in <code>~/.tracery</code>.


Line 30: Line 28:
|Y
|Y
|}
|}
Pipeable commands will echo the built grammar with whatever text follows the <code>|</code>
Pipeable commands will echo the built grammar with whatever text follows the <code>|</code>



Revision as of 21:26, 8 July 2022

A bot that parses tracery grammars found in ~/.tracery.

Commands

command description pipeable
!!help show help text N
!!list print a list of grammars in /home/*/.tracery/*. N
!!source print a link to the bot's source code N
!!fuse combine two grammars into a new mix Y
!!<grammar> build a grammar Y

Pipeable commands will echo the built grammar with whatever text follows the |

For example:

!!grammar | !toot new :grammar:

Results in:

tooter: !toot new :grammar: <result of parsing tracery>

Links