all repos — hex @ dbfd0eb44b964ceea477ec29655a1f7b7362d7e8

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

web/contents/play.html

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
<article>
  <h2>Playground</h2>
  <p>You can use the REPL below to try out hex directly in your browser. This is the <em>actual</em> hex REPL, compiled
    to <a href="https://webassembly.org">WebAssembly</a>.</p>
  <p>For example, try entering the following code, which pushes the quotation <code>(0x1 0x8 0x1b)</code> on the stack:
  </p>
  <pre><code>(0x1 0x2 0x3) (dup dup * *) map</code></pre>
  <section>
    <section></section>
    <aside>
      <span>&gt; </span>
      <input type="text" autofocus />
    </aside>
  </section>
</article>
<script src="/assets/hex.js"></script>