Re: [Oopic-compiler-devel] Compiler design
Status: Planning
Brought to you by:
ndurant
From: Neil D. <nd...@us...> - 2004-05-12 02:15:12
|
D. Daniel McGlothin wrote: > > > For the original scripts' syntax, should we generate identical code to > > > the OOpicMK or use our own? > > > > I'm not sure I understand what you mean (it's 2.44am here - brain fade!) > > The point is whether there is two code generators or one. > > One for the project's compiler/code generation; another one (or three) for > the original Savage implementations of C, Basic, and Java syntaxes. > > I'd opt for one only. Asking only for completeness of discussion. I think we'll be able to handle the original Savage C/BASIC/Java syntaxen using a preprocessor like Andy's, which would then output grammar which is compatible with our new compiler. Of course, we should be trying to persuade people to switch to our more complete and standard syntax, but we should also aim to support the Savage "legacy" syntax... :-) > Good night <grin> <Yawn> Good night! Neil -- Neil Durant <nd...@us...> |