@@ -7,11 +7,6 @@ Master Status: [] ( https://travis-ci.org/ChaiScript/ChaiScript ) [ ![ Windows Build status] ( https://ci.appveyor.com/api/projects/status/6u3r4s81kkjqmsqw/branch/develop?svg=true )] ( https://ci.appveyor.com/project/lefticus/chaiscript/branch/develop ) [ ![ codecov.io] ( http://codecov.io/github/ChaiScript/ChaiScript/coverage.svg?branch=develop )] ( http://codecov.io/github/ChaiScript/ChaiScript?branch=develop )
99
10- <a href =" https://scan.coverity.com/projects/5297 " >
11- <img alt="Coverity Scan Build Status"
12- src="https://img.shields.io/coverity/scan/5297.svg"/>
13- </a >
14-
1510ChaiScript
1611
1712http://www.chaiscript.com
@@ -27,26 +22,24 @@ Introduction
2722
2823[ ![ Gitter] ( https://badges.gitter.im/JoinChat.svg )] ( https://gitter.im/ChaiScript/ChaiScript?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge )
2924
30- ChaiScript is one of the only embedded scripting language designed from the
31- ground up to directly target C++ and take advantage of modern C++ development
25+ ChaiScript is one of the only embedded scripting language designed from the
26+ ground up to directly target C++ and take advantage of modern C++ development
3227techniques, working with the developer how they would expect it to work. Being a
33- native C++ application, it has some advantages over existing embedded scripting
28+ native C++ application, it has some advantages over existing embedded scripting
3429languages:
3530
36- 1 . It uses a header-only approach, which makes it easy to integrate with
31+ 1 . It uses a header-only approach, which makes it easy to integrate with
3732 existing projects.
38332 . It maintains type safety between your C++ application and the user scripts.
39- 3 . It supports a variety of C++ techniques including callbacks, overloaded
34+ 3 . It supports a variety of C++ techniques including callbacks, overloaded
4035 functions, class methods, and stl containers.
4136
4237
4338Requirements
4439============
4540
46- ChaiScript requires a C++14 compiler to build with support for variadic
47- templates. It has been tested with gcc 4.9 and clang 3.6 (with libcxx).
48- For more information see the build
49- [ dashboard] ( http://chaiscript.com/ChaiScript-BuildResults/index.html ) .
41+ ChaiScript requires a C++17 compiler to build with support for variadic
42+ templates. It has been tested with gcc 7 and clang 6 (with libcxx).
5043
5144Installation using vcpkg
5245========================
@@ -66,17 +59,17 @@ Usage
6659
6760* Add the ChaiScript include directory to your project's header search path
6861* Add ` #include <chaiscript/chaiscript.hpp> ` to your source file
69- * Instantiate the ChaiScript engine in your application. For example, create a
62+ * Instantiate the ChaiScript engine in your application. For example, create a
7063 new engine with the name ` chai ` like so: ` chaiscript::ChaiScript chai `
71- * The default behavior is to load the ChaiScript standard library from a
64+ * The default behavior is to load the ChaiScript standard library from a
7265 loadable module. A second option is to compile the library into your code,
7366 see below for an example.
7467
75- Once instantiated, the engine is ready to start running ChaiScript source. You
76- have two main options for processing ChaiScript source: a line at a time using
68+ Once instantiated, the engine is ready to start running ChaiScript source. You
69+ have two main options for processing ChaiScript source: a line at a time using
7770` chai.eval(string) ` and a file at a time using ` chai.eval_file(fname) `
7871
79- To make functions in your C++ code visible to scripts, they must be registered
72+ To make functions in your C++ code visible to scripts, they must be registered
8073with the scripting engine. To do so, call add:
8174
8275 chai.add(chaiscript::fun(&my_function), "my_function_name");
@@ -86,15 +79,15 @@ Once registered the function will be visible to scripts as "my_function_name"
8679Examples
8780========
8881
89- ChaiScript is similar to ECMAScript (aka JavaScript(tm)), but with some
90- modifications to make it easier to use. For usage examples see the "samples"
91- directory, and for more in-depth look at the language, the unit tests in the
82+ ChaiScript is similar to ECMAScript (aka JavaScript(tm)), but with some
83+ modifications to make it easier to use. For usage examples see the "samples"
84+ directory, and for more in-depth look at the language, the unit tests in the
9285"unittests" directory cover the most ground.
9386
94- For examples of how to register parts of your C++ application, see
95- "example.cpp" in the "samples" directory. Example.cpp is verbose and shows every
96- possible way of working with the library. For further documentation generate
97- the doxygen documentation in the build folder or see the website
87+ For examples of how to register parts of your C++ application, see
88+ "example.cpp" in the "samples" directory. Example.cpp is verbose and shows every
89+ possible way of working with the library. For further documentation generate
90+ the doxygen documentation in the build folder or see the website
9891http://www.chaiscript.com .
9992
10093
0 commit comments