v0.2.48-beta
Tauri App
I'm experimenting with a Tauri app, which is kind of like Electron but for Rust. It allows one to use a webview as a user interface, which is a little nicer than egui, which is canvas based. Right now the wasm build is powering it, but I should be able to bundle a native runtime in the tauri app. This is important because the wasm build is very slow, which is fine on the web, but this app is supposed to be native. So I'll have to work on it some more before it's really useful. For now what it does is it exposes the wasm REPL in the webview.
Kind Values
Kinds are now proper values, so you can write this:
x := <u32>
There's not much you can do with this yet, but it allows for writing out types in a document and formatting them properly. In the future this will be more useful with state machines.
Tuple Destructuring
You can now destructure tuples with a new tuple destructure statement.
q := (10, "b", true);
r := (q.3, q.2, q.1) -- access elements with index
s := (q.0, q.4) -- compile time errors
(x,y,z) := q -- destructure elements of q into x, y and z
t := (z,y,x)
t == r -- true
Implicit conversion
Turns out this is strange to implement widely, so this is no longer supported... for now:
x := [8<u8> 9 10] -- type error
Full Changelog: v0.2.47-beta...v0.2.48-beta