Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge trunk | dgp | 2013-07-18 | 1 | -5/+1 |
|\ | |||||
| * | [Bug 1c17fbba5d] Fix -errorinfo from syntax errors so that the error is | dgp | 2013-07-18 | 1 | -4/+1 |
| | | | | | | not obscured. Instead highlight it by making it the last character quoted. | ||||
* | | Factor out the call to a compileProc into one place used by both ensemble | dgp | 2013-07-17 | 1 | -34/+14 |
| | | | | | | subcommand compiles and toplevel command compiles in TclCompileScript. | ||||
* | | Streamline the housekeeping on the operands of INST_START_CMD. | dgp | 2013-07-16 | 1 | -49/+32 |
| | | | | | | For example, do only incr on success, not incr on attempt + decr on error. | ||||
* | | Simplify the ensemble subcommand compile. There's no need to be | dgp | 2013-07-16 | 1 | -1/+0 |
| | | | | | | crafting synthetic Tcl_Parse and copying tokens. Some pointer shifts will do. | ||||
* | | Simplify arguments to TclContinuationsEnterDerived(). | dgp | 2013-07-16 | 1 | -4/+2 |
| | | |||||
* | | Eliminate the litInfo table and all the code tending to its care and feeding. | dgp | 2013-07-16 | 1 | -43/+0 |
| | | | | | | | | The pc -> command index mapping function it provided can be achieved using other data already in the ByteCode struct. | ||||
* | | Build CompileBasicNArgCommand on top of TclCompileInvocation. | dgp | 2013-07-15 | 1 | -3/+3 |
| | | |||||
* | | Remove the (now unused) wlineat arguments. | dgp | 2013-07-10 | 1 | -6/+2 |
| | | |||||
* | | Revise the litInfo table so that it gets built later (in TclInitByteCodeObj) | dgp | 2013-07-10 | 1 | -60/+19 |
| | | | | | | from a simpler store of data that can unwind. | ||||
* | | Tentative Work In Progress unwinding TIP 280 line information. | dgp | 2013-07-09 | 1 | -10/+29 |
| | | |||||
* | | Use the TokenAfter() macro. | dgp | 2013-07-08 | 1 | -7/+5 |
| | | |||||
* | | Use TIP 280 macros. | dgp | 2013-07-08 | 1 | -4/+2 |
| | | |||||
* | | Factor out compiling the Command literal. | dgp | 2013-07-08 | 1 | -22/+19 |
| | | |||||
* | | Plug memory leak; Break three compilation mechanisms into routines. | dgp | 2013-07-08 | 1 | -196/+266 |
| | | |||||
* | | Move TIP 280 and command extent housekeeping to the periphery. | dgp | 2013-07-08 | 1 | -27/+27 |
| | | |||||
* | | Defer expansion request detection as much as possible. | dgp | 2013-07-08 | 1 | -13/+30 |
| | | |||||
* | | Consolidate the StartExpanding() calls. | dgp | 2013-07-08 | 1 | -7/+3 |
| | | |||||
* | | The routines StartExpanding() and EnterCmdWordData() are orthogonal, so it's | dgp | 2013-07-08 | 1 | -4/+3 |
| | | | | | | ok to reverse the order in which they are called. | ||||
* | | merge trunk | dgp | 2013-07-05 | 1 | -1/+2 |
|\ \ | |/ | |||||
* | | comment improvements | dgp | 2013-07-02 | 1 | -2/+20 |
| | | |||||
* | | More Work In Progress. | dgp | 2013-07-01 | 1 | -21/+34 |
| | | |||||
* | | More elimination of error message litter to fix [Bug 20a81392ec]. | dgp | 2013-06-28 | 1 | -8/+0 |
| | | |||||
* | | Stop the compileProc routines leaving behind error messages in interp. | dgp | 2013-06-27 | 1 | -60/+49 |
| | | | | | | | | | | (Nicer way to solve [Bug 20a81392ec].) Make simplifications in TclCompileScript() make possible by the new structure. Still a work in progress. | ||||
* | | plug memory leaks | dgp | 2013-06-27 | 1 | -1/+3 |
| | | |||||
* | | Fix bytecode ranges in the cmdMapPtr. still leaky. | dgp | 2013-06-26 | 1 | -4/+9 |
| | | |||||
* | | A few bug fixes from failing tests; still leaky. | dgp | 2013-06-26 | 1 | -2/+5 |
| | | |||||
* | | merge trunk | dgp | 2013-06-25 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Replace always true test with assertion. | dgp | 2013-06-25 | 1 | -1/+2 |
| | | |||||
* | | Nearly functional now, but leaky and not yet as tidy as I'm hoping for. | dgp | 2013-06-25 | 1 | -12/+289 |
| | | |||||
* | | merge trunk | dgp | 2013-06-25 | 1 | -5/+3 |
|\ \ | |/ | |||||
| * | Make more use of the CompileTokens() macro. | dgp | 2013-06-25 | 1 | -5/+3 |
| | | |||||
* | | Branch for rewriting TclCompileScript() and related routines, with the | dgp | 2013-06-25 | 1 | -0/+124 |
|/ | | | | | intent to generally simplify and make more readable, as well as find and eliminate duplication with ensemble machinery and improve mergeability to other branches. Work in Progress. Doesn't work at all right now. | ||||
* | TclCompileScript() should not overwrite envPtr->numSrcBytes. | dgp | 2013-06-20 | 1 | -2/+0 |
|\ | | | | | The envPtr already has the right value stored in it. | ||||
| * | TclCompileScript() should not overwrite envPtr->numSrcBytes. | dgp | 2013-06-20 | 1 | -1/+0 |
| | | | | | | The envPtr already has the right value stored in it. | ||||
* | | More use of simplifying macros. | dgp | 2013-06-19 | 1 | -7/+6 |
| | | | | | | Replace dynamic allocation with automatic storage on the call stack. | ||||
* | | Select improvements in stack depth estimates brought over from mig-review. | dgp | 2013-06-11 | 1 | -7/+5 |
| | | | | | | | | | | Mostly these are just simplifications, removing code that wasn't needed. Some changes make the stack depth estimate more accurate instruction by instruction. | ||||
* | | Repairs to compile/exec debugging output. | dgp | 2013-06-11 | 1 | -1/+6 |
| | | |||||
* | | More informative comment describing INST_SYNTAX. | dkf | 2013-06-08 | 1 | -1/+2 |
| | | |||||
* | | Corrected wrong information about instruction width that was causing an ↵ | dkf | 2013-06-05 | 1 | -1/+1 |
| | | | | | | | | optimizer crash. | ||||
* | | More cleaning up; factor out optimizer to new file. Some weird problems still. | dkf | 2013-06-05 | 1 | -173/+1 |
| | | |||||
* | | Stack cleanup works now even in the most evil expansion cases. | dkf | 2013-06-05 | 1 | -4/+104 |
| | | |||||
* | | Next stage of fixing the break/continue generation. | dkf | 2013-06-03 | 1 | -0/+3 |
| | | |||||
* | | Generate [continue] optimally in [for] next clauses. Add tests for Bug 3614226. | dkf | 2013-06-03 | 1 | -1/+34 |
| | | |||||
* | | Many improvements to code generation of efficient break and continue. | dkf | 2013-06-02 | 1 | -13/+147 |
| | | |||||
* | | Getting better at doing more efficient break/continue instruction handling. | dkf | 2013-06-01 | 1 | -0/+42 |
| | | |||||
* | | derp | dkf | 2013-05-30 | 1 | -2/+2 |
| | | |||||
* | | Working towards the next batch of optimizations. | dkf | 2013-05-30 | 1 | -19/+77 |
| | | |||||
* | | 3614102 - Reset stack housekeeping when compileProc fails. | dgp | 2013-05-29 | 1 | -2/+6 |
| | | |||||
* | | Stop emitting the instructions INST_*_SCALAR_STK*. They are identical to | dgp | 2013-05-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | their INST_*_STK* counterparts. Having done that, it is clear the "simpleVarName" return from TclPushVarName provides nothing of use to any of its callers. Eliminate that. Also make TPVN return void, instead of int. Bring the TPVN header comments up to date; they were quite rotten. |