Awesome
<h1>RADISH</h1>
<p>{ like the vegetable. }</p>
<br>
<h2>Installation</h2>
<p>Radish's <a href="https://radishpl.com">website</a> provides in-depth instructions on how to install Radish to your computer based on the OS. If you're using this repository on MacOS, there's also an install.sh file that runs the scripts necessary (use sudo bash install.sh to grant admin permissions, as the file needs access to usr/local).</p>
<h2>So what's it all about, anyway?</h2>
<p>Radish is an easy-to-learn, object-oriented programming language written in C#. If you know JavaScript, you know Radish. However, Radish has a few of its own quirks to keep in mind (don't ask why these exist)
<ul>
<li>To declare a variable, use "dig" or just "d"<br><em>Example: dig name</em></li>
<li>To set the value of a variable, use "plant" or "p"<br><em>Example: dig name plant "Theo"</em></li>
<li>Radish currently supports only multiline comments, just start and end your comment with #<br><em>Example: # this is a comment #</em><br>As a side note, Radish is completely linebreak blind. That's right, no semicolons. You can write as many statements on the same line as you want!</li>
<li>Functions are declared using either "tool" or "t"<br><em>Example: dig sayHi plant tool(name) {
holler(name)
}</em><br>Oh yeah, forgot to mention that the print function is called holler.</li>
<li>There are a few other details, but you'll get used to them along the way.</li>
</ul>
In terms of OOP, perhaps a demonstration would be the best way to explain. See if you can figure out what this code does:<br><em>
dig FunkyList plant class {<br>
 dig stored<br>
 dig constructor plant tool(arr) {<br>
  this.stored plant arr<br>
 }<br>
 dig get plant tool(index) {<br>
  if(index % 2 == 1) { # for odd numbered requests #<br>
   harvest "no list element for you"<br>
  }<br>
  harvest this.stored[index]<br>
 }<br>
 dig push plant tool(val) {<br>
  this.stored.push(val)<br>
 }<br>
}<br>
<br>
dig li plant new FunkyList([1, 2, 3])<br>
holler(li.get(0)) # output = 1 #<br>
holler(li.get(1)) # output = no list element for you #<br>
holler(li.get(2)) # output = 3 #<br>
li.push("list element please")<br>
holler(li.get(3)) # output = no list element for you #<br>
holler(li.get(4)) # error #<br>
</em><br>Good luck on your journey with Radish!</p>
<br>
<p>TODO<br><ol>
<li>Add syntax for class to class inheritance // DONE</li>
<li>Add syntax to call inherited constructor // DONE</li>
<li>Add more prototype class functions, such as array.pop() // DONE (sort of)</li>
<li>Introduce getter functions, so that array.length can be called instead of array.length() // DONE</li>
<li>Add tags for object/class properties, such as static, public/private/protected, etc // DONE</li>
<li>Farm theme! // DONE</li>
<li>Better debugging! Literally it's so bad // DONE</li>
<li>Add manual exception throwing + try/catch syntax // DONE</li>
<li>Make VSCode extension so that the code doesn't look so bland (also cool file symbol) // ALMOST DONE</li>
<li>Add importing/exporting from other files!!! // DONE</li>
<li>Package it so that users can install radish and run files without seeing all of the machinery // DONE</li>
<li>async??</li>
</ol></p>