Releases: Adityarya11/Compiler-Blan
Releases · Adityarya11/Compiler-Blan
Release list
Blan Compiler v1.1.0: Windows/Linux Binaries
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
v1.0.0
Full Changelog: https://github.com/Adityarya11/Compiler-Blan/commits/main
This is the first release of the Bad Language.
About
This is a toy language, based on Hindi, Indian Swear words. Its my first step to take into a compiler design for a language but at this stage this is an interpreter language and I soon be releasing a playground or a website where people can find more about the language.
This is an implementation in C++ that takes a custom language and executes it through an interpreter.
Working
- Download the executable into your machine (Windows Only)
- Write a program in
.bl>> i will provide the docs soon!! - example
program.bl:-
Haan Meri Jaan bhadwa x matlb 10 bolna x Bhag Bsdk
-
- in the terminal
-
> blan.exe program.bl > 10 // output
-
- Tada!! you just wrote a program in Bad Language. This means You are also a BADASS 😈.