Generator User Guide Demo 4 --- Is reduction necessary? Follow
Subject. Whether it is possible to rewrite demoLang4 without using reduction rule (for example, using reference macro in code of insert_Panel directly)?
4 comments
Sort by
Date
Votes

Comment actions
Permalink
Seems to be working with approach described :-) Why what tutorial says sounds almost like if reduction is necessary to overcome problems with recursion?

Comment actions
Permalink
So, anybody? Is it a subject to undefined behaviour?

Comment actions
Permalink
AFAIK, reduction is necessary, since the aim is to teach users about reduction rules. Avoiding reduction rules might be left as a nice exercise more adventurous users, I think.

Comment actions
Permalink
And what about proposed approach? It seems to be working, but whether it is guaranteed to do so?
Please sign in to leave a comment.