Minor syntax updates for C++11 readme.md
This commit is contained in:
parent
6642e02496
commit
193151f52e
@ -1,8 +1,12 @@
|
|||||||
ChaiScript
|
ChaiScript
|
||||||
|
|
||||||
http://www.chaiscript.com
|
http://www.chaiscript.com
|
||||||
|
|
||||||
(c) 2009-2012 Jason Turner and Jonathan Turner
|
(c) 2009-2012 Jason Turner and Jonathan Turner
|
||||||
|
|
||||||
Release under the BSD license, see "license.txt" for details.
|
Release under the BSD license, see "license.txt" for details.
|
||||||
|
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
============
|
============
|
||||||
|
|
||||||
@ -40,7 +44,7 @@ Usage
|
|||||||
|
|
||||||
Once instantiated, the engine is ready to start running ChaiScript source. You
|
Once instantiated, the engine is ready to start running ChaiScript source. You
|
||||||
have two main options for processing ChaiScript source: a line at a time using
|
have two main options for processing ChaiScript source: a line at a time using
|
||||||
"chai.eval(string)" and a file at a time using "chai.eval_file(fname)"
|
`chai.eval(string)` and a file at a time using `chai.eval_file(fname)`
|
||||||
|
|
||||||
To make functions in your C++ code visible to scripts, they must be registered
|
To make functions in your C++ code visible to scripts, they must be registered
|
||||||
with the scripting engine. To do so, call add:
|
with the scripting engine. To do so, call add:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user