Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Logo (programming language)

From Wikipedia, the free encyclopedia
Computer programming language
Logo
L-system (Koch curve) turtle graphic
ParadigmsMulti-paradigm:functional,educational,procedural,reflective
FamilyLisp
Designed byWally Feurzeig,Seymour Papert,Cynthia Solomon
DeveloperBolt, Beranek and Newman
First appeared1967; 59 years ago (1967)
Typing disciplinedynamic
Majorimplementations
UCBLogo, many others
Dialects
StarLogo,NetLogo andAppleLogo
Influenced by
Lisp
Influenced
AgentSheets,NetLogo,Smalltalk,Etoys,Scratch,Microsoft Small Basic, KTurtle,REBOL,Boxer
Symmetry around a point can be obtained using only a few instructions, allowing users to drawhypotrochoids like the one shown here.

Logo is aneducational programming language, designed in 1967 byWally Feurzeig,Seymour Papert, andCynthia Solomon.[1] The name was coined by Feurzeig while he was atBolt, Beranek and Newman,[2] and derives from the Greeklogos, meaning 'word' or 'thought'.

A general-purpose language, Logo is widely known for its use ofturtle graphics, in which commands for movement and drawing produced line orvector graphics, either on screen or with a small robot termed aturtle. The language was conceived to teach concepts of programming related toLisp and only later to enable what Papert called "body-syntonic reasoning", where students could understand, predict, and reason about the turtle's motion by imagining what they would do if they were the turtle. There are substantial differences among the many dialects of Logo, and the situation is confused by the regular appearance of turtle graphics programs that are named Logo.

Logo is amulti-paradigm adaptation and dialect of Lisp, afunctional programming language.[3] There is no standard Logo, butUCBLogo has the facilities for handling lists, files, I/O, andrecursion in scripts, and can be used to teach all computer science concepts, asUC Berkeley lecturerBrian Harvey did in hisComputer Science Logo Style trilogy.[4]

Logo is usually aninterpreted language, although compiled Logo dialects (such as Lhogho and Liogo) have been developed. Logo is not case-sensitive but retains the case used for formatting purposes.

History

[edit]

Logo was created in 1967 atBolt, Beranek and Newman (BBN), aCambridge, Massachusetts, research firm, byWally Feurzeig,Cynthia Solomon, andSeymour Papert.[5] Its intellectual roots are inartificial intelligence,mathematical logic anddevelopmental psychology. For the first four years of Logo research, development and teaching work was done at BBN. The first implementation of Logo, called Ghost, was written inLISP on aPDP-1. The goal was to create a mathematical land where children could play with words and sentences.[6] Modeled on LISP, the design goals of Logo included accessible power[clarification needed] and informative error messages. The use of virtualturtles allowed for immediate visual feedback and debugging of graphic programming.

The first working Logo turtle robot was created in 1969. A display turtle preceded the physical floor turtle. Modern Logo has not changed very much from the basic concepts predating the first turtle. The first turtle was a tethered floor roamer, notradio-controlled orwireless. At BBN Paul Wexelblat developed a turtle named Irving that had touch sensors and could move forwards, backwards, rotate, and ding its bell. The earliest year-long school users of Logo were in 1968–69 at Muzzey Jr. High inLexington, Massachusetts. The virtual and physical turtles were first used by fifth-graders at the Bridge School in the same city in 1970–71.

Turtle and graphics

[edit]
See also:Turtle graphics
Animated gif with turtle inMSWLogo (Cardioid)[7]

Logo's most-known feature is the turtle (derived originally froma robot of the same name),[5] an on-screen "cursor" that shows output from commands for movement and small retractable pen, together producing line graphics. It has traditionally been displayed either as a triangle or a turtle icon (though it can be represented by any icon). Turtle graphics were added to the Logo language by Seymour Papert in the late 1960s to support Papert's version of the turtle robot, a simple robot controlled from the user's workstation that is designed to carry out the drawing functions assigned to it using a small retractable pen set into or attached to the robot's body.

As a practical matter, the use of turtle geometry instead of a more traditional model mimics the actual movement logic of the turtle robot. The turtle moves with commands that are relative to its own position,LEFT 90 means spin left by 90 degrees. Some Logo implementations, particularly those that allow the use of concurrency and multiple turtles, supportcollision detection and allow the user to redefine the appearance of the turtle cursor, essentially allowing the Logo turtles to function assprites.

Turtle geometry is also sometimes used in environments other than Logo as an alternative to a strictly coordinate-addressed graphics system. For instance, the idea of turtle graphics is also useful inLindenmayer system for generatingfractals.

Implementations

[edit]

"Apple Logo" redirects here. For the logo of Apple Inc., seeApple logo.
IBM LCSI logo welcome screen
Source code and output in IBM LCSI Logo

Some modern derivatives of Logo allow thousands of independently moving turtles. There are two popular implementations:Massachusetts Institute of Technology'sStarLogo andNorthwestern University Center for Connected Learning's (CCL)NetLogo. They allow exploringemergent phenomena and come with many experiments in social studies, biology, physics, and other areas. NetLogo is widely used in agent-based simulation in the biological and social sciences.

Although there is no agreed-upon standard, there is a broad consensus on core aspects of the language. In March 2020, there were counted 308 implementations and dialects of Logo, each with its own strengths.[8] Most of those 308 are no longer in wide use, but many are still under development. Commercial implementations widely used in schools includeMicroWorlds Logo andImagine Logo.

Legacy and current implementations include:

First released in 1980s
  • Apple Logo for theApple II Plus and Apple Logo Writer for theApple IIe, developed by Logo Computer Systems, Inc. (LCSI), were the most broadly used and prevalent early implementations of Logo that peaked in the early to mid-1980s.
  • Aquarius LOGO was released in 1982 on cartridge byMattel for theAquarius home computer.
  • Atari Logo, developed by LCSI, was released on cartridge byAtari, Inc. in 1983 for theAtari 8-bit computers.
  • Color Logo was released in 1983 on cartridge (26–2722) and disk (26–2721) byTandy for theTRS-80 Color Computer.
  • Commodore Logo was released, with the subtitle "A Language for Learning", byCommodore International. It was based on MIT Logo and enhanced by Terrapin, Inc. TheCommodore 64 version (C64105) was released on diskette in 1983; thePlus/4 version (T263001) was released on cartridge in 1984.[9][10]
  • SmartLOGO was released on cassette byColeco for theADAM home computer in 1984. It was developed by LCSI and included a primer,Turtle Talk, by Seymour Papert.
  • ExperLogo was released in 1985 on diskette by Expertelligence Inc. for theMacintosh 128K.
  • Hot-Logo was released in the mid-1980s by EPCOM for theMSX 8-bit computers with its own set of commands in Brazilian Portuguese.
  • TI Logo (for theTI-99/4A computer) was used in primary schools, emphasizing Logo's usefulness in teaching computing fundamentals to novice programmers.
  • Sprite Logo, also developed by Logo Computer Systems Inc., had ten turtles that could run as independent processes. It ran on Apple II computers, with the aid of a Sprite Card inserted in one of the computer's slots.
  • IBM marketed their own version of Logo (P/N 6024076), developed jointly by Logo Computer Systems, Inc. (LCSI), for their then-new IBM PC.
  • ObjectLOGO is a variant of Logo withobject-oriented programming extensions and lexical scoping. Version 2.7 was sold by Digitool, Inc.[11] It is no longer being developed or supported, and does not run on versions of the Mac operating system later than 7.5.[12]
  • Dr. Logo was developed byDigital Research and distributed with computers including theIBM PCjr,[13] Atari ST and theAmstrad CPC.[14][15][16]
  • Acornsoft Logo was released in 1985. It is a commercial implementation of Logo for the 8-bitBBC Micro andAcorn Electron computers.[17] It was developed forAcorn Computers as a full implementation of Logo. It features multiple screenturtles and four-channel sound. It was provided on two 16kBROMs, with utilities anddrivers as accompanying software.[18]
  • Lego Logo is a version of Logo that can manipulate roboticLego bricks attached to a computer.[19] It was implemented on theApple II and used in American and other grade schools in the late 1980s and early 1990s.[20] Lego Logo is a precursor toScratch.[21]
First released in 1990s
  • In February 1990,Electron User published Timothy Grantham's simple implementation of Logo for theAcorn Electron under the article "Talking Turtle".[22]
  • Comenius Logo is an implementation of Logo developed byComenius University Faculty of Mathematics and Physics. It started development in December 1991, and is also known in other countries as SuperLogo, MultiLogo and MegaLogo.[23]
  • UCBLogo, also known as Berkeley Logo, is a free, cross-platform implementation of standard Logo last released in 2009. George Mills at MIT used UCBLogo as the basis forMSWLogo which is more refined and also free. Jim Muller wrote a book,The Great Logo Adventure, which was a complete Logo manual and which used MSWLogo as the demonstration language.[24] MSWLogo has evolved intoFMSLogo.
First released from 2000 onwards
  • aUCBLogo is a rewrite and enhancement ofUCBLogo.
  • Imagine Logo is a successor of Comenius Logo, implemented in 2000.[25] The English version was released by Logotron Ltd. in 2001.[26]
  • LibreLogo is an extension to some versions of LibreOffice. Released in 2012, it is written inPython. It allows vector graphics to be written in Writer.
  • Logo3D is a tridimensional version of Logo.
  • POOL is a dialect of Logo with object-oriented extensions, implemented in 2014. POOL programs are compiled and run in the graphical IDE onMicrosoft Windows. A simplified, cross-platform environment is available for systems supporting.NET Framework.
  • QLogo is an open-source and cross-platform rewrite ofUCBLogo with nearly full UCB compatibility that uses hardware-accelerated graphics.
  • Lynx is an online version of Logo developed by Logo Computer Systems Inc. It can run a large number of turtles, supports animation, parallel processes, colour and collision detection.
  • LogoMor is an open-source online 3D Logo interpreter based on JavaScript and p5.js. It supports 3D drawings, animations, multimedia, 3D models and various tools. It also includes a fully-featured code editor based onCodeMirror
  • LbyM is an open-source online Logo interpreter based on JavaScript, created and actively developed (as of 2021) forSonoma State University'sLearning by Making program.[27] It features traditional Logo programming, connectivity with a customized microcontroller and integration with a modern code editor.

Influence

[edit]

Logo was a primary influence on theSmalltalk programming language. It is also the main influence on theEtoys educational programming environment and language, which is essentially a Logo variant written inSqueak (itself a variant of Smalltalk). Logo influenced the procedure/method model inAgentSheets andAgentCubes to program agents similar to the notion of a turtle in Logo. Logo provided the underlying language for Boxer. Boxer was developed atUniversity of California, Berkeley and MIT and is based on aliteracy model, making it easier to use for nontechnical people.[28]

KTurtle is a variation of Logo implemented atQt for theKDE environment loosely based on Logo.[29]

Two more results of Logo's influence areKojo, a variant of Scala, andScratch, a visual, drag-and-drop language which runs in a web browser.

References

[edit]
  1. ^Abelson, Hal; Goodman, Nat; Rudolph, Lee (December 1974)."Logo Manual".Artificial Intelligence Lab, Massachusetts Institute of Technology.hdl:1721.1/6226.Archived from the original on September 11, 2016. RetrievedAugust 28, 2016.
  2. ^Goldenberg, E. Paul (August 1982)."Logo – A Cultural Glossary".Byte. p. 218. Retrieved19 October 2013.
  3. ^CSLS Vol 1, Preface .pxvi, Harvey 1997
  4. ^Computer Science Logo Style, Brian Harvey, MIT Press (3 volumes)ISBN 0-262-58148-5,ISBN 0-262-58149-3,ISBN 0-262-58150-7. AvailableonlineArchived 2013-07-04 at theWayback Machine
  5. ^ab"Logo Foundation".el.media.mit.edu. Archived fromthe original on 2011-07-21. Retrieved2011-04-07.
  6. ^"logothings".logothings.wikispaces.com.Archived from the original on 2011-12-07.
  7. ^Pietrocola, Giorgio (2005)."Tartapelago".Maecla.
  8. ^"The Logo Tree Project"(PDF).elica.net. Archived fromthe original(PDF) on 2009-03-06. Retrieved2020-03-25.
  9. ^Brain, Jim; Zimmerman, Bo (2017-10-30)."Canonical List of Commodore Products".Archived from the original on 2017-12-20. Retrieved2017-12-03.
  10. ^"Logo – Software Details".Plus/4 World.Archived from the original on 2017-12-04. Retrieved2017-12-03.
  11. ^Object LogoArchived 2008-04-30 at theWayback Machine page on the Digitool website (accessed 4 March 2008)
  12. ^Object Logo ordering page on the Digitool website (accessed 4 March 2008)
  13. ^"DRI ships 128K version of Dr. Logo"(PDF).Micro Notes - Technical information on Digital Research products. Vol. 2, no. 2. Pacific Grove, CA, USA:Digital Research, Inc. May 1984. p. 4. NWS-106-002.Archived(PDF) from the original on 2020-02-11. Retrieved2020-02-11.[…]Dr. Logo first appeared on the retail market in fall of 1983 for theIBM PC and climbed to the top of theSoftsel Hot List. The retail release includedSpeedStart CP/M, an abridged version ofCP/M that boots automatically when the system is turned on. […][1]
  14. ^"Catalog Search | Computer History Museum".www.computerhistory.org.
  15. ^"Amstrad CPC 6128 - Computer - Computing History".www.computinghistory.org.uk.
  16. ^"es:manual_del_amstrad_pcw_8256_8512_ingles [PcwWiki]".www.habisoft.com.
  17. ^Field, Graham (1985).LOGO on the BBC computer and Acorn Electron.Macmillan.ISBN 0-333-39566-2.
  18. ^Radburn, Derek."Four Logos for the BBC Micro".The Micro User Education Special.The Micro User. RetrievedFebruary 20, 2012.
  19. ^Resnick, Mitchel (July 1993)."Behavior Construction Kits".Communications of the ACM.36 (7):64–71.doi:10.1145/159544.159593.S2CID 9263998. Retrieved5 January 2022.
  20. ^"The Laboratory Schools LEGO-LOGO Project".University of Chicago Laboratory Schools. Archived fromthe original on 20 July 2011.
  21. ^Bull, G.; Garofalo, J.; Hguyen, N. (2020), "Thinking about computational thinking: Origins of computational thinking in educational computing",Journal of Digital Learning in Teacher Education,36 (1):6–18,doi:10.1080/21532974.2019.1694381,S2CID 214563715
  22. ^"Talking Turtle". February 1990. pp. 20–21. Archived fromthe original on 28 March 2017.
  23. ^"History of Comenius Logo". 2002-12-09. Archived fromthe original on 2002-12-09. Retrieved2022-10-12.
  24. ^Muller, Jim (November 2001)."MSWLogo, An Educational programming language". Retrieved5 January 2022.
  25. ^Andrej, Kalas; Blaho, Ivan (2000).Imagine... a new generation of Logo : programmable pictures.OCLC 854959806.
  26. ^"Imagine | Press Release". 2001-04-17. Archived fromthe original on 2001-04-17. Retrieved2022-10-12.
  27. ^"Learning by Making ¦ Make@SSU". 14 August 2017. Retrieved8 January 2022.
  28. ^"Boxer - EduTech Wiki".edutechwiki.unige.ch. Retrieved2024-04-10.
  29. ^"The KDE Education Project – KTurtle".edu.kde.org.Archived from the original on 2006-08-27.

Further reading

[edit]

External links

[edit]
Classic
Extensions
Withobject extensions
Other variants, extensions
People
Features
Object systems
Implementations
Standardized
Common
Lisp
Scheme
ISLISP
Unstandardized
Logo
POP
Operating system
Hardware
Community
of practice
Technical standards
Education
Books
Curriculum
Organizations
Business
Education
People
Common
Lisp
Scheme
Logo
POP
International
National
Other
Retrieved from "https://en.wikipedia.org/w/index.php?title=Logo_(programming_language)&oldid=1332094360"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp