Updated /home and /get pages.
h3rald h3rald@h3rald.com
Thu, 19 Dec 2024 16:07:48 +0100
2 files changed,
6 insertions(+),
8 deletions(-)
M
web/contents/get.html
→
web/contents/get.html
@@ -44,6 +44,9 @@ your platform.</p>
<p>This assumes that you have a C compiler like GCC and the make command installed. On Windows, you may want to look into <a href="https://www.msys2.org" target="_blank">MSYS2</a>.</p> + <p> Note that <code>make</code> will first generate a single, amalgamated <code>hex.c</code> file containing all + the concatenated sources in the right order. You can use this file for easily embedding hex in your own + C projects.</p> <p>You can also:</p> <ul> <li>Run <code>make test</code> to run the test suite.</li>
M
web/contents/home.html
→
web/contents/home.html
@@ -18,16 +18,11 @@ 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>Implements a simple virtual machine with a bytecode compiler and interpreter.</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/src/hex.c" - target="_blank">.c - file</a> and a - single <a href="https://github.com/h3rald/hex/blob/master/src/hex.h" target="_blank">.h - file</a></strong>, - making it easier - to - embed in other programs and port to different platforms.</li> + <li>Distributable through a single, amalgamated C file, making it easier to embed in other programs and port to + different platforms.</li> </ul> <h3>Example</h3> <p> The following code executes the <em>ls</em> command, retrieves the files returned in standard output, and stores