SirNate0
41da3db06a
Fix cheatsheet.md typos
...
Add missing parenthesis and quotes.
2023-02-21 11:33:36 -05:00
Terens
6ccab2af6a
Fix typo in cheatsheet.md
2021-09-02 14:16:15 +02:00
Rabia Alhaffar
009b2963a8
Fix typo mistake in one of for loops
2020-09-08 05:23:08 +03:00
TankorSmash
aa3c4ae797
fix typo in cheatsheet; add cpp highlighting
2020-05-22 00:24:43 -04:00
Jakub Młokosiewicz
eeda632846
cheatsheet: fix link to ChaiScript_Extras
2019-09-02 23:12:57 +02:00
Rob Loach
6ce716f5f2
Merge pull request #474 from ChaiScript/push_back_ref
...
docs: Add push_back_ref() note
2019-04-25 18:26:39 -04:00
medithe
57ebd9d403
Update cheatsheet.md: Adding Lambda correction.
...
Currently, the example where a lambda function was added to chaiscript didn't work for me.
I use g++7, g++8,g++9 both with c++14 and c++17 mode.
It doesn't work either in clang++-7.
If the lambda is wrapped into a std::function<> it will work again!
2019-04-25 23:18:51 +02:00
Rob Loach
62ccd6d2ff
docs: Add push_back_ref() note
2019-01-31 09:16:59 -05:00
vocaviking
c0f217abab
Moved ChaiScript_Extras to the bottom
2018-12-21 15:43:52 +01:00
vocaviking
cba13f94d6
Updated cheatsheet.md
...
- Simplified the part about ChaiScript initialization
- Added a link to the ChaiScriptExtras helper library
- Removed the Subsection about built-ins, because they are not longer in the code
2018-12-19 13:03:30 +01:00
ninnghazad
e729e4e86c
Single typo (Mame -> Name)
...
Fixed a typo (Mame -> Name) i came across.
2018-09-25 15:02:47 +02:00
Rob Loach
5c2fd20a9e
docs: Add Switch Statement example
2018-05-09 19:18:34 -04:00
Jason Turner
6c18c64270
Formatting updates
2017-12-16 10:21:02 -07:00
Stephen Berry
037faddab4
Updated cheatsheet.md for latest namespace implementation
2017-09-05 13:48:12 -05:00
Stephen Berry
a9fc1d492e
Merge branch 'develop' of https://github.com/ChaiScript/ChaiScript into develop
2017-09-05 12:13:29 -05:00
Jason Turner
bdd0a12bb7
ChaiScript can only support static in non-threading mode
2017-05-31 14:18:30 -06:00
Jason Turner
78f885ec61
Merge pull request #310 from M2tM/patch-1
...
nullify_shared_ptr changing == to = in documentation.
2016-12-03 14:01:01 -07:00
Jason Turner
590905f4b3
Add notes on base_class conversions
2016-12-02 20:32:47 -07:00
Michael Hamilton
9218dda001
nullify_shared_ptr changing == to = in documentation.
2016-12-01 22:24:47 -08:00
Michael Lamb
c9034a0485
Add break statement to cheatsheet.md
...
Added information about the existence of the break statement to the loop section.
2016-11-21 11:57:52 +11:00
Jason Turner
eefd50a6bc
Merge branch 'release-5.x' into develop
2016-10-26 14:05:28 -06:00
Jason Turner
0d4a99af82
Enable conversion to bool in conditionals
...
closes #295
2016-10-26 13:52:03 -06:00
Stephen Berry
08abf41dfb
Another cheatsheet.md namespace update
2016-10-18 09:37:56 -05:00
Stephen Berry
9f1ba21c5e
Cleaning up namespace documentation
2016-10-18 09:34:55 -05:00
Stephen Berry
96d2eddce1
Fixing cheatsheet.md namespace documentation
2016-10-18 09:29:33 -05:00
Stephen Berry
c45be80bf5
Added namespace documentation to the cheatsheet.md
2016-10-18 09:26:47 -05:00
Jason Turner
7d9e1b3af7
Add ability to disable loading external files
...
* Options are passed to ChaiScript constructor
* load_module / eval_file / use can be disabled
from script context
2016-10-17 20:51:15 -06:00
Jason Turner
c97a69537d
Add ability to get current script context
...
closes #277
2016-10-13 20:44:13 -06:00
Jason Turner
26e6f51fa8
Add notes on bound member function
2016-09-16 12:39:42 -06:00
Jason Turner
9cc0ce01b9
Merge pull request #265 from profiler-bg/patch-1
...
Update cheatsheet.md
2016-09-16 12:38:31 -06:00
Jason Turner
e3d1741c63
Add C++17-style if-init blocks
2016-06-26 22:10:53 -06:00
Jason Turner
09bdec4882
Add ranged-for loops
...
closes [#145 ]
2016-06-26 20:00:01 -06:00
Hristo Petrov
fd57bec676
Update cheatsheet.md
...
Added missing parameters to the examples of "Adding Method / Member"
2016-04-15 16:11:36 +01:00
Jason Turner
91a3ae1f14
Add ability to take non-const & shared_ptr params
2016-03-27 20:02:27 -06:00
Jason Turner
b104b26f11
Also allow lcase global keyword
...
Closes #221
2016-01-31 19:15:32 -07:00
Jason Turner
7923c3e0c7
Add docs on set_global
2016-01-31 14:05:44 -07:00
Jason Turner
bde2a45384
Add map conversions
...
closes #57
2016-01-29 20:41:12 -07:00
Michael Lamb
a97cb1530d
Fix user_type example in cheatsheet.md
...
Fixed example code as chaiscript::user_type is a function.
2016-01-08 14:23:09 +11:00
Bobhostern
b55eff95cf
Fix formatting error in cheatsheet.md
2016-01-03 13:34:27 -06:00
Jason Turner
7ba7b81a5c
Implement option explicit for dynamic objects.
...
Closes #218
2015-10-16 21:41:54 -06:00
Jason Turner
51355343f1
Add intro docs to user defined type conversions
2015-07-11 16:37:54 -06:00
Jason Turner
cebeebdb7a
Minor cleanups and versioning info added
2015-06-13 16:56:22 -06:00
kamilzubair
62ca26c36c
Add two new examples
...
- Add example how to expose base member from derived type
- Add example how to use STL
2015-06-11 09:11:43 +07:00
Glen Fraser
c21c21dfda
Fixed minor typos in cheatsheet
2015-05-08 15:57:59 +02:00
Jason Turner
04f01eee98
Add notes about literal numerics
2015-05-05 09:51:16 -06:00
Jason Turner
cf4efacbe8
Add 'GLOBAL' keyword #122
...
Also provides functionality that makes things like overriding the built in
'print' possible. See #67
2015-05-04 11:47:36 -06:00
Jason Turner
9ab0b1108a
Wrap up method_missing docs and tests
2015-04-23 15:03:08 -06:00
Jason Turner
b489ffe3ed
Fix errors with eval/use of scripts
2015-04-10 08:20:30 -06:00
Jason Turner
63684d0042
Add the ability to get the return value from 'use'
2015-04-08 08:17:33 -06:00
Jason Turner
d514fa3346
Create cheatsheet.md
2015-03-27 10:24:47 -06:00