SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Sponsored Links

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Thank you for downloading Logo++ !!

Logo++ is an interpreter for drawing simple graphical figures using 'turtle commands'. Though it lacks many essential features of "serious" languages, it remains a funny start for beginners in computer programming, particularly for kids. The language is inspired from the famous Logo language.

(1) Where to get Logo++
visit Logo++ site at:
http://clpp.sourceforge.net

(2) Platform requirement
Logo++ should run on any platform where FLTK and FLEX libraries are available (or could be compiled). I ported Logo++ to Win32 and Linux platforms, binaries are available at Logo++ site (see (1))

(3) How to compile Logo++
-Win32 platforms
A VC++ workspace and project are located in the vstudio directory. Open the workspace clpp.dsw and build the project. Compilation was tested under Windows2000 (TM) professional with Visual C++ 6.0 successfully. The executable 'Clpp' is generated in the <Logo++ Home>/bin/win directory -Linux
Just type 'make' in a shell while in Logo++ directory. The executable 'Clpp' is generated in the <Logo++ Home>/bin/linux directory

-Important note:
Logo++ is based on FLTK toolkit for its user interface (http://www.fltk.org/), thus, if you have problems linking the project try rebuilding the FLTK library (version fltk-1.0.11, higher versions won't work).

I did not try to port Logo++ to oher platforms. If you do, please let me know! (mail me at : nakhli@users.sourceforge.net)

(4) Logo++ language brief overview
Logo++ language is very simple. It consists of exactly 5 keywords:

  • walk <n> tells the turtle to walk <n> steps while drawing a straight line in its path.
  • jump <n> moves the turtle <n> steps as in walk but without drawing its path.
  • turn <n> turns the turtle <n> degrees counterclockwise.
  • repeat <n> ... loop repeats <n> times the instructions between repeat and loop statements. <n> must be greater or equal to 1.
  • define <id> ... end provides a procedure call mechanism. The block between the two delimiting statments could be invoked using the giving <id>
    example
    define square repeat 4 walk 100 turn 90 loop end
  • draw <id> used to draw a previously defined block with define...end constructs.
    example
    draw square

Other examples are in the <Logo++ Home>/examples directory.

(5) Do not hesitate to contact me :
- mail me at nakhli@users.sourceforge.net - go to the project forum at project page: http://sourceforge.net/projects/clpp

(6) License Notice:

Copyright (C) 2000-2004 Chaker NAKHLI nakhli@users.sourceforge.net

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Sponsored Links

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.