~technomancy/fennel-lang.org

ref: 2e6bbe04b6200769ca1df065a4b5dca4a537e446 fennel-lang.org/see.html -rw-r--r-- 1.3 KiB
2e6bbe04msporleder add a link to Home 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html5>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <script src="/fengari-web.js"></script>
    <script src="/see.lua" type="application/lua" async></script>
    <link href="/fennel.css" rel="stylesheet" />
    <link href="https://code.cdn.mozilla.net/fonts/fira.css" rel="stylesheet" />
    <title>See Fennel</title>
  </head>
  <body>
    <div id="see-fennel">
      <h1>See Fennel</h1>
      <textarea id="fennel-source" placeholder="Enter some Fennel code to see it compiled to Lua!"></textarea>
      <textarea id="lua-source" placeholder="Or enter some Lua to see it compiled to Fennel..."></textarea>
      <button id="compile-fennel"></button>
      <button id="compile-lua"></button>
      <select id="sample-fennel"><option>Fennel examples...</option></select>
      <select id="sample-lua"><option>Lua examples...</option></select>

      <pre id="out"></pre>

      <hr />

      <p><a href="/">Fennel</a> is copyright © 2016-2021 Calvin Rose and
        contributors and is released under the MIT/X11 license.
        <a href="https://git.sr.ht/~technomancy/fennel-lang.org">This website</a>
        is under the same terms.
        <a href="https://git.sr.ht/~technomancy/antifennel">Antifennel</a>
        is also under the same terms.</p>
    </div>
  </body>
</html>