From 0c6d16cba82f02cdb70485a0d68b68149eaff2c4 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Mon, 4 Jan 2021 08:38:26 -0500 Subject: [PATCH] hlang in 30s Signed-off-by: Christine Dodrill --- blog/hlang-in-30s-2020-01-04.markdown | 78 +++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 blog/hlang-in-30s-2020-01-04.markdown 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.