Blan Compiler v1.1.0 focuses on language correctness, control-flow stability, and stronger quality gates through integration testing.
Highlights
- Stabilized if and if-else behavior, including proper closure handling for end-if flows.
- Added and standardized conditional keyword support with compatibility aliases for older syntax variants.
- Implemented full boolean literal support for sach and jhooth.
- Added numeric coercion for booleans in expressions:
- sach behaves as 1
- jhooth behaves as 0
- Expanded test coverage across lexer, parser, and evaluator behavior.
Language and Runtime Improvements
- Fixed conditional parsing edge cases where valid end-if tokens could be misinterpreted.
- Improved boolean expression handling for:
- logical not
- logical and/or
- equality and inequality
- numeric comparisons with boolean operands
- Added safer evaluator behavior in arithmetic paths, including proper error handling for invalid operations.
Testing Improvements
- Added new integration tests for interpreter boolean behavior, including:
- if execution with boolean variables
- logical not and logical and/or
- boolean equality checks
- numeric mapping validation for boolean values in expressions
- Retained and expanded lexer integration tests, including boolean tokenization regression coverage.
- Test suite now validates both token-level and runtime-level boolean semantics.
Documentation and Project Hygiene
- Updated documentation to reflect canonical conditional keywords and legacy alias compatibility.
- Improved test execution guidance for contributors and release consumers.
Validation
- Build: passing
- Tests: passing
- Recommended validation command:
ctest --test-dir build --output-on-failure