Re: Q: 4GL -> Java good idea?
Posted in 1997
Kerry Sainsbury wrote: > > Team, > > I'm just wondering if anybody thinks a 4GL to Java cross-compiler would > be a good idea. Yuk! Actually it will be a cross pre-processor. What you would have to do would be create a one pass parser of 4GL. I doubt it would be worth the work. You would have to create base classes of all 4GL current features, like opening windows, screen arrays, input arrays, etc. (Granted that you could probably subclass an existing base class but still it would be ugly.) The problem is also going from a non oo language, to an oo environment. So you are taking code which should be rewritten and trying to salvage it. A cross compiler would be something which would allow you to write compiled code for a different cpu. An example would be cross compiler for 6809 from a pc platform (80X86) Just my $.02 worth. -Mikey