4 Apr
2006
4 Apr
'06
10:09 p.m.
Michael Hudson wrote:
Er. Well. I am almost entirely sure that your current approach of (simplified):
for graph in self.translator.graphs: f = Function(graph) f.render(self.ilasm)
is not really going to work. Have you looked at how (say) genc works? It first computes names for everything (the 'LowLevelDatabase'), and then spits out the code. 'everything' includes all the types referenced by the graphs, and because the graphs have been rtyped, the types you find are things like instances of ootype.Class.
Yes, I think you are probably right. It worked until now for simple experiments, but now I have to follow another approach, as I've just wrote to Niklaus. I hope to commit something usable tomorrow... ciao Anto