Commit
commit cd284ba56a2aea2b9293e9f2528fb92f9cf06c4e Author: Jan DankertDate: Sun May 29 01:13:27 2022 +0200 New: DSL with support for functions modules/cms/generator/ValueGenerator.class.php | 5 +- modules/cms/generator/dsl/DslFolder.class.php | 34 ++++++ modules/cms/generator/dsl/DslObject.class.php | 25 +++++ modules/cms/generator/dsl/DslPage.class.php | 12 +-- modules/dsl/DslAstParser.class.php | 7 -- modules/dsl/ast/DslElement.class.php | 143 +++++++++++++++++++++++++ modules/dsl/ast/DslExpression.class.php | 42 ++++++-- modules/dsl/ast/DslFor.class.php | 26 ++++- modules/dsl/ast/DslFunction.class.php | 42 ++++---- modules/dsl/ast/DslFunctionCall.class.php | 37 +++++-- modules/dsl/ast/DslOperation.class.php | 64 +++++++++++ modules/dsl/ast/DslStatementList.class.php | 143 ++++--------------------- modules/dsl/executor/DslInterpreter.class.php | 26 +++-- modules/dsl/standard/StandardArray.class.php | 11 ++ modules/dsl/standard/StandardDate.class.php | 17 +++ modules/dsl/standard/StandardMath.class.php | 11 ++ 16 files changed, 469 insertions(+), 176 deletions(-)