Tilde.chat/tracer: Difference between revisions

From Tildeverse Wiki
(Created page with "{{stub}} A bot that parses tracery grammars found in <code>~/.tracery</code>. == Links == * https://tracery.io * https://tildegit.org/ben/tracer Category:IRC Bots")
 
(Undo revision 1398 by Ben (talk))
Tag: Undo
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{stub}}
A bot that parses tracery grammars found in <code>~/.tracery</code>.
 
== Commands ==
{| class="wikitable"
|+
!command
!description
!pipeable
|-
|<code>!!help</code>
|show help text
|N
|-
|<code>!!list</code>
|print a list of grammars in <code>/home/*/.tracery/*</code>.
|N
|-
|<code>!!source</code>
|print a link to the bot's source code
|N
|-
|<code>!!fuse</code>
|combine two grammars into a new mix
|Y
|-
|<code>!!<grammar></code>
|build a grammar
|Y
|}
 
Pipeable commands will echo the built grammar with whatever text follows the <code>|</code>


A bot that parses tracery grammars found in <code>~/.tracery</code>.
For example:
!!grammar | !toot new :grammar:
Results in:
tooter: !toot new :grammar: <result of parsing tracery>


== Links ==
== Links ==

Latest revision as of 21:36, 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