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")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{stub}}
[[Tilde.chat|<- Back to tilde.chat]]


A bot that parses tracery grammars found in <code>~/.tracery</code>.
An IRC bot that parses tracery grammars found in <code>~/.tracery</code> (on [[Tilde.team|tilde.team]]).
 
== 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>
 
For example:
!!grammar | !toot new :grammar:
Results in:
tooter: !toot new :grammar: <result of parsing tracery>


== Links ==
== Links ==

Latest revision as of 16:13, 6 August 2024

<- Back to tilde.chat

An IRC bot that parses tracery grammars found in ~/.tracery (on tilde.team).

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