Giter Site home page Giter Site logo

xscript's Introduction

这是一个用于c++和脚本语言进行交互的库。
内部独立实现了一个非常完善的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.
A very perfect C++ reflection mechanism is implemented independently inside.
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).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.