Commit
commit c1f436bc9b635f49dc5ba565ae218bd69534c255 Author: Jan DankertDate: Sun May 29 16:56:40 2022 +0200 New: DSL with support for functions with return values, full arithmetic, object properties modules/cms/generator/dsl/DslDocument.class.php | 1 + modules/cms/generator/dsl/DslPage.class.php | 8 + .../themes/default/html/views/element/advanced.php | 5 +- .../html/views/element/advanced.tpl.src.xml | 2 +- modules/dsl/DslLexer.class.php | 55 ++++- modules/dsl/ast/DslAssignment.class.php | 13 +- modules/dsl/ast/DslElement.class.php | 2 +- modules/dsl/ast/DslExpression.class.php | 237 ++++++++++++++++----- modules/dsl/ast/DslFor.class.php | 6 +- modules/dsl/ast/DslFunction.class.php | 8 +- modules/dsl/ast/DslFunctionCall.class.php | 51 +++-- modules/dsl/ast/DslInteger.class.php | 2 +- modules/dsl/ast/DslOperation.class.php | 30 ++- modules/dsl/ast/DslProperty.class.php | 51 +++++ modules/dsl/ast/DslReturn.class.php | 1 + modules/dsl/ast/DslSequence.class.php | 41 ++++ modules/dsl/ast/DslStatementList.class.php | 37 +--- 17 files changed, 427 insertions(+), 123 deletions(-)