Re: Translator Internals

new topic     » goto parent     » topic index » view thread      » older message » newer message

CChris wrote:
> 
> [snipped text]
> 
> I'll have to study more how the type and range info is gathered or discarded,
> because a couple things puzzled me in the code. How do the scope of EU 
> variables translate in the C output? It looks like there is no longer a 
> difference between global, local or private (aprat from the derefencing of 
> privates). Is this assessment correct?

 From a C perspective they're all basically global.  Conflicts are handled
by the file-number prefix that gets added to everything.  The code isn't 
meant to be maintained or otherwise used, so there's not a real concern 
about minimizing globals, or some such.  The allowed usages are enforced 
by the front end, just like with the interpreter.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu