-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
Description
I've really covered a lot of cases in AS3Parser, fixed a lot of bugs as I could see in demo (mostly related to error recovery), and introduced both CONFIG::X { ... } (parses inner with same parent directive context) and a multiple branching configuration { ... } directive (if-else).
configuration {
if (FOO::EXAMPLE=bar) {
/* Action */
} else if (ANOTHER_CONST) {
/* Action */
} else {
/* Action */
}
}
It would be nice if Apache Royale takes into consideration the syntactic features introduced in AS3Parser.
In short, I try to introduce solely syntactic features that conform to ECMAScript 4 and Java dialects. The only processing deviation is the include directive which does not concatenate text, but contributes syntactic nodes instead, maintaining lines and columns.