forked from OctaForge/libcubescript
another update
parent
1382e328ee
commit
1412ff00a5
|
@ -1,18 +1,18 @@
|
||||||
# libcubescript
|
# libcubescript
|
||||||
|
|
||||||
Libcubescript is an embeddable implementation of the Cubescript scripting
|
Libcubescript is an embeddable implementation of the CubeScript scripting
|
||||||
language. Cubescript is the console/config language of the Cube engines/games
|
language. CubeScript is the console/config language of the Cube engines/games
|
||||||
(and derived engines/games). It's a simplistic language defined around the
|
(and derived engines/games). It's a simplistic language defined around the
|
||||||
idea of everything being a string, with Lisp-like syntax (allowing various
|
idea of everything being a string, with Lisp-like syntax (allowing various
|
||||||
control structures to be defined as commands).
|
control structures to be defined as commands).
|
||||||
|
|
||||||
Libcubescript is originally based on the implementation from the Cube 2 engine,
|
Libcubescript is originally based on the implementation from the Cube 2 engine,
|
||||||
but it's largely rewritten. Here are some of the benefits over the original
|
but largely rewritten. Here are some of the benefits over the original
|
||||||
implementation:
|
implementation:
|
||||||
|
|
||||||
* Independent implementation (can be embedded in any project)
|
* Independent implementation (can be embedded in any project)
|
||||||
* No global state (multiple CubeScripts in a single program)
|
* No global state (multiple CubeScripts in a single program)
|
||||||
* Modern C++14 API (no macros, strongly typed enums, lambda support, range support etc.)
|
* Modern C++14 API (no macros, strongly typed enums, lambdas, ranges etc.)
|
||||||
* C++14 lambdas can be used as commands (including captures and type inference)
|
* C++14 lambdas can be used as commands (including captures and type inference)
|
||||||
* Error handling including recovery (protected call system similar to Lua)
|
* Error handling including recovery (protected call system similar to Lua)
|
||||||
* No manual memory mangement, values manage themselves
|
* No manual memory mangement, values manage themselves
|
||||||
|
|
Loading…
Reference in New Issue