View Issue Details

IDProjectCategoryView StatusLast Update
0000606LDMud 3.6Generalpublic2015-04-30 00:03
Reporterzesstra Assigned To 
Status confirmedResolutionopen 
Platformx86_64OSMacOS XOS Version10.5.x
Summary0000606: Bytecode cleanup: exchange macros by functions and use dedicated types
Description1) Currently, the bytecode is read and written by using macros like LOAD_LONG. These should be exchanged by static function in most cases.
2) Instead of using types like short, long (which are mostly assumed to be 2 and 4 bytes), prolang.y, closure.c and interpret.c should use dedicated types for a given purpose. These should be typedefed to suitable basic types, e.g. bc_offset_t (as type for offsets in the bytecode) may be typedefed to uint32_t. These types should then contain their own load_*/store_*/put_*/get_* functions.
3) Assumptions that long/short are 2/4 bytes long have to be removed or made clear by using *_uint32()/*_uint16() etc.
TagsNo tags attached.


parent of 0000623 closedGnomi LDMud 3.5 Redesign switch() bytecode 
child of 0000566 assignedzesstra LDMud 3.5 Replace Code-Defines by static inline functions 
child of 0000661 confirmed LDMud 3.6 Bytecode cleanup 


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2009-02-08 09:55 zesstra New Issue
2009-02-08 09:55 zesstra Status new => assigned
2009-02-08 09:55 zesstra Assigned To => zesstra
2009-02-08 10:12 zesstra Relationship added child of 0000566
2009-04-09 08:15 Gnomi Relationship added parent of 0000623
2009-06-15 18:33 zesstra Relationship added child of 0000660
2009-06-15 18:34 zesstra Relationship deleted child of 0000660
2009-06-15 18:34 zesstra Relationship added child of 0000661
2010-07-14 04:39 zesstra Target Version => 3.5.0
2013-08-21 22:36 zesstra Assigned To zesstra =>
2013-08-21 22:36 zesstra Status assigned => confirmed
2015-04-30 00:03 zesstra Project LDMud 3.5 => LDMud 3.6
2015-04-30 00:03 zesstra Category Implementation => General