Noah Petherbridge

Results 108 comments of Noah Petherbridge

@rmasci I've done similar before, like this example to run Perl object macros for the Python version of RiveScript: https://github.com/aichaos/rivescript-python/tree/master/eg/perl-objects The various RiveScript versions have a SetHandler() function to register...

I'm still maintaining this module along with some of the other implementations of RiveScript (Python, JS and Perl) but the RiveScript language itself isn't really getting any new features added...

This feature hasn't been implemented outside the JavaScript version of RiveScript; there it was added because JS regular expressions have Unicode issues where a `+ [*] keyword [*]` style trigger...

Unfortunately, this is a common problem across multiple implementations of RiveScript (e.g. https://github.com/aichaos/rivescript-js/issues/147, https://github.com/aichaos/rivescript-python/issues/37); with optionals in particular, the word-boundary regexp sequence `\b` doesn't work well with certain Unicode characters....

``` + [*] load [*] * loadDataset == pass => Dataset is now \s ``` The `` tag won't work there because there aren't any capturable wildcards in the trigger....

Hi, First, don't mix the topic declaration inside the middle of the response like that. I think it would probably confuse the parser, which reads the source code line-by-line and...

I really like Go so far. Writing this module in it was about as pleasant as writing it in the other languages (except Java). I used the CoffeeScript source as...

Some parts of Go are a bit tedious; JSON parsing as you mentioned before, also for RiveScript I had to define structs for the [data layout](https://github.com/aichaos/rivescript-go/blob/master/ast.go) of the in-memory replies....

It's a bug. At the very least the `+ *` trigger is supposed to match it, as that even matches completely empty messages.

I'll have to debug it and see if I'm doing something wrong with [Otto](https://github.com/robertkrimen/otto), cuz most of that stack trace is in their code.