Releases: maybe-adev/Pearlen
Releases · maybe-adev/Pearlen
Pearlen 0.1.1 Alpha Release Notes
🌟 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 / endsyntax - Optional conditions on
else then ifbranches (likeelif) - Nested conditional blocks fully supported
- Full support for
-
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
DEDENTvsENDtokens 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
This is first release of the project/programming language
Full Changelog: https://github.com/maybe-adev/Pearlen/commits/0.1.0-alpha