summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Matthew Dillon [Mon, 12 May 2014 18:54:15 +0000 (11:54 -0700)]
Interpreter - Incremental API changes
* Pass the run-time context through the call chain and remove the
IContext global.
* I ultimately intend to make the run-time context a pass-and-return
entity, which C compilers can optimize to avoid register saves and
restores, and to move the break/continue count into the runctx.
Matthew Dillon [Mon, 12 May 2014 04:25:02 +0000 (21:25 -0700)]
Interpreter - Add ex_TmpOffset, remove run-time temporary space reservation
* The resolver already resolves temporary space, assign the calculated
offset to a new field exp->ex_TmpOffset.
* Remove temporary space re-resolution from the interpreter, which saves
instructions and speeds up the interpreter. Just use ex_TmpOffset
instead.
Matthew Dillon [Mon, 12 May 2014 00:51:20 +0000 (17:51 -0700)]
Interpreter - Collapse sign-agnostic operators
* Collapse sign-agnostic operators. For example, the result if a signed
addition and the result of an unsigned addition are identical, so we
do not need to generate two operator functions for it.
* Misc documentation adjustments (D -> RUNE)
Matthew Dillon [Sun, 11 May 2014 04:01:02 +0000 (21:01 -0700)]
Arrays - Slight unhacking of array[] expressions
* Allow IDs from const declarations to be used in array declaration.
e.g. const int COUNT=50; char buf[COUNT];
* We still need to handle basic interpretation to resolve calculated
constants that might be used in array declarations.
Matthew Dillon [Sat, 10 May 2014 05:44:18 +0000 (22:44 -0700)]
Core - Add cast-typeof, fix core bugs
* Allow casts to use typeof, e.g. (typeof(a))b
* Fix some broken cases in FILE.show() for char, string, and integer
handling.
* Update the grammar file, with unimplemented items in red, and make
other corrections and additions.
* Fix bounds check for 0-length objects.
Matthew Dillon [Fri, 9 May 2014 22:06:50 +0000 (15:06 -0700)]
Graphics - Fix cross-window event coordinates
* Fix slider handling in virtual sub-windows when the slider is held down.
The coordinates were not being properly translated for the mouse focus.
* Using tests/gfxsliders.d to test.
Matthew Dillon [Fri, 9 May 2014 18:02:29 +0000 (11:02 -0700)]
RUNE - Initial repo re-creation
* Not saving the many prior repos.
* Basic code cleanup and modernization complete.
* This is a good starting point to track in a new repo.