Hi guys,

> I don't have any highly technical reasons to argue against it - I've
> just avoided C++ in general and especially in embedded systems.
When I say 'C++' I mean compile in cpp mode. This puts the cpp options
at your disposal, but you are free to use just the ones you want. And
some of those could be quite usefull for our purpose, like
intermingled declarations and code. But I only recently learned c99
supports this also...
I don't use all cpp features but they are usefull in particular cases
and don't understand why you would not put the compiler into gcc mode.
But maybe I should start with c99 and see how far we get...

> About the JAL variables - we should be able to look into the parse
> tree and collect all of the variables (at that level) and output them
> at the top of each scope.
Well... if we have to...
It could break code that works with the JAL compiler, e.g. when the
same variable is declared within multiple blocks of a case statement.
But htere will be more cases that are not supported in the near future
by the translater if we continue this path.
IMO it is (at least for a first version) acceptable if the translator
does not support all valid JAL statements.
An other point are features that are not supported by JAL. For
instance, what if  it turns out that constant strings as paramters are
automaticly supported by the translator. Should we add code to reject
this and remain compatible with the jal compiler?

Joep

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to