This folder hosts the Scripting Units of the mORMot Open Source framework, version 2.
It is a modern and convenient way to add scripting to your applications, e.g. to allow user-defined workflows in the application or presentation layer, on both client or server sides.
Our mORMot allows scripting on client or server side, using several engines. We tried to leverage the scripting engines use, so that you may be able to embed the right engine for the right need.
The framework eventually supports:
- QuickJS as a small, stand-alone but complete JavaScript interpreter - perfect for client side execution;
- to be done SpiderMonkey as JavaScript interpreter and JIT - could be used on production for high-end services.
Abstract Types for Generic Scripting Integration
- Generic
TThreadSafeEngineParent class - Generic
TThreadSafeManagerParent class
QuickJS JavaScript Interpreter High-Level Integration
TQuickJSEngineThread-Safe Engine ImplementationTQuickJSVariantCustom Variant Type for Late-Binding