♻️ refactor(lang): convert get_or, default_to, and between from macros to functions
Converts three macros to simpler function implementations:
- default_to: returns default value if input is None or empty
- get_or: safely gets dict value with default fallback
- between: checks if value is within min/max range (inclusive)