Jason Turner
f47ec0d522
Merge pull request #7 from lefticus/master
...
Merge Number Performance Updates
2011-06-03 17:52:04 -07:00
Jason Turner
4053196188
Reduce creation of new Boxed_Value containers when returning the same value that was passed in
2011-06-04 04:26:06 +08:00
Jason Turner
5b40a85024
Add direct access to Boxed_Value data * for high performance operations
2011-06-04 04:26:00 +08:00
Jason Turner
36faba8ed3
Bypass dispatch during numeric operations. 2x speedup
2011-06-04 04:25:54 +08:00
Jason Turner
7d022c4f0d
Add is_prime profile script
2011-06-04 04:25:47 +08:00
Jason Turner
b933bb6c50
Begin move of Operators code out a level so that it can be used before dispatch
2011-06-04 04:25:42 +08:00
Jason Turner
92bfcfdcf3
Wrap up new Boxed_Numeric support
2011-06-04 04:25:36 +08:00
Jason Turner
3b754cfec4
Further simplification and refinement of enhanced Algebraic types support
2011-06-04 04:25:30 +08:00
Jason Turner
3689c01e4b
Significant reduction in templates instantiated by grouping of operators - smaller code and compile time
2011-06-04 04:25:24 +08:00
Jason Turner
4b90fbd07a
wrap up support for all built in C++ Arithmetic types
2011-06-04 04:25:18 +08:00
Jason Turner
1a225dca67
Progress towards eliminating arithmetic operators on a per-type basis
2011-06-04 04:25:12 +08:00
Jason Turner
226666c2bb
Rename Boxed_POD_Value to Boxed_Numeric, which is more correct.
2011-06-04 04:24:57 +08:00
Jason Turner
d4ef226911
Reduce creation of new Boxed_Value containers when returning the same value that was passed in
2011-06-03 13:48:32 -06:00
Jason Turner
6491262491
Add direct access to Boxed_Value data * for high performance operations
2011-06-03 12:41:38 -06:00
Jason Turner
2c4d69bfc0
Bypass dispatch during numeric operations. 2x speedup
2011-06-01 22:12:50 -06:00
Jason Turner
f423969a8e
Add is_prime profile script
2011-05-31 08:09:30 -06:00
Jason Turner
36cd4c370a
Begin move of Operators code out a level so that it can be used before dispatch
2011-05-31 07:42:30 -06:00
Jason Turner
85f69782b2
Wrap up new Boxed_Numeric support
2011-05-30 19:38:04 -06:00
Jason Turner
1f130c0891
Further simplification and refinement of enhanced Algebraic types support
2011-05-29 17:33:45 -06:00
Jason Turner
fdd1b40a9f
Significant reduction in templates instantiated by grouping of operators - smaller code and compile time
2011-05-29 09:14:48 -06:00
Jason Turner
6993d58fdc
wrap up support for all built in C++ Arithmetic types
2011-05-28 23:48:17 -06:00
Jason Turner
1845114d36
Progress towards eliminating arithmetic operators on a per-type basis
2011-05-26 05:58:19 -06:00
Jason Turner
bba1ffde38
Rename Boxed_POD_Value to Boxed_Numeric, which is more correct.
2011-05-24 12:39:39 -06:00
Jason Turner
18d4984258
Final tweaks to packaging for 3.0.0
v3.0.0
Release-3.0.0
2011-05-23 08:16:24 -06:00
Jason Turner
845eb394ac
Correct installation of pkgconfig file
2011-05-23 07:58:05 -06:00
Jason Turner
66b2adba5c
Final tweaks to release 3.0.0 docs
2011-05-23 07:07:27 -06:00
Jason Turner
02db23e9e2
Minor doc tweaks
2011-05-23 06:55:31 -06:00
Jason Turner
fbef83ecb7
Final documentation for release 3.0.0 completed
2011-05-22 23:29:55 -06:00
Jason Turner
88fbf41091
Getting started document updates
2011-05-22 21:43:58 -06:00
Jason Turner
897385953c
More documentation updates and additions to getting started guide
2011-05-22 12:08:24 -06:00
Jason Turner
319f9e4de9
Fix issues with trim() and with unit tests relying on certain line endings.
2011-05-20 16:01:50 -06:00
Jason Turner
2786156086
Finalize documentation for 3.0.0 release and update version number in CMakeLists.txt
2011-05-20 13:44:34 -06:00
Jason Turner
e5f9dbb93b
Fix failing unit tests related to recent renaming of function to Function
2011-04-26 10:17:24 -06:00
Jason Turner
61b8481514
Further documentation of the prelude / standard library.
2011-04-25 20:24:31 -06:00
Jason Turner
8a0ef143c9
C++ API documentation is complete. ChaiScript keyword and language documentation about 75% complete (mostly ported from website.)
2011-04-17 09:29:34 -06:00
Jason Turner
f1918f147d
More documentation updates.
2011-04-04 07:08:28 -06:00
Jason Turner
0d238b1617
Documentation updates and namespace reorg for docs.
2011-04-02 20:52:49 -06:00
Jason Turner
d22a77503c
Fix build errors and warnings for VS2010
2011-04-02 11:21:11 -06:00
Jason Turner
8dec35ba19
Merge branch '2011-03-15-DocumentationUpdates'
...
Conflicts:
include/chaiscript/language/chaiscript_engine.hpp
2011-03-29 20:24:17 -06:00
Jason Turner
a91c66d286
Couple of include guard cleanups
2011-03-29 09:28:35 -06:00
Jason Turner
8ecd3a084b
Add simple efficencies for static ids
2011-03-28 19:50:41 -06:00
Jason Turner
79e8af4f6e
Enhance eval error stack reporting
...
Use OOP to avoid code duplication for eval error tracking. This results
in much more robust stack error reporting and 400 LOC less.
2011-03-27 21:03:24 -06:00
Jason Turner
de5822873b
Use RAII for scope management
...
Possibly fixes a few bugs where scope pops where missed.
2011-03-27 10:03:37 -06:00
Jason Turner
d6b8e32373
Allow for parse time evaluation of const values.
...
The goal is to allow for more evaluation at parse time, in general, to
increase eval time performance.
- Make AST_Node non-constructable except by derived classes.
- Make data in AST_Node const (as much as possible).
- Replace reflection "text = " with replace_child() (where the
replacement must be with a new parse tree).
- Evaluate floats, strings, ints, chars at parse time to avoid repeat
evaluations (~10% speed up in loops in -O3)
2011-03-27 08:17:04 -06:00
Jason Turner
bbe89e61bc
elimination of unused / outdated code and documentation cleanups.
2011-03-26 22:42:11 -06:00
Jason Turner
87c29ebc91
Ensure that non-shared_ptr, non-boxed_value, non-reference return types
...
are treated as const.
2011-03-26 09:03:36 -06:00
Jason Turner
92c836c58a
Simplify mutex code by providing stubs that are do nothing during
...
CHAISCRIPT_NO_THREADS builds.
2011-03-25 22:49:17 -06:00
Jason Turner
58e5df0a9a
Even more reorganization of namespaces to help with documentation and
...
clarity.
2011-03-25 15:42:18 -06:00
Jason Turner
854737ea25
Fix compile time error for non-posix, non-win32 platforms.
2011-03-25 10:43:17 -06:00
Jason Turner
8bd512a0af
Merge branch '2011-03-15-DocumentationUpdates' of https://github.com/ChaiScript/ChaiScript into 2011-03-15-DocumentationUpdates
2011-03-24 09:28:11 -06:00