You mentioned prototypes. Why did you shy away from a Prototypes in Structures approach?srod wrote:LilClass offers the following:
Very simple syntax
Simple inheritance
Method over-riding
Class constructor and destructor
No need to deal with vTables
I find it truly bare bones syntax and without macro's or Interface table.
Yes, I have to hardcode the Prototype functions, but that is code that must be written anyway.
And there is the small overhead of the ASM macro to get the caller.
Code: Select all
Macro GetCaller(me) ; Get struct pointer from caller
CompilerIf #PB_Compiler_Processor = #PB_Processor_x64
!mov [p.p_me], rbp
CompilerElse
!mov [p.p_me], ebp
CompilerEndIf
EndMacro