AS3Parser - proposed new syntax
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- compilers
Research direction
Start with docs/new-syntax.md and docs/processing-deviations.md in the linked AS3Parser project, then review the demo cases for CONFIG::X and configuration branching. Compare those documented syntax and include-processing deviations with the compiler's current parser behavior. Done would require an agreed scope for adopting the proposed syntax, since this issue does not name a Royale file or test.
Written by the indexing model from the issue text.
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.
- Dominant language
- Java
- Stars
- 113
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/royale-compiler
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
apache/royale-compiler#251 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/royale-compiler#248 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
apache/royale-compiler#243 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
apache/royale-compiler#240 · 1 comment ·
-
language feature
Difficulty 5/5 Over a week Newbie friendliness 25/100
apache/royale-compiler#235 · 1 comment ·
All issues in apache/royale-compiler
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100