334 B
334 B
The example implementation will be in rust
IDL | Rust
Boolean | bool I8 | i8 I16 | i16 I32 | i32 I64 | i64 U8 | u8 U16 | u16 U32 | u32 U64 | u64 F32 | f32 F64 | f64 Constant X = Make Y { Z } | const X: Y = Y { Z }; Alias | type Vector | Vec Array<X, Y> | [X; Y] Function X Takes(YX) Returns(ZX) | fn X(YX) -> ZX