Crates.io | yolk |
lib.rs | yolk |
version | 0.6.0 |
source | src |
created_at | 2019-08-07 03:09:16.080011 |
updated_at | 2019-09-08 17:47:51.188753 |
description | Numerical computing for YOLOL |
homepage | |
repository | https://github.com/averycrespi/yolk |
max_upload_size | |
id | 154724 |
size | 116,000 |
What • Why • How • Development • License • Contribution • Credits
Warning: Yolk is currently in development. Things may change at any time!
Yolk is a domain-specific language that transpiles to Yolol.
// Calculate dot products
define dot(V, W) = sum(V * W)
let foo = dot([1, 2], [3, 4])
// Result: foo == 11
Yolk specializes in working with numbers and arrays. It doesn't support strings, conditionals, or gotos.
Learn the Yolk syntax by checking out some examples or by reading the language specification.
Try Yolk online with Yolk Web.
Requires Git and Rust nightly.
# Set nightly as default
rustup default nightly
# Clone the repository
git clone https://github.com/averycrespi/yolk.git && cd yolk
# Build and run tests
make
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Logo derived from: Egg by David from the Noun Project