Skip to content

Commit 3c6f667

Browse files
committed
Merge branch 'main' of https://gitlab.com/mech-lang/mech
2 parents f9098ab + 44ebae4 commit 3c6f667

File tree

14 files changed

+1090
-588
lines changed

14 files changed

+1090
-588
lines changed

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mech"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
authors = ["Corey Montella <[email protected]>"]
55
description = "Toolchain for the Mech programming language."
66
documentation = "https://mech-lang.org/docs"
@@ -18,30 +18,30 @@ gitlab = { repository = "mech-lang/mech", branch = "main" }
1818
maintenance = { status = "actively-developed" }
1919

2020
[dependencies]
21-
mech-core = "0.2.5"
22-
mech-syntax = "0.2.5"
21+
mech-core = "0.2.6"
22+
mech-syntax = "0.2.6"
2323
#mech-program = "0.2.2"
2424
#mech-utilities = "0.2.2"
2525

26-
clap = {version = "4.5.8", features = ["cargo"]}
26+
clap = {version = "4.5.13", features = ["cargo"]}
2727
colored = "2.1.0"
2828
#nom = "7.1.3"
2929
#hashbrown = "0.14.5"
3030
#reqwest = {version = "0.12.4", features = ["blocking"]}
3131
bincode = "1.3.3"
3232
serde = "1.0.204"
3333
serde_derive = "1.0.204"
34-
serde_json = "1.0.120"
34+
serde_json = "1.0.122"
3535
crossbeam-channel = "0.5.13"
3636
#seahash = "4.1.0"
37-
crossterm = "0.27.0"
38-
lazy_static = "1.4.0"
37+
crossterm = "0.28.1"
38+
lazy_static = "1.5.0"
3939
#tui = { version = "0.19.0", default-features = false, features = ['crossterm'] }
4040
#warp = "0.3.7"
4141
#websocket = "0.27.1"
4242
#miniz_oxide = "0.7.3"
4343
#base64 = "0.22.1"
44-
tabled = "0.15.0"
44+
tabled = "0.16.0"
4545

4646
[workspace]
4747

src/bin/mech.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use serde_json;
2525

2626

2727
fn main() -> Result<(), MechError> {
28-
let version = "0.2.5";
28+
let version = "0.2.6";
2929
let text_logo = r#"
3030
┌─────────┐ ┌──────┐ ┌─┐ ┌──┐ ┌─┐ ┌─┐
3131
└───┐ ┌───┘ └──────┘ │ │ └┐ │ │ │ │ │

src/core/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mech-core"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
authors = ["Corey Montella <[email protected]>"]
55
description = "The Mech language runtime."
66
documentation = "http://docs.mech-lang.org"
@@ -25,12 +25,12 @@ wasm = ["web-sys", "wasm-bindgen"]
2525

2626
[dependencies]
2727
hashbrown = "0.14.5"
28-
serde = {version = "1.0.203", default-features = false, features = ["alloc"] }
29-
serde_derive = "1.0.203"
28+
serde = {version = "1.0.204", default-features = false, features = ["alloc"] }
29+
serde_derive = "1.0.204"
3030
rlibc = { version = "=1.0", optional = true }
31-
lazy_static = "1.4.0"
31+
lazy_static = "1.5.0"
3232
seahash = "4.1.0"
33-
indexmap = "2.2.6"
33+
indexmap = "2.3.0"
3434
rayon = {version = "1.10.0", optional = true}
3535
time = {version = "0.3.36", optional = true}
3636
ed25519-dalek = {version = "2.1.1", default-features = false, features = ["rand_core"]}

src/core/src/nodes.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,8 @@ pub enum Subscript {
600600
Formula(Factor), // a[1 + 1]
601601
All, // a[:]
602602
Bracket(Vec<Subscript>), // a[1,2,3]
603-
Brace(Vec<Subscript>) // a{"foo"}
603+
Brace(Vec<Subscript>), // a{"foo"}
604+
DotInt(RealNumber) // a.1
604605
}
605606

606607
#[derive(Clone, Debug, Serialize, Deserialize)]

src/syntax/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mech-syntax"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
authors = ["Corey Montella <[email protected]>"]
55
description = "A toolchain for compiling textual syntax into Mech blocks."
66
documentation = "http://docs.mech-lang.org"
@@ -21,20 +21,20 @@ default = []
2121
no-std = ["mech-core/no-std", "rlibc"]
2222

2323
[dependencies]
24-
mech-core = "0.2.5"
24+
mech-core = "0.2.6"
2525

2626
hashbrown = "0.14.5"
27-
lazy_static = "1.4.0"
27+
lazy_static = "1.5.0"
2828
nom = "7.1.3"
2929
nom-unicode = "0.3.0"
3030
unicode-segmentation = "1.11.0"
3131
rlibc = { version = "=1.0", optional = true }
32-
serde = "1.0.189"
33-
serde_derive = "1.0.203"
32+
serde = "1.0.204"
33+
serde_derive = "1.0.204"
3434
colored = "2.1.0"
3535
nalgebra = "0.33.0"
36-
indexmap = "2.2.6"
37-
tabled = "0.15.0"
36+
indexmap = "2.3.0"
37+
tabled = "0.16.0"
3838
libm = "0.2.8"
3939
simba = "0.9.0"
4040
paste = "1.0.15"

src/syntax/grammar.txt

Lines changed: 0 additions & 179 deletions
This file was deleted.

0 commit comments

Comments
 (0)