Bots, like any other application, require use of expressions to evaluate outcome of a condition based on runtime information available in memory or to the dialog or the language generation system.
Common expression language was put together to address this core need as well as to rationalize and snap to a common expression language that will be used across Bot Framework SDK and other conversational AI components that need an expression language.
See API reference for Expression for API reference.
See Here for a complete list of prebuilt functions supported by the common expression language library.
yarn yarn build yarn test
If you changed the g4 file, please use
antlr-build-commonregex to generate latest lexer/parser. By the way, You will need to have a modern version of Java (>= JRE 1.6) to use it.