Community
Participate
Working Groups
In RBD 7 we changed the escape character in aliases from $ to _, and everybody hated it because underscores are used in names much more often than dollar signs. The change was made because the Eclipse Java compiler was occasionally getting confused and rejecting perfectly valid code, thinking that we were referencing nonexistent inner classes. I believe this has been fixed for a long time. We've been using underscores in the runtime and generated variables to avoid collisions with names from the user's EGL code. We'll have to change them all back to dollar signs.
Actually, we should have no alias character at all. Every valid EGL identifier is a valid Java identifier, except for EGL identifiers which are Java keywords. We should alias Java keywords using a prefix of "eze_" ("throws" -> "eze_throws") and leave everything else alone. All identifiers that we create internally should begin with something like "ezez" which won't conflict with aliases for Java keywords.
The java aliaser has been changed to remove the hex logic and prefix special words with eze_.
Looking good.