Repository navigation
v0.1.0-beta.03
Pre-releaseEnhanced Performance, Control Flow, and String Manipulation
We're pleased to announce the release of TPL v0.1.0-beta03, delivering a range of improvements that enhance performance, expand the language's expressive power, and simplify string manipulation tasks.
Stability and Performance:
- Bug Fixes: We've meticulously addressed several bugs, leading to a more stable and performant TPL experience.
Language Expansion:
elifandswitchKeywords: The introduction ofelifandswitchkeywords empowers developers with greater control flow capabilities. These keywords enable the creation of complex decision-making logic, improving code readability and maintainability.
String Manipulation Enhancements:
-
New String Properties: The String data type has been enriched with a comprehensive set of built-in properties:
isUpperCase,isLowerCase,isSpace,isDigit,isLetter,isAlphaNum,uppercase,lowercase, andcharacters. These properties provide developers with powerful tools for analyzing and manipulating string data. -
New String Functions: We've introduced the
capitalizeandtitlefunctions for strings. These functions streamline common string formatting tasks, allowing developers to transform strings with ease.
Improved Error Handling:
-
Enhanced Error Messages: Error messages for
InvalidTokenExceptionandSyntaxExceptionhave been refined to provide more specific information regarding the encountered issue. This aids developers in pinpointing errors and resolving them more efficiently. -
Cleaner KTX Output: KTX blocks no longer display debug information when an error is thrown. This streamlines the output, making it more user-friendly and easier to interpret.
We trust these enhancements will elevate your TPL development experience. Explore the new features to craft more robust, expressive, and maintainable TPL scripts.
Happy TPL Scripting!