Did you mean: Qu, qu. (abbreviation), Qu (family name), qu (poetry), Qu You

 


Qu is a computer programming language with an open-source interpreter written in C by Marc Krisnanto. It comparable to Python, Ruby, Perl and many others.

The language is semi-dynamic, and optionally strongly typed, with full object orientation. All variables in the language are first class objects.

The design and implementation focuses on compactness and speed, using the GNU Lightning Just In Time compiler (JIT).

External links

An information page is available at http://www.qu-lang.org/

Examples

# Ackermann 
if not (__arg__) # get input;
  println("Ackermann's function ...")
  println("Enter a number on the command line!")
else
  NUM = Int(__arg__[0])
  printf('Ack (3,%d): %d\n', NUM, Ack(3, NUM))
end if  
sub Ack(m, n) # one way
  if m == 0 return n + 1
  elif n == 0 return Ack(m - 1, 1)
  else return Ack(m - 1, Ack(m, n - 1));;
;;
 # alternate way
sub ackermann (m, n) 
    return m ? (n ? ackermann (m - 1, ackermann (m, n - 1)) :
               ackermann (m - 1, 1)) : n + 1
;;

 
Shopping:

Qu

honda qu
 
 

Did you mean: Qu, qu. (abbreviation), Qu (family name), qu (poetry), Qu You

Join the WikiAnswers Q&A community. Post a question or answer questions about "Qu" at WikiAnswers.

 

Copyrights:

Wikipedia. This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Qu" Read more

Search for answers directly from your browser with the FREE Answers.com Toolbar!  
Click here to download now. 

Get Answers your way! Check out all our free tools and products.

On this page:   E-mail   print Print  Link  

 

Keep Reading

Mentioned In: