UNPKG

ludit

Version:

Ludit is an interpreter for Ludi, a language meant to express and compute boolean algebra in the CLI.

269 lines (247 loc) 26.8 kB
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ludit</title><meta name="description" content="Documentation for ludit"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script async src="assets/search.js" id="search-script"></script><link rel="stylesheet" href="assets/custom.css"/></head><body><script></script><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"> <div class="tsd-toolbar-contents container"> <div class="table-cell" id="tsd-search" data-base="."> <div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div> <ul class="results"> <li class="state loading">Preparing search index...</li> <li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">ludit</a></div> <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header> <div class="container container-main"> <div class="col-8 col-content"> <div class="tsd-page-title"> <h2>ludit</h2></div> <div class="tsd-panel tsd-typography"> <a href="#ludi-documentation" id="ludi-documentation" style="color: inherit; text-decoration: none;"> <h1>Ludi Documentation</h1> </a> <p>Ludi is a language meant to express and compute boolean algebra expressions in the CLI.</p> <a href="#table-of-contents" id="table-of-contents" style="color: inherit; text-decoration: none;"> <h2>Table of contents</h2> </a> <ul> <li><a href="#Operators">Operators</a></li> <li><a href="#Expressions">Expressions</a></li> <li><a href="#Functions">Functions</a></li> <li><ul> <li><a href="#Defining-Functions">Defining</a></li> </ul> </li> <li><ul> <li><a href="#Calling-Functions">Calling</a></li> </ul> </li> <li><a href="#Attributes">Attributes</a></li> <li><a href="#Includes">Includes</a></li> <li><a href="#Helpful-Syntax">Helpful Syntax</a></li> <li><a href="#Use-proper-syntax-highlighting">Syntax Highlighting</a></li> </ul> <br/> <a href="#operators" id="operators" style="color: inherit; text-decoration: none;"> <h2>Operators</h2> </a> <table> <thead> <tr> <th>Operator</th> <th>Description</th> </tr> </thead> <tbody><tr> <td><strong><code>*</code></strong></td> <td>Multiplication, which translates to <code>and</code> in boolean algebra</td> </tr> <tr> <td><strong><code>+</code></strong></td> <td>Addition, which translates to <code>or</code> in boolean algebra</td> </tr> <tr> <td><strong><code>!</code></strong></td> <td>Negation, which translates to <code>not</code> in boolean algebra</td> </tr> <tr> <td><strong><code>&#39;</code></strong></td> <td>alias for <code>!</code></td> </tr> </tbody></table> <br/> <a href="#simple-expressions" id="simple-expressions" style="color: inherit; text-decoration: none;"> <h2>Simple Expressions</h2> </a> <p>Expressions will print to the console as a boolean truth table.</p> <pre><code class="language-py"><span class="hl-0">A * B</span> </code></pre> <p>Expressions containing only constants will print as a single calculation</p> <pre><code class="language-py"><span class="hl-1">1</span><span class="hl-0"> * </span><span class="hl-1">1</span> </code></pre> <br/> <a href="#functions" id="functions" style="color: inherit; text-decoration: none;"> <h2>Functions</h2> </a> <a href="#defining-functions" id="defining-functions" style="color: inherit; text-decoration: none;"> <h3>Defining Functions</h3> </a> <p>Ludi allows for function definitions</p> <pre><code class="language-py"><span class="hl-2">def</span><span class="hl-0"> foo = A * B + C</span> </code></pre> <p>The definition won&#39;t print to the console, but the call will.</p> <br/> <a href="#calling-functions" id="calling-functions" style="color: inherit; text-decoration: none;"> <h3>Calling Functions</h3> </a> <p>There are two way of calling functions. There are <strong>Integral</strong> and <strong>Concrete</strong> function calls </p> <p><strong>Integral</strong> calls will print a truth table to the console</p> <pre><code class="language-ruby"><span class="hl-0">foo</span> </code></pre> <p>You can also use different variables in the call, even if the function was defined with <code>A B C</code>.</p> <pre><code class="language-py"><span class="hl-0">foo(D, E, F)</span> </code></pre> <p><strong>Concrete</strong> calls contain constants, and will print as a single calculation</p> <pre><code class="language-py"><span class="hl-0">foo(</span><span class="hl-1">1</span><span class="hl-0">, </span><span class="hl-1">0</span><span class="hl-0">, </span><span class="hl-1">1</span><span class="hl-0">)</span> </code></pre> <br/> <p>Nothing prevents you from using the functions in other functions</p> <pre><code class="language-py"><span class="hl-2">def</span><span class="hl-0"> bar = foo(A, B, C) * !(A + D)</span><br/><br/><span class="hl-0">bar(A, B, C, D)</span> </code></pre> <p>and in calls</p> <pre><code class="language-py"><span class="hl-2">def</span><span class="hl-0"> baz = A + B</span><br/><br/><span class="hl-0">foo(baz(E, F) * A, B, C)</span> </code></pre> <br/> <a href="#attributes" id="attributes" style="color: inherit; text-decoration: none;"> <h2>Attributes</h2> </a> <p>Attributes are options you can assign to format your CLI output You can add them with the <code>~</code> identifier</p> <p>Here is an example</p> <pre><code class="language-py"><span class="hl-0">A * B + C ~r</span> </code></pre> <p>Here is an example with multiple attributes</p> <pre><code class="language-py"><span class="hl-0">A * B + C ~tr7</span> </code></pre> <p>Here are all the possible attributes</p> <table> <thead> <tr> <th>Attributes</th> <th>Description</th> </tr> </thead> <tbody><tr> <td><strong><code>r</code></strong></td> <td>Will reverse the labels in a truth table</td> </tr> <tr> <td><strong><code>k</code></strong></td> <td>Will print a karnaugh table</td> </tr> <tr> <td><strong><code>t</code></strong></td> <td>Will print a truth table (DEFAULT)</td> </tr> <tr> <td><strong><code>ANY NUMBER</code></strong></td> <td>Any numeric value will cap the truth table to the number you set</td> </tr> </tbody></table> <br/> <br/> <a href="#includes" id="includes" style="color: inherit; text-decoration: none;"> <h2>Includes</h2> </a> <p>Ludi allows you to include files</p> <p>You can include files with a local path</p> <pre><code class="language-ruby"><span class="hl-2">include</span><span class="hl-0"> </span><span class="hl-3">&quot;./bar&quot;</span> </code></pre> <p>A global path</p> <pre><code class="language-ruby"><span class="hl-2">include</span><span class="hl-0"> </span><span class="hl-3">&quot;/home/vlev/myfile&quot;</span> </code></pre> <p>Or use a library</p> <pre><code class="language-ruby"><span class="hl-2">include</span><span class="hl-0"> </span><span class="hl-3">&quot;std&quot;</span> </code></pre> <br/> <a href="#helpful-syntax" id="helpful-syntax" style="color: inherit; text-decoration: none;"> <h2>Helpful Syntax</h2> </a> <p>You can write comments by prefixing <code>#</code></p> <pre><code class="language-py"><span class="hl-4"># Ludi is dope as hell yow</span> </code></pre> <p>You can print text by prefixing it with <code>-</code> This is useful to add titles to tables or calculations</p> <pre><code class="language-go"><span class="hl-0">- Hello world</span> </code></pre> <br/> <a href="#use-proper-syntax-highlighting" id="use-proper-syntax-highlighting" style="color: inherit; text-decoration: none;"> <h2>Use proper syntax highlighting</h2> </a> <p>Vim syntax highlighting for ludi is provided here</p> <pre><code><span class="hl-0">.</span><span class="hl-5">vim</span><span class="hl-0">/</span><span class="hl-5">ludi</span><span class="hl-0">.</span><span class="hl-5">vim</span> </code></pre> <br/> <br/> <p>More detailed documentation about the source code of Ludit/Ludi can be found <a href="https://raw.githack.com/matiasvlevi/ludit/dev/docs/index.html">here</a></p> <hr> <p>MIT Licence 2022</p> </div></div> <div class="col-4 col-menu menu-sticky-wrap menu-highlight"> <div class="tree"> <div class="tree-settings"> <div class="tsd-navigation settings"> <details class="tsd-index-accordion"><summary class="tsd-accordion-summary"> <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary> <div class="tsd-accordion-details"> <div class="tsd-filter-visibility"> <h4 class="uppercase">Member Visibility</h4><form> <ul id="tsd-filter-options"> <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li> <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li> <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li> <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div> <div class="tsd-theme-toggle"> <h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div> <div class="tree-config"><button class="tree-config__button tree-config__button--expand js-tree-expand" title="Expand All"><svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 490.72 490.72" fill="currentColor"><path d="M480.027,288.027H10.693c-5.867,0-10.667,4.8-10.667,10.667c0,5.867,4.8,10.667,10.667,10.667h213.333v144.96l-45.76-45.76c-4.267-4.053-10.987-3.947-15.04,0.213c-3.947,4.16-3.947,10.667,0,14.827l64,64c4.16,4.16,10.88,4.16,15.04,0l64-64c4.053-4.267,3.947-10.987-0.213-15.04c-4.16-3.947-10.667-3.947-14.827,0l-45.867,45.76V309.36h234.667c5.867,0,10.667-4.8,10.667-10.667C490.693,292.827,485.893,288.027,480.027,288.027z"></path><path d="M10.693,224.027h469.333c5.867,0,10.667-4.8,10.667-10.667c0-5.867-4.8-10.667-10.667-10.667H245.36V36.4l45.76,45.76c4.267,4.053,10.987,3.947,15.04-0.213c3.947-4.16,3.947-10.667,0-14.827l-64-64c-4.16-4.16-10.88-4.16-15.04,0l-64,64c-4.053,4.267-3.947,10.987,0.213,15.04c4.16,3.947,10.667,3.947,14.827,0l45.867-45.76v166.293H10.693c-5.867,0-10.667,4.8-10.667,10.667C0.027,219.227,4.827,224.027,10.693,224.027z"></path></svg></button><button class="tree-config__button tree-config__button--collapse js-tree-collapse" title="Collapse All"><svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 8zm7-8a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 4.293V.5A.5.5 0 0 1 8 0zm-.5 11.707-1.146 1.147a.5.5 0 0 1-.708-.708l2-2a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 11.707V15.5a.5.5 0 0 1-1 0v-3.793z"></path></svg></button><button class="tree-config__button tree-config__button--target js-tree-target" title="Scroll to current file"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><circle cx="12" cy="12" r="3"></circle><path d="M13 4.069V2h-2v2.069A8.008 8.008 0 0 0 4.069 11H2v2h2.069A8.007 8.007 0 0 0 11 19.931V22h2v-2.069A8.007 8.007 0 0 0 19.931 13H22v-2h-2.069A8.008 8.008 0 0 0 13 4.069zM12 18c-3.309 0-6-2.691-6-6s2.691-6 6-6 6 2.691 6 6-2.691 6-6 6z"></path></svg></button></div> <div class="tree-content"> <ul class="js-category-list category" data-id="root"> <li><span class="js-category-title category__title" data-id="root-src"> <div class="category__folder" data-id="root-src"></div>src</span> <ul class="js-category-list category" data-id="root-src"> <li><span class="js-category-title category__title" data-id="root-src-ludit"> <div class="category__folder" data-id="root-src-ludit"></div>ludit</span> <ul class="js-category-list category" data-id="root-src-ludit"> <li><span class="js-category-title category__title" data-id="root-src-ludit-types"> <div class="category__folder" data-id="root-src-ludit-types"></div>types</span> <ul class="js-category-list category" data-id="root-src-ludit-types"> <li><a class="category__link js-category-link category__link--ts" href="modules/types.html" data-id="/modules/types.html">index.ts</a> <ul> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.HeapSlot.html" data-id="/interfaces/types.HeapSlot.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>HeapSlot</a></li> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.Iterator.html" data-id="/interfaces/types.Iterator.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Iterator</a></li> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.Map.html" data-id="/interfaces/types.Map.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>Map</a></li> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.TokenizerReturn.html" data-id="/interfaces/types.TokenizerReturn.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>TokenizerReturn</a></li> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.attribute.html" data-id="/interfaces/types.attribute.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>attribute</a></li> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.attributeConfig.html" data-id="/interfaces/types.attributeConfig.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>attributeConfig</a></li> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.attributes.html" data-id="/interfaces/types.attributes.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>attributes</a></li> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.checkIncludeReturn.html" data-id="/interfaces/types.checkIncludeReturn.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>checkIncludeReturn</a></li> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.error.html" data-id="/interfaces/types.error.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>error</a></li> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.handleCallReturn.html" data-id="/interfaces/types.handleCallReturn.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>handleCallReturn</a></li> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.lineType.html" data-id="/interfaces/types.lineType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>lineType</a></li> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.operation.html" data-id="/interfaces/types.operation.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>operation</a></li> <li class="tsd-kind-interface tsd-parent-kind-module"><a class="category__link js-category-link" href="interfaces/types.syntax.html" data-id="/interfaces/types.syntax.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg>syntax</a></li> <li class="tsd-kind-type-alias tsd-parent-kind-module"><a class="category__link js-category-link" href="types/types.errorCall.html" data-id="/types/types.errorCall.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg>errorCall</a></li> <li class="tsd-kind-type-alias tsd-parent-kind-module"><a class="category__link js-category-link" href="types/types.luditLineReturn.html" data-id="/types/types.luditLineReturn.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>luditLineReturn</a></li> <li class="tsd-kind-type-alias tsd-parent-kind-module"><a class="category__link js-category-link" href="types/types.luditReturn.html" data-id="/types/types.luditReturn.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>luditReturn</a></li></ul></li></ul></li> <li><a class="category__link js-category-link category__link--ts" href="modules/Core.html" data-id="/modules/Core.html">Core.ts</a> <ul> <li class="tsd-kind-namespace tsd-parent-kind-module"><a class="category__link js-category-link" href="modules/Core.Assembler.html" data-id="/modules/Core.Assembler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg>Assembler</a></li> <li class="tsd-kind-namespace tsd-parent-kind-module"><a class="category__link js-category-link" href="modules/Core.ErrorHandler.html" data-id="/modules/Core.ErrorHandler.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg>ErrorHandler</a></li> <li class="tsd-kind-namespace tsd-parent-kind-module"><a class="category__link js-category-link" href="modules/Core.Preparser.html" data-id="/modules/Core.Preparser.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg>Preparser</a></li> <li class="tsd-kind-namespace tsd-parent-kind-module"><a class="category__link js-category-link" href="modules/Core.Processor.html" data-id="/modules/Core.Processor.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg>Processor</a></li> <li class="tsd-kind-namespace tsd-parent-kind-module"><a class="category__link js-category-link" href="modules/Core.Tokenizer.html" data-id="/modules/Core.Tokenizer.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg>Tokenizer</a></li> <li class="tsd-kind-namespace tsd-parent-kind-module"><a class="category__link js-category-link" href="modules/Core.Utils.html" data-id="/modules/Core.Utils.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg>Utils</a></li> <li class="tsd-kind-class tsd-parent-kind-module"><a class="category__link js-category-link" href="classes/Core.Heap.html" data-id="/classes/Core.Heap.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg>Heap</a></li> <li class="tsd-kind-class tsd-parent-kind-module"><a class="category__link js-category-link" href="classes/Core.Token.html" data-id="/classes/Core.Token.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>Token</a></li> <li class="tsd-kind-class tsd-parent-kind-module"><a class="category__link js-category-link" href="classes/Core.TreeNode.html" data-id="/classes/Core.TreeNode.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>TreeNode</a></li></ul></li> <li><a class="category__link js-category-link category__link--ts" href="modules/Frontend.html" data-id="/modules/Frontend.html">Frontend.ts</a> <ul> <li class="tsd-kind-class tsd-parent-kind-module"><a class="category__link js-category-link" href="classes/Frontend.API.html" data-id="/classes/Frontend.API.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>API</a></li> <li class="tsd-kind-class tsd-parent-kind-module"><a class="category__link js-category-link" href="classes/Frontend.CLI.html" data-id="/classes/Frontend.CLI.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg>CLI</a></li></ul></li></ul></li></ul></li></ul></div></div></div></div> <div class="container tsd-generator"> <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div> <div class="overlay"></div><script src="assets/main.js"></script><script src="assets/custom.js"></script></body></html>