===== Moodle High Level Scripting Engine===== * **Component type:** Local * **Name:** MoodleScript * **Versions:** :M31: to :M37: * **Distribution:** Public * **Availability:** Stable. * **Repository:** [[https://github.com/vfremaux/moodle-local_moodlescript]] * **Unit tests:** [[https://travis-ci.org/vfremaux/moodle-local_moodlescript/branches]] * **Distributors:** [[http://www.activeprolearn.com|Activeprolearn SAS]] (worldwide), [[http://www.activeprolearn.com|Activeprolearn SAS]] ==== Description ==== the Moodle High Level Script engine implements a script language and a script parsing/execution engine that allows writing high level commands in a simple syntax, script based language. Instructions can operate high level macros for moodle main objects administration. the script engine is designed to be robust, flexible and easily extensible. The definition and the execution subengines are precisely architectured components handling several services to the code, such as testing, validating and logging facilities. Direct script writing and execution can be performed through a direct script console provided as an administration tool. The final implementation (pro version) may also integrate web services for remote script injection, and furtherly planned a script writing assistant. The second main application of this script is for use in other plugins that need allowing some variable processings to be executed on some events or part of their internal algorithm. [[:local:moodlescript:developerapplicationexample|A sample use case of application in a plugin development]] ==== Moodle Script Definition ==== The MoodleScript language aims to be simple, concise, and allow most common needs using the fewest attributes and variables to operate. It is BASIC based so being easy to read and understand, using moodle administrator semantics. * [[:local:moodlescript:designgoals|Design goals]] * [[:local:moodlescript:syntaxspecification|Syntax rules specification]] * [[:local:moodlescript:enginearchitecture|Engine architecture]] * [[:local:moodlescript:languagespecification|Moodle script definition]] ==== Feature summary ==== [[:plugins|Back to plugin index]] - [[:pluginsets|Back to plugin set index]]