Skip to content

Commit 74f009e

Browse files
github-actions[bot]Dinnerbone
authored andcommitted
chore: release v0.2.7
1 parent 3ee7bf2 commit 74f009e

4 files changed

Lines changed: 29 additions & 4 deletions

File tree

‎Cargo.lock‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resolver = "3"
88

99
[workspace.package]
1010
authors = ["Nathan Adams <dinnerbone@dinnerbone.com>"]
11-
version = "0.2.6"
11+
version = "0.2.7"
1212
edition = "2024"
1313
license = "MIT OR Apache-2.0"
1414
repository = "https://github.com/Dinnerbone/Rascal"

‎crates/cli/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ path = "src/main.rs"
1616
[dependencies]
1717
anyhow = "1"
1818
clap = { version = "4", features = ["derive"] }
19-
rascal = { path = "../rascal", version = "0.2.6" }
19+
rascal = { path = "../rascal", version = "0.2.7" }
2020

2121
[features]
2222
default = []

‎crates/rascal/CHANGELOG.md‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)