all repos — hex @ 0c274ce2a8e62d6152188768d85a300a98b9185c

A tiny, minimalist, slightly-esoteric concatenative programming lannguage.

More edits to the home page.
h3rald h3rald@h3rald.com
Sat, 30 Nov 2024 09:29:44 +0100
commit

0c274ce2a8e62d6152188768d85a300a98b9185c

parent

13dc72ff5edbe198d96e9db9941dc8ded924736b

1 files changed, 20 insertions(+), 3 deletions(-)

jump to
M web/templates/index.htmlweb/templates/index.html

@@ -36,11 +36,25 @@ display: inline;

margin: 0; } + footer { + font-size: 80%; + text-align: center; + margin: auto; + } + a { color: lime; text-decoration: underline; } + a:visited { + color: limegreen; + } + + a[href^=http] { + text-decoration-style: dashed; + } + strong { font-weight: 600; }

@@ -71,7 +85,8 @@ </nav>

<article> <h2>Welcome</h2> <p>Welcome to the <strong>hex</strong> programming language.</p> - <p><strong>hex</strong> is a minimalist, concatenative, stack-based and slightly-esoteric programming language written in a single .c file that can run on many platforms (including <a href="/play">the browser</a>) and can be used as an embedded languahe, to create small shell scripts, or simply to learn more about concatenative programming.</p> + <p><strong>hex</strong> is a tiny minimalist, concatenative, stack-based and slightly-esoteric programming language that can run on many platforms (including <a href="/play">the browser</a>) and can be used as an embedded language, to create shell scripts, or simply to learn more about concatenative programming.</p> + <p>Its syntax is heavily inspired by the <a href="https://min-lang.org">min</a> programming language, and features space-separated tokens, no unnecessary punctuation characters, and round brackets to delimit lists.</p> <h2>Features</h2> <ul> <li>Support <strong>32bit integers</strong>, <em>written only in hexadecimal format</em>, both positive and negative (represented via <a href="https://en.wikipedia.org/wiki/Two%27s_complement">two's complement</a>), <strong>strings</strong>, and <strong>quotations</strong> (lists).</li>

@@ -79,9 +94,11 @@ <li><strong>64 native symbols</strong> implementing simple arithmetic, boolean logic, bitwise operations, comparison of integers, read/write from/to stdin/stdout/stderr, read and write files, execute external processes, work with quotations and strings, create and delete user symbols (variables), error handling, and manipulate the stack.</li>

<li>Fully <strong>homoiconic</strong> (everything is data).</li> <li>Includes a simple <strong>REPL</strong>.</li> <li>Includes an integrated <strong>help system</strong>.</li> + <li>Implemented as <strong>a single <a href="https://github.com/h3rald/hex/blob/master/hex.c">.c file</a> and a single <a href="https://github.com/h3rald/hex/blob/master/hex.h">.h file</a></strong>, making it easier to embed in other programs and port to different platforms.</li> </ul> - </article> - + <footer> + &copy; 2024 Fabio Cevasco + </footer> </body> </html>