Commits
Click on a commit to change the comparison range✨ feat(lang): add coalesce operator (??) support
Add support for the null coalescing operator (??) to the mq language. The operator provides a concise way to handle null/none values by returning the right operand when the left operand is null or none.
- Add COALESCE constant to ast/constants.rs
- Implement TokenKind::Coalesce in lexer
- Add coalesce operator parsing with precedence level 6
- Implement coalesce builtin function in eval/builtin.rs
- Include comprehensive test cases for operator and function behavior
- Add documentation for coalesce function ✨ feat(parser): add support for coalesce operator in binary operations