Skip to content

alexandreparra/project_embed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Embed

This project shows real examples on how to embed scripting languages and runtimes on your native C/C++ code, from building the projects to interacting with their VM's. This is an instructional/educational repository, read each README.md file to understand what is happening. I try to bring most interoperability functionalities into the examples, if something is not clear, or a better example may be provided, please fill an issue or send a pull request.

Dependencies

All examples relies on CMake, and an up to date C/C++ compiler:

The external dependencies are managed as git submodules for most examples. To clone the project with all dependencies run this command:

git clone --recursive https://github.com/alexandreparra/project_embed.git

If you've already pulled the repository but didn't init the submodules, simply run this command at the project root:

git submodule update --init --recursive

If any other dependencies are needed, the respective README.md files inside each language folders or examples will list them accordingly.

Available Languages

Language Name Info
Haxe/Hashlink Statically typed, GC, JIT
Squirrel Dynamically typed, RC, GC