docs: Add documentation for AND, OR keywords, reformat docs
This commit is contained in:
parent
6a7db90a83
commit
7043fe47a9
@ -203,7 +203,12 @@ footer {
|
|||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main > ul {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
main > ul li {
|
main > ul li {
|
||||||
|
list-style: none;
|
||||||
margin-bottom: .5em;
|
margin-bottom: .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -240,21 +240,76 @@ class App extends Component {
|
|||||||
<h2>How much is there?</h2>
|
<h2>How much is there?</h2>
|
||||||
<p>Here's the full list of standard keywords that Tabloid currently uses:</p>
|
<p>Here's the full list of standard keywords that Tabloid currently uses:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code class="inline fixed block">DISCOVER HOW TO...WITH</code> declare a function</li>
|
<li>
|
||||||
<li><code class="inline fixed block">RUMOR HAS IT</code> begin a block scope</li>
|
<code class="inline fixed block">DISCOVER HOW TO...WITH</code>
|
||||||
<li><code class="inline fixed block">A OF B, C</code> call function A with arguments B, C</li>
|
declare a function
|
||||||
<li><code class="inline fixed block">WHAT IF...LIES!</code> an if-else expression</li>
|
</li>
|
||||||
<li><code class="inline fixed block">END OF STORY</code> end a block scope</li>
|
<li>
|
||||||
<li><code class="inline fixed block">EXPERTS CLAIM...TO BE</code> declare or assign to a variable</li>
|
<code class="inline fixed block">RUMOR HAS IT</code>
|
||||||
<li><code class="inline fixed block">YOU WON'T WANT TO MISS</code> print output</li>
|
begin a block scope
|
||||||
<li><code class="inline fixed block">LATEST NEWS ON</code> take user input</li>
|
</li>
|
||||||
<li><code class="inline fixed block">TOTALLY RIGHT</code> true</li>
|
<li>
|
||||||
<li><code class="inline fixed block">COMPLETELY WRONG</code> false</li>
|
<code class="inline fixed block">A OF B, C</code>
|
||||||
<li><code class="inline fixed block">PLUS / MINUS / TIMES / DIVIDED BY / MODULO</code> the obvious arithmetic operations</li>
|
call function A with arguments B, C
|
||||||
<li><code class="inline fixed block">IS ACTUALLY</code> is equal to</li>
|
</li>
|
||||||
<li><code class="inline fixed block">BEATS / SMALLER THAN</code> greater than / less than</li>
|
<li>
|
||||||
<li><code class="inline fixed block">SHOCKING DEVELOPMENT</code> return from a function</li>
|
<code class="inline fixed block">WHAT IF...LIES!</code>
|
||||||
<li><code class="inline fixed block">PLEASE LIKE AND SUBSCRIBE</code> end of program</li>
|
an if-else expression
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code class="inline fixed block">END OF STORY</code>
|
||||||
|
end a block scope
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code class="inline fixed block">EXPERTS CLAIM...TO BE</code>
|
||||||
|
declare or assign to a variable
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code class="inline fixed block">YOU WON'T WANT TO MISS</code>
|
||||||
|
print output
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code class="inline fixed block">LATEST NEWS ON</code>
|
||||||
|
take user input
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code class="inline fixed block">TOTALLY RIGHT</code>
|
||||||
|
true
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code class="inline fixed block">COMPLETELY WRONG</code>
|
||||||
|
false
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code class="inline fixed block">AND</code>,
|
||||||
|
<code class="inline fixed block">OR</code>
|
||||||
|
and/or boolean operators
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code class="inline fixed block">PLUS</code>,
|
||||||
|
<code class="inline fixed block">MINUS</code>,
|
||||||
|
<code class="inline fixed block">TIMES</code>,
|
||||||
|
<code class="inline fixed block">DIVIDED BY</code>,
|
||||||
|
<code class="inline fixed block">MODULO</code>
|
||||||
|
the obvious arithmetic operations
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code class="inline fixed block">IS ACTUALLY</code>
|
||||||
|
is equal to
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code class="inline fixed block">BEATS</code>,
|
||||||
|
<code class="inline fixed block">SMALLER THAN</code>
|
||||||
|
greater than / less than
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code class="inline fixed block">SHOCKING DEVELOPMENT</code>
|
||||||
|
return from a function
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<code class="inline fixed block">PLEASE LIKE AND SUBSCRIBE</code>
|
||||||
|
end of program
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user