[Vm-dev] A little rant about CodeGenerator

Igor Stasenko siguctua at gmail.com
Sat Sep 25 03:43:54 UTC 2010

Why it forcing me do such bogus things:

declareHeaderFilesIn: aCCodeGenerator
	aCCodeGenerator addHeaderFile: '<stdio.h>
#if defined(bla bla)
	#include <foo>
	#define bar
	#define baz
	^ super declareHeaderFilesIn: aCCodeGenerator

What i mean, why we don't have a simple message, like

#addExtraDefinitionsIn: aCCodeGenerator

so, plugin or interpreter could add whatever they want?

Best regards,
Igor Stasenko AKA sig.

More information about the Vm-dev mailing list