title: Is it possible to convert an expression to a string in Lua?
body: <p>I'm assuming this isn't possible, but I'm just wondering if you could convert an expression to a string.</p>
  
  <p>For example, the following adds five and five together</p>
  
  <pre><code>print(tostring(5 + 5)) --&gt; 10
  </code></pre>
  
  <p>I was wondering if you could do something along the lines of the following.</p>
  
  <pre><code>print(tostring(5 + 5)) --&gt; 5 + 5
  </code></pre>
  
  <p>I'm wondering because I'm making a graphing calculator, and to create a function, it has to be a string.  I was hoping I could make it more user-friendly by making it so you can just input an expression such as <code>x ^ 2</code> instead of <code>"x ^ 2"</code></p>