Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/guides/compile-and-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ greeting.

```
🏁 🍇
😀 🔤Hey!🔤❗️
😀 🔤👋🌍🔤❗️
🍉
```

Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/guides/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions src/pages/index.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@
<div class="hello-world__pre-container">
<pre class="hello-world__pre"><code>🏁 🍇
😀 🔤Hello World!🔤❗️
🍉</code></pre>
</div>

<h2 class="hello-world__h2">Need to see it in only emoji?</h2>

<div class="hello-world__pre-container">
<pre class="hello-world__pre"><code>🏁 🍇
😀 🔤👋🌍🔤❗️
🍉</code></pre>
</div>
</div>
Expand Down