No parenthesis, braces, brackets. None. Think about it.<br><br><div class="gmail_quote">On Mon, Jan 30, 2012 at 1:43 PM, Theodore H. Smith <span dir="ltr"><<a href="mailto:delete@elfdata.com">delete@elfdata.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
It's my first post here. I was very interested in representing concepts in a formal, computable form. So I asked some questions and found this place!<br>
<br>
How does attempto handle representing code. Let's say a simple function:<br>
<br>
int GCD(int a, int b) {<br>
// calculates the greatest common divisor of two numbers.<br>
  if (b > a) { goto b_larger; }<br>
<br>
  while (true) {<br>
    a = a % b;<br>
    if (a = 0) return b;<br>
    b_larger:;<br>
    b = b % a;<br>
    if (b = 0) return a;<br>
  }<br>
 }<br>
<br>
<br>
How would you describe that in attempto?<br>
<br>
I think describing code is very important. Doing reasoning about code could achieve many things, the smallest and most obvious of things would be to help eliminate bugs in code ;)<br>
<br>
Also, could attempto ever get the ability to RUN code? Not just describe code, but run it. I mean, it stands to reason, that if you can describe code, the next step is to give the ability to run it?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<a href="http://angelcog.org/" target="_blank">http://angelcog.org/</a><br>
"A true logic processing language." (currently under development)<br>
<br>
_______________________________________________<br>
attempto mailing list<br>
<a href="mailto:attempto@lists.ifi.uzh.ch">attempto@lists.ifi.uzh.ch</a><br>
<a href="https://lists.ifi.uzh.ch/listinfo/attempto" target="_blank">https://lists.ifi.uzh.ch/listinfo/attempto</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Cell: 703-594-1883<br>Blog: <a href="http://bradjcox.blogspot.com">http://bradjcox.blogspot.com</a><br>Web: <a href="http://virtualschool.edu">http://virtualschool.edu</a><br>

Manassas VA 20111<br><br>