You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is indeed an issue with current implementations of RiveScript (Java, JS, Go, ..).
The tag ordering, or better the ordering of processing the tags, has been picked carefully to support the common use cases. Processing the lowercase, formal etc formatting tags is done early, also to support e.g. <set name=<formal>>.
It would be better that RiveScript would parse/tokenize the whole message string so we are not dependent on the ordering, but this might be a quite big job to do.
In the short term I don't see this implemented to be honest (also mainly to keep consistence between the various RiveScript impls). However I will start look at e.g. ANTLR so we can make an actual grammar/lexer for RiveScript.
output is:
It reproduced on 0.8.* and 0.9.* versions
The text was updated successfully, but these errors were encountered: