aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2021-01-04 08:38:26 -0500
committerChristine Dodrill <me@christine.website>2021-01-04 08:38:26 -0500
commit0c6d16cba82f02cdb70485a0d68b68149eaff2c4 (patch)
treeaaa91c47cfd18c10352d40bf1039854518769554
parent09c726a0c9f66cc56aa13026fcc91e2f18bd9761 (diff)
downloadxesite-0c6d16cba82f02cdb70485a0d68b68149eaff2c4.tar.xz
xesite-0c6d16cba82f02cdb70485a0d68b68149eaff2c4.zip
hlang in 30s
Signed-off-by: Christine Dodrill <me@christine.website>
-rw-r--r--blog/hlang-in-30s-2020-01-04.markdown78
1 files changed, 78 insertions, 0 deletions
diff --git a/blog/hlang-in-30s-2020-01-04.markdown b/blog/hlang-in-30s-2020-01-04.markdown
new file mode 100644
index 0000000..2c7f65e
--- /dev/null
+++ b/blog/hlang-in-30s-2020-01-04.markdown
@@ -0,0 +1,78 @@
+---
+title: hlang in 30 Seconds
+date: 2020-01-04
+series: h
+tags:
+ - satire
+---
+
+# hlang in 30 Seconds
+
+hlang (the h language) is a revolutionary new use of WebAssembly that enables
+single-paridigm programming without any pesky state or memory accessing. The
+simplest program you can use in hlang is the h world program:
+
+```
+h
+```
+
+When run in [the hlang playground](https://h.christine.website/play), you can
+see its output:
+
+```
+h
+```
+
+To get more output, separate multiple h's by spaces:
+
+```
+h h h h
+```
+
+This returns:
+
+```
+h
+h
+h
+h
+```
+
+## Internationalization
+
+For internationalization concerns, hlang also supports the Lojbanic h `'`. You can
+mix h and `'` to your heart's content:
+
+```
+' h '
+```
+
+This returns:
+
+```
+'
+h
+'
+```
+
+Finally an easy solution to your pesky Lojban internationalization problems!
+
+## Errors
+
+For maximum understandability, compiler errors are provided in Lojban. For
+example this error tells you that you have an invalid character at the first
+character of the string:
+
+```
+h: gentoldra fi'o zvati fe li no
+```
+
+Here is an interlinear gloss of that error:
+
+```
+h: gentoldra fi'o zvati fe li no
+ grammar-wrong existing-at second-place use-number 0
+```
+
+And now you are fully fluent in hlang, the most exciting programming language
+since sliced bread.