On Apr 21, 3:47 pm, Joep Suijs <[email protected]> wrote:
>
> 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.
Why? In C, we can just toss in an extra set of {} anywhere JAL has a
new block or scope. Let gcc discard them if they aren't needed.
> But there will be more cases that are not supported in the near future
> by the translater if we continue this path.
You're probably right, but I can't think of any yet.
> IMO it is (at least for a first version) acceptable if the translator
> does not support all valid JAL statements.
Agreed. Especially pragma and asm().
> 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?
I'd say we just quietly allow it. No sense making extra work. :-)
William
--
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.