Skip to content

log245/XScript

Repository files navigation

这是一个用于c++和脚本语言进行交互的库。 可以很方便的将C++的函数导出到脚本。 可以很方便的将C++的类导出到脚本,并且允许在脚本里面从C++的类派生新的脚本类: 一、脚本类可以直接从C++类派生 二、脚本类可以调用C++基类的函数,访问基类的成员 三、脚本类可以重载C++基类的虚函数 四、支持VSCode的调试协议,可以使用VSCode直接进行调试脚本语言(下载VSCode的Debugger for Chrome插件,并且在插件目录下的package.json文件的breakpoints数组中加入对应的语言即可)。 This is a library for interaction between C + + and scripting languages. It is very convenient to export C + + functions to scripts. It is very convenient to export C + + classes to scripts, and it is allowed to derive new script classes from C + + classes in scripts: 1、 Script classes can be derived directly from C + + classes 2、 The script class can call the functions of the C + + base class and access the members of the base class 3、 Script classes can overload virtual functions of C + + base classes 4、 Support the debugging protocol of vscode. You can use vscode to directly debug the script language (download the debugger for chrome plug-in of vscode, and add the corresponding language into the breakpoints array of the package.json file under the plug-in directory).

About

Bind any script to cpp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++95.9%
  • CMake1.6%
  • C1.2%
  • Other1.3%