Jason Turner
|
30affb8855
|
Correct assertion that was causing clang (and any other debug build) to fail tests
|
2010-09-20 12:47:25 +00:00 |
|
Jason Turner
|
22c2be835a
|
Get chaiscript compiling with LLVM/clang. Resulting code crashes, however.
|
2010-09-20 03:24:48 +00:00 |
|
Jason Turner
|
a39d70dbca
|
Rip out caching in dispatch kit to get a more clean view of the performance world
|
2010-09-19 23:24:52 +00:00 |
|
Jason Turner
|
10986c159f
|
Add support for automatic conversion between chaiscript functions and boost::function. Might merit some look to see how much overhead this adds.
|
2010-09-13 14:24:12 +00:00 |
|
Jonathan Turner
|
cfa42158af
|
Clean up reflection a bit, and how we do pretty printing of ast nodes. Registered new internal_to_string in reflection module so that we
can have automatic pretty printing of ast nodes during repl eval.
|
2010-08-30 13:37:50 +00:00 |
|
Jonathan Turner
|
054179ead3
|
Commenting out of previous node value caching scheme. This allows us to profile later, without having these smaller optimizations
clutter up the flow. This also allows us to pass the reflection test.
|
2010-08-29 21:33:11 +00:00 |
|
Jonathan Turner
|
8a6a46d0d3
|
Fix to the method/array dispatch issue
|
2010-08-29 19:49:57 +00:00 |
|
Jason Turner
|
efae821996
|
Add some unit tests for reflection and recently discovered array lookup returned from a method problem
|
2010-08-28 22:55:43 +00:00 |
|
Jason Turner
|
31feab6053
|
Fix to parsing of single-line comments where the comment at the end of a line was merging statements separated by a single line comment
|
2010-08-28 22:14:09 +00:00 |
|
Jason Turner
|
7ef12f634d
|
Register AST_Node and Parser, overloaded eval for AST_Node and some const correctness fixes
|
2010-08-28 21:48:30 +00:00 |
|
Jonathan Turner
|
c6452c4bd6
|
Rename of Token to AST_Node to be more correct
|
2010-08-28 18:38:01 +00:00 |
|
Jason Turner
|
71de169e09
|
Stub out the reflection module
|
2010-08-28 18:29:38 +00:00 |
|
Jason Turner
|
329244759f
|
Fix warnings discovered on macos
|
2010-08-28 17:58:02 +00:00 |
|
Jonathan Turner
|
c5f20ea158
|
A little cleanup of logical and/or since those are now separate evals.
|
2010-08-19 14:42:18 +00:00 |
|
Jonathan Turner
|
58c62f6333
|
More refactoring of parser to use the token children types directly instead of using a giant switch statement during build_match.
|
2010-08-15 02:04:35 +00:00 |
|
Jonathan Turner
|
7f037b26d4
|
Updated email addresses in copyright information.
|
2010-08-10 05:24:07 +00:00 |
|
Jonathan Turner
|
b1e357423f
|
Move structure to being inheritance-based in preparation for reflection infrastructure. This technique relies on the vtable's dynamic dispatch for correct evaluation, and removes the giant switch eval style of previous revisions.
|
2010-08-08 17:18:32 +00:00 |
|
Jason Turner
|
3a904d9f74
|
Drastically reduce the number of exceptions thrown at runtime (cannot completely eliminate them all, it's the nature of doing what we are doing with making a runtime interface to a compiled system like we are).
profile.chai should see something like a reduction from 35,000 exceptions to about 100.
|
2010-08-07 19:27:15 +00:00 |
|
Jonathan Turner
|
d838f7a6d4
|
Renaming of helper function char_between. Adding help to check for hitting the end of input.
|
2010-08-07 02:18:51 +00:00 |
|
Jonathan Turner
|
556e7ad916
|
Cleaned up the formatting a bit. Switched parser over to using charBetween, which significantly improves
readability of the early parsing rules.
|
2010-08-06 11:17:53 +00:00 |
|
Jason Turner
|
21253043d1
|
Add option for "light" testing, which greatly reduces compile times
|
2010-08-05 13:44:23 +00:00 |
|
Jason Turner
|
f215cae866
|
Add string.c_str() and string.data() methods.
|
2010-08-05 13:38:11 +00:00 |
|
Jason Turner
|
ea93903884
|
Fix build problem that was causing chaiscript_no_threads to still link with boost_thread
|
2010-08-04 19:17:33 +00:00 |
|
Jason Turner
|
f03189c168
|
Quiet down some irrelevant warnings in MSVC2008, make dynamic_cast conversions work in msvc across modules by applying a kludge that will probably not work long term, but does work now. This may mean that chaiscript needs to move to being a library?
|
2010-08-03 17:21:51 +00:00 |
|
Jason Turner
|
a122403c20
|
Fix problem with functor<>() not casting to the proper type and add unit test for this case
|
2010-08-03 15:19:20 +00:00 |
|
Jason Turner
|
e1fbf54e40
|
Make disabling of thread support a configuration time option. This mainly exists for testing purposes.
|
2010-08-03 03:09:49 +00:00 |
|
Jason Turner
|
2b80ca8cc5
|
Add missing inheritance unit test
|
2010-08-03 01:18:15 +00:00 |
|
Jason Turner
|
f4e4f92dae
|
Move type registration into module code, and fix problems with unloading of modules and type conversions registered inside of a module.
We have to allow the same type registration more than once now, just in case several different modules register the same conversion.
|
2010-08-03 01:17:38 +00:00 |
|
Jason Turner
|
4358564065
|
Make sure the same base/derived relationship is never registered more than once
|
2010-08-02 18:18:39 +00:00 |
|
Jason Turner
|
a463ee5ff2
|
Clean up key used in the thread global object cache, to make sure proper type comparisons are done in the corner cases found in the main boxed_cast<> code a while back
|
2010-08-02 17:51:30 +00:00 |
|
Jason Turner
|
cd015a8437
|
Thread safety for dynamic conversions / registration of new inheritance relationship
|
2010-08-02 17:01:38 +00:00 |
|
Jason Turner
|
8be4aa08db
|
Reduce runtime calls into the new dynamic cast system by first making sure the type is polymorphic.
Cleanup some std::cout calls
|
2010-08-02 02:30:41 +00:00 |
|
Jason Turner
|
edee892cad
|
Initial check in of support for upcasting during function invocation. No examples or tests are checked in yet. Some reorg was necessary to get things compiling in the right order. Is not currently thread safe and probably does not work properly across module boundaries
|
2010-08-02 01:38:25 +00:00 |
|
Jason Turner
|
b971ee44ad
|
Make warnings stricter on windows and clean up all legit warnings in our code.
|
2010-07-30 18:06:17 +00:00 |
|
Jason Turner
|
b9ae4cd528
|
Make warnings more strict and fix one warning caught by gcc
|
2010-07-30 16:25:58 +00:00 |
|
Jason Turner
|
4ec21ff552
|
Add test of dynamic object attribute access shared between c++ and chaiscript
|
2010-07-25 19:56:19 +00:00 |
|
Jason Turner
|
f5f99961c1
|
Make sure that stack is properly initialized on a per-thread basis. Fixes #95wq
|
2010-07-23 20:00:17 +00:00 |
|
Jason Turner
|
f7086c10ec
|
Roll back changes from last 2 checkins - user defined type conversions are going to be too slow and too hard to keep track of. Need more portable / generic approach to solving the actual problem - the ability to deal with inhertance properly
|
2010-07-23 14:55:32 +00:00 |
|
Jason Turner
|
3d19138c95
|
Minor reorg of type conversion code to support move to using it in dispatch
|
2010-07-18 01:52:07 +00:00 |
|
Jason Turner
|
35ac7342b6
|
Stub in of support for type conversions. Not yet fully implemented.
|
2010-07-17 21:49:27 +00:00 |
|
Jason Turner
|
3f9b5081c6
|
Add macro for helping with registering classes with ChaiScript, plus unit test for it
|
2010-07-17 01:01:21 +00:00 |
|
Jason Turner
|
799b3ef388
|
Update copyright for 2010
v2.3.3
Release-2.3.3
|
2010-05-15 22:48:54 +00:00 |
|
Jason Turner
|
fe6694297f
|
Set version number to 2.3.3
|
2010-05-15 22:39:28 +00:00 |
|
Jason Turner
|
e77ec4b16a
|
Clean up the vim syntax a bit, add escape characters and incorporate changes from bram
|
2010-04-01 19:01:18 +00:00 |
|
Jason Turner
|
f070575205
|
Cleanups of vim files to get them ready for submission
|
2010-03-31 20:11:19 +00:00 |
|
Jason Turner
|
43d0d6199a
|
Clean up use recognition of backtick operator functions, add support for .. range operator
|
2010-03-31 01:01:45 +00:00 |
|
Jason Turner
|
65c5178549
|
Update copyright/version info for geshi filter
|
2010-03-31 00:23:02 +00:00 |
|
Jason Turner
|
c928e2992b
|
Fix readline support for the eval
|
2010-03-30 18:40:55 +00:00 |
|
Jason Turner
|
7fef086cab
|
Add geshi syntax highlighting (updated and cleaned up from the version that was hosted at chaiscript.com)
|
2010-03-30 16:50:18 +00:00 |
|
Jason Turner
|
791fd242e7
|
Add "throw" built in function to vim syntax highlighting
|
2010-03-30 16:38:20 +00:00 |
|