Graham Chiu
Graham Chiu
https://github.com/gchiu/rebolbot/blob/master/rebolbot.r3#L402 We can change the parse rule from lib/botname some space to opt some space [ lib/botname some space | ">>" ] which will catch leading spaces, and allow ">>"...
I haven't checked to see what's happened to ideone but I'd imagine we can change the above rule to | ">>" ] to | ">>" | "ruby>" | "java>" |...
;; this rule is used for parsing out messages to the bot. Multiline messages have already had their removed if it's @botname. ;; NB: untested! bot-cmd-rule: [ opt some space...
This parse rule requires a space after the prompt Sent from my iPod On 23/03/2014, at 2:09 AM, johnk- [email protected] wrote: > I think we are commenting against the wrong...
Well we can always make it optional as well so that those who want it can use it. Otherwise just one more rule to explain to people. Sent from my...
bot-cmd-rule: [ [ lib/botname some space copy key to end | [ ">" | "rebol3" ] ">" opt some space copy key to end ( insert head key "do "...
bot-cmd-rule: [ [ lib/botname some space copy key to end | [ ">" | "rebol3" ] ">" any space copy key to end ( insert head key "do " )...
the current bot-cmd-rule assumes that multiline commands do not occur after a >> or rebol3> or @rebolbot do bot-cmd-rule: [ [ lib/botname some space copy key to end | [...
Working version currently being used by bot bot-cmd-rule: [ [ lib/botname some space copy key to end | [ ">" | "rebol3" ] ">" any space copy key to end...
Another config file?? On Fri, Feb 7, 2014 at 10:45 AM, johnk- [email protected] wrote: > Add shortcut for commonly used example languages such as ruby > eg do/ruby instead of...