Commit graph

3 commits

Author SHA1 Message Date
semihalev
16c954898f Fix macro functionality and add comprehensive tests
- Fixed macro parameter parsing with improved tokenization handling
- Added support for proper module.function() syntax in templates
- Enhanced filter handling within macro variables
- Added support for variable interpolation in macro body
- Added comprehensive test suite for macros with various scenarios
- Improved overall coverage from 43.8% to 45.7%

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-11 13:15:07 +03:00
semihalev
c663834595 Fix debug tests and improve debug functionality
1. Fixed and enabled previously skipped debug tests:
   - TestDebugConditionals
   - TestDebugErrorReporting
2. Added detailed logging for conditional evaluation
3. Enhanced error reporting for undefined variables and expressions
4. Added template name tracking for better error context
5. Fixed formatting issues in log messages
6. Updated debug flag handling across the engine
2025-03-11 12:48:58 +03:00
semihalev
cce67f94c9 Fix code style inconsistencies and update documentation
- Update documentation with negative step range workaround
- Document limitations and solutions in FINDINGS.md and SOLUTION.md
- Clean up code style and remove experimental files
- Optimize performance in core functions
- Fix whitespace and end-of-file newlines

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-11 09:29:12 +03:00