An embeddable, thread-safe implementation of the cubescript language
 
 
Go to file
Daniel Kolesa 5c034624a9 note 2016-07-24 00:16:00 +01:00
.gitignore add .so to gitignore 2016-02-26 00:15:08 +09:00
COPYING.md trailing newlines 2016-02-07 21:22:39 +00:00
Makefile style updates 2016-07-17 18:50:40 +01:00
README.md note 2016-07-24 00:16:00 +01:00
cubescript.cc per-thread rundepth instead of per-state 2016-07-23 01:08:58 +01:00
cubescript.hh per-thread rundepth instead of per-state 2016-07-23 01:08:58 +01:00

README.md

libcubescript

This is an embeddable version of the CubeScript implementation from the Cube 2 engine. The API is highly unstable right now and overall it's a work in progress.

It depends on the latest Git version of OctaSTD:

https://git.octaforge.org/tools/octastd.git/ https://github.com/OctaForge/OctaSTD

Currently the API is unstable and the whole thing is a work in progress. It requires C++14, just like OctaSTD does.

You can compile your application with it like:

c++ myapp.cc cubescript.cc -o myapp -std=c++14 -Wall -Wextra -I. -Ipath/to/octastd

It also supports building as a shared library. To do that, use the following command line:

c++ cubescript.cc -o libcubescript.so -std=c++14 -Wall -Wextra -I. -Ipath/to/octastd -shared -fPIC

See COPYING.md for licensing information.