Some important classes in ScriptX:
ScriptEngine
EngineScope
Exception
Value
,Null
,Object
,String
,Number
,Boolean
,Function
,Array
,ByteBuffer
,Unsupported
Local<Value>
,Local<Null>
,Local<Object>
,Local<String>
,Local<Number>
,Local<Boolean>
,Local<Function>
,Local<Array>
,Local<ByteBuffer>
,Local<Unsupported>
Global<T>
,Weak<T>
Before officially using ScriptX, please spend half an hour read carefully the following documents, and be familiar with several concepts in ScriptX.
- CMake project introduction guide
- Basic Concepts This part is more important
- Agreement
- Predefined Macro
- Engine and MessageQueue
- Scope
- Value
- Local
- Global / Weak
- Exception Handling
- C++ Binding
- Create a Native Function
- defineClass
- ScriptClass
- Various operations
- Binding C++ functions directly
- converter
- Binding of existing C++ classes
- Tips: Choose overloaded functions
- Tips: Differences in different languages
- [Interoperability with native engine API] (Interop.md)
script::v8_interop
script::jsc_interop
script::lua_interop
- JavaScript language description
- Type comparison table
- Lua language description
- WebAssemble Description
- node.js description
- QuickJs description
- FAQ
- Quick Experience/Start Guide
- Performance Related
- ScriptX at the 2020 Pure C++ Conference