QLogo #
QLogo is an open-source programming language, based on UCBLogo, that is easy to learn and easy to use. Programs written in QLogo are both concise and easily readable.
The QLogo Programming Language #
Although you might know Logo for its simple syntax and its use of the turtle for drawing, QLogo (and UCBLogo) expand on Logo by borrowing features from other languages, especially Lisp, to create a general-purpose programming language.
; Calculate the n'th element of the Fibonacci sequence
to fib :n
if :n < 2 [output :n]
output (fib :n - 1) + (fib :n - 2)
end
print fib 10
55
show map [fib ?] [1 2 3 4 5 6 7 8 9]
[1 1 2 3 5 8 13 21 34]
Download #
-
Source code is available from QLogo GitHub.
-
There aren’t any prebuilt binaries available at this time. Sorry.