Skip to content
Snippets Groups Projects
commands.jsgf 407 B
Newer Older
  • Learn to ignore specific revisions
  • Leon Ziegler's avatar
    Leon Ziegler committed
    #JSGF V1.0;
    grammar bebot_demo;
    
    Leon Ziegler's avatar
    Leon Ziegler committed
    public <statement> = [tobi] [please] <command> [please] [tobi];
    
    Leon Ziegler's avatar
    Leon Ziegler committed
    <command> =  <mapping> | <clean> | <party> | <teach>;
    <clean> = (clean up) | (start cleaning);
    <mapping> = ( start mapping );
    
    <party> = ( start the party ) | (lets party) | (party starting)  | (lets start the party);
    
    Leon Ziegler's avatar
    Leon Ziegler committed
    <teach> = ( (this is [a | an | the] ) | ( these are [the] ) ) <object>;
    
    Leon Ziegler's avatar
    Leon Ziegler committed
    <object> = trashbin;