4 Commits

Author SHA1 Message Date
087229ede5 feat: Added if() built-in function in Jenny (#2259)
The if() function can be used in place of a ternary-if operator.
2023-01-09 20:34:32 +01:00
ccc6eac199 docs: Add documentation for user-defined functions in Jenny (#2260)
The documentation for user-defined functions and the FunctionStorage class.
2023-01-09 08:30:44 +01:00
2eac6f5aa9 docs: Documentation for built-in functions in Jenny (#2258)
This PR adds missing documentation for all built-in functions available in Jenny.

In addition:

    The bool() function now behaves the same way as the conversion of arguments for an invocation of a user-defined function;
    Consequently, static sets trueValues/falseValues moved from CommandStorage class into the YarnProject;
    Added some tests for several other functions.
2023-01-08 22:17:40 +00:00
69c13568e6 docs: Added documentation for basic expressions in Jenny (#2256)
This PR describes variables and operators in the YarnSpinner language.
2023-01-08 10:53:38 +01:00