Questions tagged [logo-lang]

Logo is a computer programming language, created mainly for the purposes of education. Please do not use this tag for questions regarding graphical corporate-logos.

Logo was created in 1967 at Bolt, Beranek and Newman (BBN), a Cambridge, Massachusetts research firm, by Wally Feurzeig and Seymour Papert.

Its intellectual roots are in artificial intelligence, mathematical logic and developmental psychology. The first four years of Logo research, development and teaching work was done at BBN.

The first implementation of Logo, called Ghost, was written in LISP on an SDS 950. The goal was to create a math land where kids could play with words and sentences. Modelled on LISP, the design goals of Logo included accessible power and informative error messages.

The use of virtual Turtles allowed for immediate visual feedback and debugging.

This tag was previously named logo, but it was renamed to logo-lang due to confusion with graphical corporate logos. See this meta discussion for more information behind the rationale for the name-change.

References

Sample Program

; draws a square with sides 100 units long
FORWARD 100
LEFT 90
FORWARD 100
LEFT 90
FORWARD 100
LEFT 90
FORWARD 100
LEFT 90
47 questions
209
votes
6 answers

How do I move the turtle in LOGO?

How do I move the turtle in LOGO?
Joel Spolsky
  • 33,372
  • 17
  • 89
  • 105
28
votes
12 answers

Logo programming language implementations

The "joke" question Joel asked during podcast #58 made me all nostalgic for Logo, which was the second language I ever programmed in, after Basic, and which is why I never had any trouble with recursion in college. Are there any implementations of…
Nathan Fellman
  • 122,701
  • 101
  • 260
  • 319
16
votes
6 answers

Besides Logo and Emacs Lisp, what are other pure dynamically scoped languages?

What are some examples of a dynamically scoped language? And what are the reasons for choosing that design? Is it because it is easy to implement?
unj2
  • 52,135
  • 87
  • 247
  • 375
14
votes
2 answers

EBNF or BNF for the LOGO programming language

Does anyone know where I can get the BNF or EBNF for the LOGO programming language?
Vivin Paliath
  • 94,126
  • 40
  • 223
  • 295
12
votes
3 answers

Interested in VM for lisp-like languages on 8-bit system

I'm looking for recommended virtual machines that can run on a 8-bit microprocessor AND support dynamic languages. I'd like a VM solution because I perceive benefits in terms of code density, portability, and ability to have a smaller interpreter,…
12
votes
7 answers

NetLogo vs. Repast Simphony?

I would like to simulate some scenarios using the multiagent paradigm, and it seems NetLogo and Repast are the most popular tools for that. I'd like to know if anyone has had any experience with either one and could tell me more about them? For…
zxcvbnm
  • 1,833
  • 3
  • 27
  • 35
11
votes
18 answers

Did you feel learning to program with turtle graphics was useful?

I'm preparing to teach someone to program. When I learned the course material, I used turtle graphics for the first few exercises. In reading introductory textbooks, I have not found one that uses the technique. Did others find this approach…
minty
  • 22,235
  • 40
  • 89
  • 106
10
votes
4 answers

Learning programming language concepts

As a student teacher I am very interested in how effective "mini languages" such as Scratch, Logo, Alice and Lego mindstorms are in teaching the pupil the core concepts of programming such as variables, functions and loops. Is one "mini language"…
9
votes
4 answers

What is the current status of LOGO? (The programming language)

In another Q I saw someone mention LOGO and it reminded me of some programming language from the past, mostly used for educational purposes. Basically, you would have to program a turtle with a pen through it's back. By telling it where to move, the…
Wim ten Brink
  • 25,901
  • 20
  • 83
  • 149
7
votes
3 answers

Which LOGO implementation?

I want to show my young cousin (12) programming. I think that LOGO is a good start. Which implementation should I use? (windows)
Łukasz Lew
  • 48,526
  • 41
  • 139
  • 208
5
votes
5 answers

Are there any open source/free LOGO implementations that support dynaturtles?

I'm looking for an implementation of the LOGO programming language that supports 'dynaturtles' - animated turtles that can programmatically change shape, speed and direction as well as detect collisions with each other or other objects in the…
feoh
  • 1,281
  • 1
  • 14
  • 19
5
votes
1 answer

Lex/Yacc grammar files for LOGO (or Turtle) programming language

I'm wondering if there already exists files that describe the Lex and Yacc tokens and parsing rules for LOGO. I'll be using PLY for Python to parse the LOGO commands. I have to convert the files to Python so I'm hoping to use the files more as a…
Reactgular
  • 52,335
  • 19
  • 158
  • 208
4
votes
4 answers

What are the drawbacks/weaknesses of using LOGO?

I was wondering if there were any real drawbacks associated with using LOGO? I know it's meant for teaching kids, but it could theoretically be used for higher level projects. Are there any real drawbacks beside the many different versions of it?
ramblingWrecker
  • 400
  • 1
  • 4
  • 12
4
votes
1 answer

Working with lists in LOGO

I'm trying a recursive program in ACSLogo (a mac version of Logo) and want to return a list of 2 integers (basically and X coordinate and a Y coordinate). I cannot figure out how to get it to return 2 values. It does one no problem. Also, when you…
Omar
  • 1,081
  • 1
  • 9
  • 14
4
votes
1 answer

NetLogo: reading data from input files with variable numbers of lines

I've been running game theory simulations in NetLogo and I now have lots data files, containing cross-tabulated data - each column store a value of a different variable, and there are c. 1000 rows containing the data. I'm trying to write a programme…
Freya Harrison
  • 141
  • 1
  • 4
1
2 3 4