Skip to content

Commit a1a78e9

Browse files
committed
remove trailing spaces from readme.txt
1 parent 0f37802 commit a1a78e9

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

readme.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ Introduction
2727

2828
[![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)
2929

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
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
3232
techniques, 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
33+
native C++ application, it has some advantages over existing embedded scripting
3434
languages:
3535

36-
1. It uses a header-only approach, which makes it easy to integrate with
36+
1. It uses a header-only approach, which makes it easy to integrate with
3737
existing projects.
3838
2. It maintains type safety between your C++ application and the user scripts.
39-
3. It supports a variety of C++ techniques including callbacks, overloaded
39+
3. It supports a variety of C++ techniques including callbacks, overloaded
4040
functions, class methods, and stl containers.
4141

4242

@@ -66,17 +66,17 @@ Usage
6666

6767
* Add the ChaiScript include directory to your project's header search path
6868
* Add `#include <chaiscript/chaiscript.hpp>` to your source file
69-
* Instantiate the ChaiScript engine in your application. For example, create a
69+
* Instantiate the ChaiScript engine in your application. For example, create a
7070
new engine with the name `chai` like so: `chaiscript::ChaiScript chai`
71-
* The default behavior is to load the ChaiScript standard library from a
71+
* The default behavior is to load the ChaiScript standard library from a
7272
loadable module. A second option is to compile the library into your code,
7373
see below for an example.
7474

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
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
7777
`chai.eval(string)` and a file at a time using `chai.eval_file(fname)`
7878

79-
To make functions in your C++ code visible to scripts, they must be registered
79+
To make functions in your C++ code visible to scripts, they must be registered
8080
with the scripting engine. To do so, call add:
8181

8282
chai.add(chaiscript::fun(&my_function), "my_function_name");
@@ -86,15 +86,15 @@ Once registered the function will be visible to scripts as "my_function_name"
8686
Examples
8787
========
8888

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
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
9292
"unittests" directory cover the most ground.
9393

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
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
9898
http://www.chaiscript.com.
9999

100100

0 commit comments

Comments
 (0)