Commit
commit 1138a3f1db019f5bea4074993135d0016e37df7a Author: Jan DankertDate: Mon Jun 27 00:40:42 2022 +0200 New: Marker interface 'Scriptable', Proxy class for MQTT, help() method in Scripts. modules/cms/generator/TemplateGenerator.class.php | 2 + modules/cms/generator/ValueGenerator.class.php | 11 ++++-- .../dsl/{DslSystem.class.php => DslCms.class.php} | 32 +++------------ modules/cms/generator/dsl/DslConsole.class.php | 4 +- modules/cms/generator/dsl/DslElement.class.php | 8 +--- modules/cms/generator/dsl/DslHttp.class.php | 5 ++- modules/cms/generator/dsl/DslJson.class.php | 4 +- modules/cms/generator/dsl/DslMqtt.class.php | 42 ++++++++++++++++++++ modules/cms/generator/dsl/DslObject.class.php | 5 +-- modules/cms/generator/dsl/DslPageContext.class.php | 4 +- modules/cms/generator/dsl/DslProject.class.php | 3 +- modules/cms/generator/dsl/DslTemplate.class.php | 9 ++--- modules/dsl/ast/DslFunctionCall.class.php | 9 +---- modules/dsl/ast/DslProperty.class.php | 10 +++-- modules/dsl/ast/DslVariable.class.php | 2 +- modules/dsl/context/BaseScriptableObject.class.php | 20 ++++++++++ modules/dsl/context/DslFunction.class.php | 7 ---- modules/dsl/context/DslObject.class.php | 8 ---- modules/dsl/context/Scriptable.class.php | 15 ++++++++ modules/dsl/executor/DslInterpreter.class.php | 2 + .../standard/Date.class.php} | 24 +++++++++--- modules/dsl/standard/Helper.class.php | 14 +++++++ modules/dsl/standard/Script.class.php | 17 +++++++- modules/dsl/standard/StandardArray.class.php | 17 +++++++- modules/dsl/standard/StandardDate.class.php | 45 +++++++++++++++++++++- modules/dsl/standard/StandardMath.class.php | 4 +- modules/dsl/standard/System.class.php | 35 +++++++++++++++++ modules/dsl/standard/Write.class.php | 6 +-- modules/util/Mqtt.class.php | 4 +- 29 files changed, 269 insertions(+), 99 deletions(-)