World Library  
Flag as Inappropriate
Email this Article

LibreLogo

Article Id: WHEBN0039444795
Reproduction Date:

Title: LibreLogo  
Author: World Heritage Encyclopedia
Language: English
Subject: LibreOffice, Logo (programming language), The Document Foundation
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

LibreLogo

LibreLogo
LibreLogo extension showing Turtle graphics
Original author(s) László Németh
András Tímár
Initial release 27 June 2012 (2012-06-27)[1]
Stable release same as LibreOffice version
Written in Python-PyUNO
Available in same as LibreOffice version
Type Software extension / part of an application
License GPL, LGPL v2.1 and MPL v1.1
Website .orglibrelogo

LibreLogo is a Logo-like, Python programming environment that uses interactive turtle vector graphics. Its final output is a vector graphics rendition within the LibreOffice suite; and it can be used for education and desktop publishing.

History

Logo toolbar and interpreter was programmed by László Németh, and help with integration was provided by András Tímár.[2] It was released as an extension to LibreOffice before code was merged into LibreOffice 4.2.3.3 main code in 2014.[3]

The lightweight implementation (1400 lines in Python-PyUNO) uses the embedded Python to give a simplified programming interface to the vector graphics of LibreOffice for graphic design and education (including teaching of word processing).[2]

Installation

LibreLogo is embedded in every version of LibreOffice later than 4.2.3.3 (released in 2014). It can also be installed as an extension for earlier versions.[4]

It's a toolbar in Writer (ViewToolbarsLogo).[5]

Use

Touching the up-arrow on the Logo toolbar, activates the turtle, then the source code is typed directly onto the same page. The graphic is in SVG format and can be copy & pasted into other documents.

The syntax of LibreLogo is similar to UCBLogo. It supports the ¨word syntax for strings as well as the 'word' notation. Importantly LibreLogo supports recursion. Commands can entered into the toolbar, or compiled and run from the Writer page.

Hello world example

Here is a "Hello, World!" example.

circle 10cm
fillcolor 'blue' pencolor 'red' pensize 2 circle 5cm
forward 200 right 89 circle 5
repeat 88 [ forward 200 right 89 ] fill
repeat 9 [ label 'Hello, World!' right 20 ]
repeat 100 [ penup position any pendown pensize random 10 fillcolor any square 20 + random 100 ]

Gallery

See also

References

Notes
  1. ^
  2. ^ a b
  3. ^
  4. ^
  5. ^
Bibliography
  • Berlin 2012 Libre Office Conference

External links

  • Official website
  • Language description on the official wiki (en) other languages supported
  • ebook- Text book for Secondary School students (hu) Supported by Hungarian government.
  • Tutorial (no) College level notes
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.