Jason Turner
6757b66f95
Merge pull request #305 from mlamby/patch-2
...
Add break statement to cheatsheet.md
2016-11-20 18:05:37 -07: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
50dcbc8c7e
Simplify Symbol parsing.
...
closes #301
2016-11-13 15:14:41 -07:00
niXman
1ea91faf52
parser optimization Three
2016-11-08 01:11:46 +02:00
niXman
745e0c0f0b
parser optimization step Two
2016-11-04 09:15:02 +02:00
niXman
c42477f2eb
parser optimization step One
2016-11-03 22:47:48 +02:00
Jason Turner
335a02f165
Add release notes on if-init expressions
2016-11-01 13:04:49 -06:00
Jason Turner
012f1ffff5
Remove incorrect override
2016-10-30 21:51:00 -06:00
Jason Turner
9925b20fad
Cleanups found with PMD's CPD
2016-10-29 09:41:55 -06:00
Jason Turner
28122f7cb0
Fix single parameter constructors found by cppcheck
2016-10-28 15:49:40 -06:00
Jason Turner
b1f1803759
Some cleanups found by clang's analyzer
2016-10-28 14:53:01 -06:00
Jason Turner
359897a442
Flesh out parser and tracer usage cases
2016-10-28 13:36:10 -06:00
Jason Turner
ffcd7e3a76
Merge branch 'release-5.x' into develop
2016-10-28 11:04:15 -06:00
Jason Turner
2c99e6cd32
Update release notes
v5.8.6
2016-10-28 11:03:31 -06:00
Jason Turner
332a62769b
Merge branch 'release-5.x' into develop
2016-10-28 10:57:55 -06:00
Jason Turner
a38b254a98
Only allow class in top level scope
...
* Throw error if class is in unexpected place
* Allow catching of `eval_error` from inside of script
closes #297
2016-10-28 10:56:12 -06:00
Jason Turner
77231461ca
Add test for class inside of scope
...
Addresses #297
2016-10-28 09:01:40 -06: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
Jason Turner
9f30d84f39
Add conversion to bool tests as conditionals
2016-10-26 12:29:30 -06:00
Jason Turner
8b18e301d2
Merge branch 'release-5.x' into develop
2016-10-26 12:24:40 -06:00
Jason Turner
508729ec77
Properly handle error reporting with method_missing
2016-10-26 10:08:53 -06:00
Jason Turner
0fe78f7ba5
Make sure to not break non-basic interface
2016-10-26 08:47:49 -06:00
Jason Turner
6202149b4f
Merge pull request #294 from roig/fixCompilerErrors
...
Fix some GCC compiler errors.
2016-10-26 08:41:15 -06:00
Daniel Guzman
4ad661475b
Fix some GCC compiler errors.
2016-10-22 16:49:53 +02: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
Stephen Berry
d61e322c1d
Added unit tests for namespaces.
...
These demonstrate the global scope of namespaces, defining functions and variables within namespaces, and namespace nesting by copy or reference.
2016-10-18 08:57:51 -05:00
Jason Turner
6d309b7516
Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
2016-10-17 20:55:47 -06: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
Stephen Berry
d2c2962eb7
Added braces to better distinguish case statements.
...
Added more comments to namespace handling functions.
Added mutex protection to import.
2016-10-17 08:26:26 -05:00
Jason Turner
b99ccafa07
Fix some MSVC issues
...
* Add error if you are using too low of an MSVC compiler
* Fix some warnings
2016-10-16 16:04:33 -06:00
Jason Turner
c97a69537d
Add ability to get current script context
...
closes #277
2016-10-13 20:44:13 -06:00
Stephen Berry
a01687d7ad
Added basic namespace handling. The new code is wrapped in NAMESPACE HANDLING comments.
...
C++:
register_namespace(): registers a namespace with an instance of ChaiScript (supports delayed namespace generation)
import(): imports a namespace as a global Dynamic_Object
ChaiScript:
import(): imports a namespace
namespace(): generates and registers a new namespace
2016-10-12 09:42:57 -05:00
Jason Turner
fac8f3ec90
Merge branch 'release-5.x' into develop
2016-10-10 20:09:40 -06:00
Jason Turner
ab07872857
Update to 5.8.6
2016-10-10 19:46:29 -06:00
Jason Turner
23c13e6570
Apply return optimization to lambdas
...
closes #289
2016-10-10 18:52:54 -06:00
Jason Turner
aa9267726f
Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
2016-10-09 20:03:39 -06:00
Jason Turner
396e78d295
Merge branch 'release-5.x' of github.com:ChaiScript/ChaiScript into develop
2016-10-09 20:03:22 -06:00
Jason Turner
7339ff2c2f
Update release notes for 5.8.5
v5.8.5
2016-10-09 19:59:48 -06:00
Jason Turner
1efcddd335
Update releasenotes.md
2016-10-08 07:38:49 -06:00
Jason Turner
21ccb1d1d0
Fix module loading
2016-10-07 21:54:40 -06:00
Jason Turner
c37c901a0c
Fix MSVC build
...
closes #287
2016-10-07 21:39:19 -06:00
Jason Turner
690b96d9ee
Change fuzzy tests to account for prefix & changes
2016-10-07 11:26:30 -06:00
Jason Turner
d638d87a0f
Fix function reassignment
2016-10-07 09:36:38 -06:00
Jason Turner
b091439567
Merge branch 'release-5.x' into develop
2016-10-07 09:13:19 -06:00
Jason Turner
665125665a
Bump to 5.8.5
...
- remove parsing of unary &, it was unused
2016-10-06 22:32:55 -06:00
Jason Turner
d1c7645a4e
Backport inits for g++4.6
2016-10-06 15:19:47 -06:00