Skip to content

Releases: maybe-adev/Pearlen

Pearlen 0.1.1 Alpha Release Notes

26 Nov 15:52

Choose a tag to compare

Pre-release

🌟 Pearlen 0.1.1 Alpha Release Notes

Release Date: 2025-11-26
Version: 0.1.1 Alpha
Status: Active

🚀 New Features

  • Conditional Statements Enhanced

    • Full support for if / else then if / else / end syntax
    • Optional conditions on else then if branches (like elif)
    • Nested conditional blocks fully supported
  • Switch/Case Statements Added

    • switch <expr>:option <value>:default:end
    • Supports multiple option branches and default case
    • Fully integrated with indentation-based blocks

🛠 Fixes

  • Fixed indentation parsing issues in conditionals and switch/case
  • Corrected handling of DEDENT vs END tokens in parser

📚 Example Programs

If / Else Then If / Else

x = 20
y = 15

if x > y:
    show(y - x)
else then if x == y:
    show(x / y)
else:
    show(x - y)
end

Switch / Option / Default

x = 2

switch x:
    option 1:
        show("one")
    option 2:
        show("two")
    default:
        show("other")
end

This release introduces major control flow enhancements, enabling more expressive programs while keeping Pearlen lightweight and easy to read.

First Release

19 Nov 15:55
798f3cb

Choose a tag to compare

First Release Pre-release
Pre-release

This is first release of the project/programming language

Full Changelog: https://github.com/maybe-adev/Pearlen/commits/0.1.0-alpha