You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like idea of allowing "as" followed by the variable name for assignment (similar to SQL) .
This is similar to the "var" added in Java 10. Can determine type based on return from method call. If compiling against Java 10 or higher, could have option to specify var instead of type.
Could also allow "var" to use var syntax and "val" to have final var (similar to Kotlin).
Example something to string as variable name
Would yield code String variableName = something.toString();
Most lines of code do something, call a method, and store the result.
Focus on method invocations as main element in line of code, then add small grammar to supplement
Focus on parsing line up to determine method name. Then, small grammar to handle what to do with the result.
The text was updated successfully, but these errors were encountered: