Skip to content

Commit

Permalink
Deploying to gh-pages from @ 76ee603 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
well-in-that-case committed Oct 9, 2023
1 parent 05c5b50 commit 83a8a83
Show file tree
Hide file tree
Showing 72 changed files with 144 additions and 144 deletions.
4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<meta name="generator" content="Docusaurus v2.4.1">
<title data-rh="true">Page Not Found | Pluto</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://pluto-lang.org/404.html"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docusaurus_tag" content="default"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docsearch:docusaurus_tag" content="default"><meta data-rh="true" property="og:title" content="Page Not Found | Pluto"><link data-rh="true" rel="icon" href="/img/logo.png"><link data-rh="true" rel="canonical" href="https://pluto-lang.org/404.html"><link data-rh="true" rel="alternate" href="https://pluto-lang.org/404.html" hreflang="en"><link data-rh="true" rel="alternate" href="https://pluto-lang.org/404.html" hreflang="x-default"><link rel="stylesheet" href="/assets/css/styles.f709b49b.css">
<link rel="preload" href="/assets/js/runtime~main.e96994fe.js" as="script">
<link rel="preload" href="/assets/js/main.29d8b7bb.js" as="script">
<link rel="preload" href="/assets/js/main.36d80e0b.js" as="script">
</head>
<body class="navigation-with-keyboard" data-theme="light">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}return t}()||function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"dark")}()</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/logo.png" alt="Pluto Logo" class="themedImage_ToTc themedImage--light_HNdA"><img src="/img/logo.png" alt="Pluto Logo" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate">Pluto</b></a><a class="navbar__item navbar__link" href="/docs/Introduction">Documentation</a></div><div class="navbar__items navbar__items--right"><a href="https://github.com/PlutoLang/Pluto" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="searchBox_ZlJk"><div class="dsla-search-wrapper"><div class="dsla-search-field" data-tags="default,docs-default-current"></div></div></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><main class="container margin-vert--xl"><div class="row"><div class="col col--6 col--offset-3"><h1 class="hero__title">Page Not Found</h1><p>We could not find what you were looking for.</p><p>Please contact the owner of the site that linked you to the original URL and let them know their link is broken.</p></div></div></main></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2023 Ryan Starrett. Built with Docusaurus.</div></div></div></footer></div>
<script src="/assets/js/runtime~main.e96994fe.js"></script>
<script src="/assets/js/main.29d8b7bb.js"></script>
<script src="/assets/js/main.36d80e0b.js"></script>
</body>
</html>
2 changes: 0 additions & 2 deletions assets/js/main.29d8b7bb.js

This file was deleted.

2 changes: 2 additions & 0 deletions assets/js/main.36d80e0b.js

Large diffs are not rendered by default.

File renamed without changes.
6 changes: 3 additions & 3 deletions docs/Beginners Guide.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/Compatibility.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<meta name="generator" content="Docusaurus v2.4.1">
<title data-rh="true">Compatibility | Pluto</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://pluto-lang.org/docs/Compatibility"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Compatibility | Pluto"><meta data-rh="true" name="description" content="How compatible with Lua is Pluto?"><meta data-rh="true" property="og:description" content="How compatible with Lua is Pluto?"><link data-rh="true" rel="icon" href="/img/logo.png"><link data-rh="true" rel="canonical" href="https://pluto-lang.org/docs/Compatibility"><link data-rh="true" rel="alternate" href="https://pluto-lang.org/docs/Compatibility" hreflang="en"><link data-rh="true" rel="alternate" href="https://pluto-lang.org/docs/Compatibility" hreflang="x-default"><link rel="stylesheet" href="/assets/css/styles.f709b49b.css">
<link rel="preload" href="/assets/js/runtime~main.e96994fe.js" as="script">
<link rel="preload" href="/assets/js/main.29d8b7bb.js" as="script">
<link rel="preload" href="/assets/js/main.36d80e0b.js" as="script">
</head>
<body class="navigation-with-keyboard" data-theme="light">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}return t}()||function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"dark")}()</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/logo.png" alt="Pluto Logo" class="themedImage_ToTc themedImage--light_HNdA"><img src="/img/logo.png" alt="Pluto Logo" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate">Pluto</b></a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/docs/Introduction">Documentation</a></div><div class="navbar__items navbar__items--right"><a href="https://github.com/PlutoLang/Pluto" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="searchBox_ZlJk"><div class="dsla-search-wrapper"><div class="dsla-search-field" data-tags="default,docs-default-current"></div></div></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0 docsWrapper_BCFX"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type="button"></button><div class="docPage__5DB"><aside class="theme-doc-sidebar-container docSidebarContainer_b6E3"><div class="sidebarViewport_Xe31"><div class="sidebar_njMd"><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/docs/Introduction">What is Pluto?</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/docs/Getting Started">Getting Started</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/docs/Tooling">Tooling</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/docs/Beginners Guide">Beginner&#x27;s Guide</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" href="/docs/category/new-operators">New Operators</a><button aria-label="Toggle the collapsible sidebar category &#x27;New Operators&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" href="/docs/category/new-features">New Features</a><button aria-label="Toggle the collapsible sidebar category &#x27;New Features&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" href="/docs/category/qol-improvements">QoL Improvements</a><button aria-label="Toggle the collapsible sidebar category &#x27;QoL Improvements&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" href="/docs/category/runtime-environment">Runtime Environment</a><button aria-label="Toggle the collapsible sidebar category &#x27;Runtime Environment&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" href="/docs/Compatibility">Compatibility</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" href="/docs/category/optimizations">Optimizations</a><button aria-label="Toggle the collapsible sidebar category &#x27;Optimizations&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" href="/docs/category/for-integrators">For Integrators</a><button aria-label="Toggle the collapsible sidebar category &#x27;For Integrators&#x27;" type="button" class="clean-btn menu__caret"></button></div></li></ul></nav></div></div></aside><main class="docMainContainer_gTbr"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_VOVn"><div class="docItemContainer_Djhp"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label="Breadcrumbs"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="Home page" class="breadcrumbs__link" href="/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_YNFT"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link" itemprop="name">Compatibility</span><meta itemprop="position" content="1"></li></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type="button" class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Compatibility</h1></header><h2 class="anchor anchorWithStickyNavbar_LWe7" id="how-compatible-with-lua-is-pluto">How compatible with Lua is Pluto?<a href="#how-compatible-with-lua-is-pluto" class="hash-link" aria-label="Direct link to How compatible with Lua is Pluto?" title="Direct link to How compatible with Lua is Pluto?"></a></h2><p>Pluto is 99.9% compatible with most Lua source code. However, it&#x27;s imperfect. Due to that, Pluto implements several compatibility macros.</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="where-are-the-incompatibilities">Where are the incompatibilities?<a href="#where-are-the-incompatibilities" class="hash-link" aria-label="Direct link to Where are the incompatibilities?" title="Direct link to Where are the incompatibilities?"></a></h3><p>Pluto adds the following reserved tokens:</p><ul><li><code>switch</code></li><li><code>continue</code></li><li><code>enum</code></li><li><code>new</code></li><li><code>class</code></li><li><code>parent</code></li><li><code>export</code></li></ul><p>Which means you can&#x27;t use them as variable names or for function calls. They can still be used with short-hand table indexes and goto labels though, because Pluto <a href="/QoL Improvements/Reserved Identifiers">removes the restriction from them</a>.</p><h2 class="anchor anchorWithStickyNavbar_LWe7" id="compatibility-mode">Compatibility Mode<a href="#compatibility-mode" class="hash-link" aria-label="Direct link to Compatibility Mode" title="Direct link to Compatibility Mode"></a></h2><p>Compatibility mode is a per-keyword option that adds a <code>pluto_</code> prefix. For example, <code>switch</code> becomes <code>pluto_switch</code> under compatibility mode. However, when compatibility mode is disabled, the <code>pluto_</code> syntax is still valid. This project has high regard for smooth migration paths.</p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="configuration-for-scripters">Configuration for scripters<a href="#configuration-for-scripters" class="hash-link" aria-label="Direct link to Configuration for scripters" title="Direct link to Configuration for scripters"></a></h3><p>You can change the meaning of Pluto&#x27;s reserved tokens at any point in your scripts by using <code>pluto_use</code>.</p><ul><li><code>pluto_use * = false, switch</code> enables compatibility mode for all keywords except for <code>switch</code>.<ul><li><code>pluto_use * = false</code> enables compatibility mode for all keywords.</li><li><code>pluto_use switch</code> disables compatibility mode for the <code>switch</code> keyword.<ul><li><code>pluto_use switch = true</code> would be another way of writing this.</li></ul></li></ul></li><li><code>pluto_use &quot;0.2.0&quot;</code> enables compatibility mode for all keywords except for: <code>switch</code>, <code>continue</code></li><li><code>pluto_use &quot;0.5.0&quot;</code> enables compatibility mode for all keywords except for: <code>switch</code>, <code>continue</code>, <code>enum</code></li><li><code>pluto_use &quot;0.6.0&quot;</code> enables compatibility mode for all keywords except for: <code>switch</code>, <code>continue</code>, <code>enum</code>, <code>new</code>, <code>class</code>, <code>parent</code>, <code>export</code></li></ul><h3 class="anchor anchorWithStickyNavbar_LWe7" id="configuration-for-integrators">Configuration for integrators<a href="#configuration-for-integrators" class="hash-link" aria-label="Direct link to Configuration for integrators" title="Direct link to Configuration for integrators"></a></h3><p>The macros for compatibility mode are well-documented, and found inside your <code>luaconf.h</code> file.</p><h2 class="anchor anchorWithStickyNavbar_LWe7" id="portability--proactive-compatibility">Portability &amp; proactive compatibility<a href="#portability--proactive-compatibility" class="hash-link" aria-label="Direct link to Portability &amp; proactive compatibility" title="Direct link to Portability &amp; proactive compatibility"></a></h2><p>We recommend scripters place a <code>pluto_use</code> statement at the beginning of their scripts for two reasons:</p><ul><li><strong>Portability.</strong> This will override the compatibility mode settings compiled into Pluto so your script will be parsed identically in all Pluto environments.</li><li><strong>Proactive compatibility.</strong> Any keywords added by future versions of Pluto will also be put in compatibility mode by these statements, so in the off-chance your script uses a future reserved keyword as a variable name, it would still parse as you intended when you wrote it.</li></ul><p>Plus, it&#x27;s as simple as <code>pluto_use &quot;0.6.0&quot;</code> or <code>pluto_use &quot;0.5.0&quot;</code> — see &quot;Configuration for scripters&quot; above.</p></div></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href="/docs/Runtime Environment/JSON Functions"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">JSON Functions</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/docs/category/optimizations"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Optimizations</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#how-compatible-with-lua-is-pluto" class="table-of-contents__link toc-highlight">How compatible with Lua is Pluto?</a><ul><li><a href="#where-are-the-incompatibilities" class="table-of-contents__link toc-highlight">Where are the incompatibilities?</a></li></ul></li><li><a href="#compatibility-mode" class="table-of-contents__link toc-highlight">Compatibility Mode</a><ul><li><a href="#configuration-for-scripters" class="table-of-contents__link toc-highlight">Configuration for scripters</a></li><li><a href="#configuration-for-integrators" class="table-of-contents__link toc-highlight">Configuration for integrators</a></li></ul></li><li><a href="#portability--proactive-compatibility" class="table-of-contents__link toc-highlight">Portability &amp; proactive compatibility</a></li></ul></div></div></div></div></main></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2023 Ryan Starrett. Built with Docusaurus.</div></div></div></footer></div>
<script src="/assets/js/runtime~main.e96994fe.js"></script>
<script src="/assets/js/main.29d8b7bb.js"></script>
<script src="/assets/js/main.36d80e0b.js"></script>
</body>
</html>
Loading

0 comments on commit 83a8a83

Please sign in to comment.