|
| 1 | ++++ |
| 2 | +title = "Installation" |
| 3 | +date = 2024-10-20T15:12:37+02:00 |
| 4 | ++++ |
| 5 | + |
| 6 | +# Install Lento |
| 7 | + |
| 8 | +<br/> |
| 9 | + |
| 10 | +<div class="download-options" style="text-align: center;"> |
| 11 | + <button id="win64" class="ui button positive">Windows x64</button> |
| 12 | + <button id="win32" class="ui button positive">Windows x86</button> |
| 13 | + <button id="mac" class="ui button positive">Mac OS</button> |
| 14 | + <button id="linux" class="ui button positive">Linux</button> |
| 15 | + <br><br> |
| 16 | + <p> |
| 17 | + Download and install the latest stable release of the Lento toolchain for your OS.<br/> |
| 18 | + Current version: <b>not released yet</b>. |
| 19 | + </p> |
| 20 | +</div> |
| 21 | +<br><br><br> |
| 22 | + |
| 23 | +There are also a couple of different alternatives when downloading and installing the Lento toolchain on supported platforms. |
| 24 | + |
| 25 | +| Toolchain | Download | |
| 26 | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | |
| 27 | +| <h3>Minimal</h3>Just the lento compiler, and build tools are installed globally on your system. Minimal installers provide centrally the LC compiler and the tools for installing packages. Some may install further build tools (i.e. for parsing and lexing) as well. Only the core libraries necessary for each platform are included. | [Windows](#), [Linux](#), [OSX](#), [Source](https://github.com/lento-lang/Lento) | |
| 28 | +| <h3>Platform</h3>Installs the lento compiler, the lento REPL interpreter, the standard library and some other tools globally on your system. Minimal installers provide centrally the LC compiler and the tools for installing packages. Some may install further build tools (i.e. for parsing and lexing) as well. Only the core libraries necessary for each platform are included. | [Windows](#), [Linux](#), [OSX](#), [Source](https://github.com/lento-lang/Lento) | |
| 29 | + |
| 30 | + |
| 31 | +<style> |
| 32 | + /* Nice table styling */ |
| 33 | + table { |
| 34 | + border-collapse: collapse; |
| 35 | + width: 100%; |
| 36 | + } |
| 37 | + |
| 38 | + th, td { |
| 39 | + text-align: left; |
| 40 | + padding: 12px !important; |
| 41 | + } |
| 42 | + |
| 43 | + tr:nth-child(even) { |
| 44 | + background-color: #f2f2f2; |
| 45 | + } |
| 46 | + |
| 47 | + th { |
| 48 | + background-color: #4CAF50; |
| 49 | + color: white; |
| 50 | + } |
| 51 | +</style> |
| 52 | + |
| 53 | +<script> |
| 54 | + document.addEventListener("DOMContentLoaded", function() { |
| 55 | + var os = navigator.platform.toLowerCase(); |
| 56 | + var buttons = [ |
| 57 | + document.getElementById("win64"), |
| 58 | + document.getElementById("win32"), |
| 59 | + document.getElementById("mac"), |
| 60 | + document.getElementById("linux") |
| 61 | + ]; |
| 62 | + |
| 63 | + function highlight(button) { |
| 64 | + button.classList.add("pink-gradient"); |
| 65 | + button.classList.remove("positive"); |
| 66 | + button.classList.remove("button"); |
| 67 | + button.classList.remove("ui"); |
| 68 | + button.classList.add("big"); |
| 69 | + button.classList.add("btn"); |
| 70 | + } |
| 71 | + |
| 72 | + if (os.includes("win")) { |
| 73 | + highlight(buttons[0]); |
| 74 | + } else if (os.includes("mac")) { |
| 75 | + highlight(buttons[2]); |
| 76 | + } else if (os.includes("linux")) { |
| 77 | + highlight(buttons[3]); |
| 78 | + } |
| 79 | + }); |
| 80 | +</script> |
0 commit comments