Implement ternary operator support #24
Labels
enhancement
New feature or request
hacktoberfest
A good issue to work on for Hacktoberfest
help wanted
Extra attention is needed
Currently we support control flow operations such as if / else if / else. You can assign variables to the result of control flow operations like so:
This works fine, but it would be nice to add some syntactic sugar so we could also do:
In order to allow for this, we need to update the parser to recognize this as a control flow node.
?
tokensControlFlowNode
sThe text was updated successfully, but these errors were encountered: