JavaScriptCore based script engine for Delphi and CrossVcl
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Help First revision Aug 20, 2017
Packages
Redist
Samples
Screenshots Added Windows screenshot Aug 20, 2017
JSK.API.pas
JSK.Base.pas First revision Aug 20, 2017
JSK.Components.pas
JSK.Config.inc First revision Aug 20, 2017
JSK.Win32.RES First revision Aug 20, 2017
JSK.Win32.rc First revision Aug 20, 2017
JSK.Win64.RES First revision Aug 20, 2017
JSK.Win64.rc First revision Aug 20, 2017
LICENSE
README.md Added Windows screenshot Aug 20, 2017
build_res.bat First revision Aug 20, 2017

README.md

JavaScriptCore Kit (JSKit)

Cross-platform JavaScript framework for Delphi. Evaluate JavaScript programs from within a Delphi app, and support JavaScript scripting of your Delphi app.

MacOS Linux Win

Overview

The JSKit allows you to evaluate JavaScript programs from within an Delphi program using JavaScriptCore. It also lets you insert custom objects to the JavaScript environment.

Features

  • Implicit export Delphi object instance with all public or published properties and methods to script.
  • Evaluate component's event from JavaScript
  • Call JavaScript function from Delphi
  • Wrap anonimous procedure to JavaScript function
  • Create new instances of Delphi object from JavaScript

Distribution

Windows JSKit's application requires JavaScripCore shared library. All required DLL located at Redist folder.

macOS already has JavaScriptCore.

JavaScriptCore on Linux can be installed by "sudo apt install libwebkitgtk-3.0"

Requirements

Windows version works with Delphi version since Delphi Seattle. MacOS and Linux version requires CrossVcl from http://www.crossvcl.com

License

Remember that this library and its source code are distributed under terms of Mozilla Public License (MPL) version 2.0. By using this product, you acknowledge your consent to be bound by the terms of MPL.

If you need to use this framework for a project with a different licensing requirements, feel free to contact the author for more options.

Copyright (c) 2017 Eugene Kryukov

http://www.ksdev.com