diff --git a/src/guides/compile-and-run.md b/src/guides/compile-and-run.md index 2122aea..6ffac3e 100644 --- a/src/guides/compile-and-run.md +++ b/src/guides/compile-and-run.md @@ -31,7 +31,7 @@ greeting. ``` π π - π π€Hey!π€βοΈ + π π€πππ€βοΈ π ``` @@ -55,10 +55,16 @@ is a native executable you can run like any other executable. Letβs try: ./greeter ``` +You should see the following greeting output in the console: + +``` +ππ +``` + Congratulations! Youβve written your first program. But how does it actually work? -Itβs simple: `π€Hey!π€` is a string literal. Every character between +Itβs simple: `π€πππ€` is a string literal. Every character between two π€ is then part of the string. Then we call the π method on this string. And guess what, it prints the string diff --git a/src/guides/install.md b/src/guides/install.md index a609637..2de6f63 100644 --- a/src/guides/install.md +++ b/src/guides/install.md @@ -64,10 +64,11 @@ Youβre ready to go! Try this, for example: ```bash echo 'π π - π π€Hello World!π€βοΈ + π π€πππ€βοΈ π' > hello.emojic ./emojicodec hello.emojic # Compile it ./hello # Run it! +# the text 'ππ' should print to the console ``` ## Installing for Arch Linux diff --git a/src/pages/index.mustache b/src/pages/index.mustache index 36f701b..e3e4b55 100644 --- a/src/pages/index.mustache +++ b/src/pages/index.mustache @@ -90,6 +90,14 @@
π π
π π€Hello World!π€βοΈ
+π
+ π π
+ π π€πππ€βοΈ
π