<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello Matt,</p>
    <p>I found this <a href="https://github.com/MichaReiser/llvm-node">https://github.com/MichaReiser/llvm-node</a>
      , however i am not sure of its status.</p>
    <p>If you are familiar with Python, there is llvmlite: <a
        href="https://github.com/numba/llvmlite">https://github.com/numba/llvmlite<br>
      </a></p>
    <p>Some llvmlite material here:<br>
      <a
href="https://eli.thegreenplace.net/2015/building-and-using-llvmlite-a-basic-example/">https://eli.thegreenplace.net/2015/building-and-using-llvmlite-a-basic-example/</a><br>
      <a
href="https://eli.thegreenplace.net/2015/python-version-of-the-llvm-tutorial/">https://eli.thegreenplace.net/2015/python-version-of-the-llvm-tutorial/</a><br>
    </p>
    <p>About the IR interpreter, there is lli: <a
        href="https://llvm.org/docs/CommandGuide/lli.html">https://llvm.org/docs/CommandGuide/lli.html</a></p>
    <p>George<br>
    </p>
    <div class="moz-cite-prefix">On 29-08-2020 12:57, Matt Fysh via
      llvm-dev wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMh0wZXcCo7vkconrzaSf5JAPAsKWv0oNBwO7m_2Xk_DQF0HcQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi there,
        <div><br>
        </div>
        <div>I'm working on a new language but not at all proficient
          with C/C++... I was wondering if there was an experimental-ish
          implementation of LLVM IR in JavaScript which would allow me
          to use the LLVM primitives to build an IR, and then write an
          IR interpreter in JS.</div>
        <div><br>
        </div>
        <div>The reason I'm looking to use javascript is that I'll be
          able to move faster and explore a large backlog of ideas
          quickly, before committing them to the language spec.</div>
        <div><br>
        </div>
        <div>Does something like this exist? If no, are there
          alternatives where someone with no C/C++ knowledge can quickly
          explore and prototype language ideas? I'm particularly
          interested in use-def chains, coroutines, and to a certain
          extent - type safety.</div>
        <div><br>
        </div>
        <div>I'm also interested in tracking produced values over
          multiple executions, and in later executions using the same
          value without computation if it has shown to produce the same
          value consistently. Is this something in the LLVM ecosphere
          currently, or is this more of a higher-level concept?</div>
        <div><br>
        </div>
        <div>Thanks!</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
    </blockquote>
  </body>
</html>