Chuck(G)
25k Member
Perhaps someone can answer this for me.
When the term "compiled BASIC' is used, exactly what is meant? For example, UCSD Pascal is compiled, but only to an intermediate code (P-code), not to native machine code. CBASIC does essentially the same thing, as does BASIC-M.
Then there's "compile to native machine code and optimize". Do any "compiled' BASICs do that (i.e. remove dead code, unroll loops, move code, remove invariant expressions from loops, perform register usage optimization, perform strength reduction, etc.)?
When the term "compiled BASIC' is used, exactly what is meant? For example, UCSD Pascal is compiled, but only to an intermediate code (P-code), not to native machine code. CBASIC does essentially the same thing, as does BASIC-M.
Then there's "compile to native machine code and optimize". Do any "compiled' BASICs do that (i.e. remove dead code, unroll loops, move code, remove invariant expressions from loops, perform register usage optimization, perform strength reduction, etc.)?