File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ resolver = "3"
88
99[workspace .package ]
1010authors = [" Nathan Adams <dinnerbone@dinnerbone.com>" ]
11- version = " 0.2.6 "
11+ version = " 0.2.7 "
1212edition = " 2024"
1313license = " MIT OR Apache-2.0"
1414repository = " https://github.com/Dinnerbone/Rascal"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ path = "src/main.rs"
1616[dependencies ]
1717anyhow = " 1"
1818clap = { version = " 4" , features = [" derive" ] }
19- rascal = { path = " ../rascal" , version = " 0.2.6 " }
19+ rascal = { path = " ../rascal" , version = " 0.2.7 " }
2020
2121[features ]
2222default = []
Original file line number Diff line number Diff line change @@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 0.2.7] ( https://github.com/Dinnerbone/Rascal/compare/rascal-v0.2.6...rascal-v0.2.7 ) - 2026-05-09
11+
12+ ### Added
13+
14+ - * (codegen)* Fold constants to ints with int() special function
15+ - * (codegen)* Fold constants to numbers with - binary operator
16+ - * (codegen)* Fold constants to numbers or strings with + binary operator
17+ - * (codegen)* Fold constants to numbers with ~ unary operator
18+ - * (codegen)* Fold constants to numbers with + unary operator
19+ - * (codegen)* Fold constants to numbers with - unary operator
20+ - * (codegen)* Fold constants to bools with ! unary operator
21+ - * (codegen)* Fold "a" + "b" into "ab"
22+ - * (api)* Add OptimizationOptions to control which optimization passes get applied
23+
24+ ### Fixed
25+
26+ - * (parser)* Parse +foo as a unary add, as it'll later convert things to float
27+
28+ ### Other
29+
30+ - * (codegen)* Slightly refactor constant folding to make it easier to implement more
31+ - * (codegen)* Rename Optimizer to RegisterPromoter
32+ - * (codegen)* Rename simplifier.as to constant_folding.as
33+ - * (codegen)* Rename Simplifier to ConstantFolder
34+
1035## [ 0.2.6] ( https://github.com/Dinnerbone/Rascal/compare/rascal-v0.2.5...rascal-v0.2.6 ) - 2026-05-09
1136
1237### Other
You can’t perform that action at this time.
0 commit comments