_*_ _
 / \

hex

\* programming language *\_/_/_/ *

Welcome to the hex programming language

hex is a tiny, minimalist, concatenative, stack-based and slightly-esoteric programming language that can run on many platforms (including modern browsers) and can be used as an embedded language, to create shell scripts, or simply to learn more about concatenative programming.

Its syntax is heavily inspired by the min programming language, and features space-separated tokens, no unnecessary punctuation characters, and round brackets to delimit lists.

Features

Example

The following code executes the ls command, retrieves the files returned in standard output, and stores them inside a quotation that is then printed:

"ls" run 0x1 get "\n" split puts

Note that no variable is used in the code above! Let's break it down: