diff --git a/Examples.md b/Examples.md index ccd4f54..f525cde 100644 --- a/Examples.md +++ b/Examples.md @@ -1,8 +1,8 @@ This page selects some example programs from "Rust by Example" and shows their intended Husht equivalents. (Of course, the details of the syntax on the Husht side may vary.) -#### Hello World +### Hello World ``` -// Many comments from the Rust by Example versionhave been removed +// Many comments from the Rust by Example version have been removed fn main() { // Print text to the console. println!("Hello World!"); @@ -10,8 +10,13 @@ fn main() { ``` <-> ``` -// Many comments from the Rust by Example versionhave been removed +// Many comments from the Rust by Example version have been removed fn main // Print text to the console. println! "Hello World!" -``` \ No newline at end of file +``` + +#### Formatted print + (Skipping for now because we likely want "f-strings" in Husht, which require some thought/design.) + +### Primitives \ No newline at end of file