killme2008 / killme2008/aviatorscript
双问号 操作符支持么?可以支持么?
Open
- Dominant language
- Java
- Stars
- 5.2k
- Forks
- 906
- PR merge metrics
- No merged PRs in 30d
Description
偏爱双问号,所以想问下可以支持么?
b = a ? a: 1;
=》
b = a ?? 1;
👍
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files or tests. Start by locating the parser and evaluator entry points for the existing ternary expression `a ? a : 1`, then determine how `a ?? 1` should behave for null and non-null values. Done means the syntax is accepted and tests cover the requested fallback behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100