summaryrefslogtreecommitdiffstats
path: root/generic/tclAssembly.c
Commit message (Collapse)AuthorAgeFilesLines
* Tcl_GetString() -> TclGetString(), for minor speedup.jan.nijtmans2024-04-041-23/+23
|
* Fix [26870862f0]: Wrong sentinel in Tcl_SetErrorCode usagejan.nijtmans2023-10-151-2/+2
|
* Fix [d554e5554e]: fix typo “defintion”jan.nijtmans2022-10-201-1/+1
|
* Use TclListObjLength/TclListObjGetElements in stead of ↵jan.nijtmans2022-02-101-1/+1
| | | | Tcl_ListObjLength/Tcl_ListObjGetElements everywhere. This is slightly more efficient if the refered list already has the correct type
* IntRep -> InternalRep. Internal changes only.jan.nijtmans2021-10-191-2/+2
|
* More implicit type-casts, for better compatibility with C++jan.nijtmans2021-02-051-43/+42
|
* Get rid of "register" keyword, forbidden in c++20.jan.nijtmans2020-11-261-1/+1
| | | Fix some more warnings, discovered in c20/c++20 mode
* More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in ↵jan.nijtmans2020-10-131-3/+4
| | | | stead of Tcl_NewIntObj()
* More uppercase HEX representations in source-code.jan.nijtmans2020-03-181-8/+8
|
* Resolve a number of shadowed variables (discovered by compiling with -Wshadow)jan.nijtmans2020-02-261-3/+1
|
* Add /* FALLTHRU */ markers in various places (silencing possible GCC ↵jan.nijtmans2019-08-281-7/+6
| | | | warnings). Eliminate some more "register" keywords. Eliminate (or silence) some unused function parameters.
* Merge 8.5jan.nijtmans2019-06-261-1/+1
|
* More bytecodes are non-throwing.dgp2019-06-101-0/+1
|
* Newer utility routine is more suitable.dgp2018-03-091-8/+4
|
* Update the command compilers and bytecode execution engine to use new machinery.dgp2018-03-091-2/+2
|
* Establish 4 symbols for categories of parsed index values:dgp2018-03-071-2/+7
| | | | | | | | | | TCL_INDEX_START = 0 The start index. TCL_INDEX_END = -2 The "end" index. TCL_INDEX_BEFORE = -1 All indices less than start. TCL_INDEX_AFTER = INT_MAX All indices greater than "end". Then use these symbols among callers of TclGetIndexFromToken() so that index value parsing can directly implement the callers sense of when out of range indices ought to be treated the same as start or end positions.
* Incorporate sebres work on the same ticket. Good stuff!dgp2018-03-071-1/+2
|\
* | rework error handling to keep test suite happy.dgp2018-03-061-7/+13
| |
* | Have assembler use same index value parser as the bytecode compiler.dgp2018-03-061-13/+6
|/
* Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-151-0/+20
| | | | [clock seconds].
* Bug fix: Assembler dereferences a rogue pointer when unstacking an empty ↵Kevin B Kenny2016-05-131-4/+6
|\ | | | | | | exception range.
| * Bug fix. Have to arrange to only close a catch once. After the spacedgp2016-05-061-0/+3
|/ | | | | | | | has been returned to placeholder values, closing with them as data leads to memory corruption. There's probably a better fix available because the error here feels like it's rooted somewhere else, having us continue to check values we ought to know have already been closed.
* [b43f2b49f7] New compilation strategy for lappend that allows multi-valuedkf2014-07-181-0/+4
| | | lappend to not have quadratic performance (through better reference management).
* add compilation of [string is]dkf2014-02-021-1/+4
|\
| * merge principal development branchdkf2014-01-251-0/+1
| |\
| * | extend [string is] to booleansdkf2014-01-131-0/+1
| | |
| * | a different approachdkf2014-01-101-1/+3
| | |
* | | Squashed C99 syntax breaking the native AIX cc.andreask2014-01-291-3/+3
| |/ |/|
* | added compilation for [nextto]dkf2014-01-191-0/+1
|/
* implement [namespace origin] in bytecodedkf2013-12-301-0/+1
|
* allow generation by assemblerdkf2013-12-301-3/+4
|
* Now do [string toupper], [string tolower] and [string totitle]. Only handles ↵dkf2013-10-291-5/+9
| | | | the no-indices case; that's the only case anyone actually commonly uses.
* General [concat] compilation.dkf2013-10-261-1/+4
|
* Change name of instruction to make way for future changes.dkf2013-10-261-1/+2
|
* merge fixes from trunkdkf2013-10-221-31/+3
|\
| * Fix for assemble.test; problem was a total assumption failure caused by way ↵dkf2013-10-221-31/+3
| | | | | | | | that the assembler works.
* | merge trunkdkf2013-10-201-3/+31
|\ \ | |/
| * And the last bits that need fixing; the code is still less efficient than ↵dkf2013-10-201-4/+31
| | | | | | | | desired but should now not crash.
| * Working towards better handling of stack balance with break and continue ↵dkf2013-10-081-0/+1
| | | | | | | | exceptions.
* | cleaner and faster 'string trim'dkf2013-10-031-1/+2
| |
* | First attempt at [string trim] compilation.dkf2013-09-301-1/+4
|/
* [7b32d8d13b] Insert missing field initialization.dgp2013-09-161-0/+1
|
* Simplify AuxData access with a macro.dgp2013-07-271-1/+1
|
* more disabled code removaldgp2013-07-241-7/+0
|
* [assemble] compile syntax error into bytecode reporting syntax error message.dgp2013-07-181-7/+3
|
* merge trunkdgp2013-07-181-7/+8
|\
| * [Bug 1c17fbba5d] Fix -errorinfo from syntax errors so that the error isdgp2013-07-181-7/+8
| | | | | | not obscured. Instead highlight it by making it the last character quoted.
* | Stop the compileProc routines leaving behind error messages in interp.dgp2013-06-271-2/+30
|/ | | | | (Nicer way to solve [Bug 20a81392ec].) Make simplifications in TclCompileScript() make possible by the new structure. Still a work in progress.
* Stack cleanup works now even in the most evil expansion cases.dkf2013-06-051-1/+1
|
* Remove useless macro, use existing macro where it makes sense.dkf2013-06-021-2/+2
|