Bump version to 0.2.28 and update syntax doc

This commit is contained in:
imaqtkatt 2024-05-30 16:31:37 -03:00
parent ad34a2165b
commit 4c391a746a
3 changed files with 13 additions and 2 deletions

2
Cargo.lock generated
View File

@ -62,7 +62,7 @@ dependencies = [
[[package]]
name = "bend-lang"
version = "0.2.27"
version = "0.2.28"
dependencies = [
"TSPL",
"clap",

View File

@ -2,7 +2,7 @@
name = "bend-lang"
description = "A high-level, massively parallel programming language"
license = "Apache-2.0"
version = "0.2.27"
version = "0.2.28"
edition = "2021"
rust-version = "1.74"
exclude = ["tests/snapshots/"]

View File

@ -142,6 +142,17 @@ The operations are:
- Subtraction `-=`
- Multiplication `*=`
- Division `/=`
- Bit And `&=`
- Bit Or `|=`
- Bit Xor `^=`
- Mapper `@=`
The mapper in-place operation applies a function and re-assings the variable:
```python
x = "hello"
x @= String/uppercase
```
### Return