[Gambas-user] COMPARISON FILE

Daniel Campos daniel.campos at ...338...
Thu Sep 9 17:29:44 CEST 2004


> 
> Gambas does not compile to native code, it compiles to tokenized 
> pseudo-code (dunno what the technical term would be) and needs 
> an interpreter and any used components at runtime.  The gambas 
> compiler, archiver, IDE and info generator do not need to be on 
> the target system, just the interpreter (/usr/bin/gbx) and 
> components (e.g. /usr/lib/gambas/lib.gb.qt.so, which on my 
> machine is 8MB!)
> 

Mmmmh... to write a compiler may be this work could be done:

The compiler takes the needed functions from the gambas/src/exec,
adds it to a file, and then adds a "main()" that calls these functions 
following the program flow, and then calls to gcc as usual... 

It is very ugly but I think it should work, dont you? :-))))))

Regards,

Daniel Campos
 



> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 





More information about the User mailing list