# Logo - What interpreter?

## Recommended Posts

dudedbz1    100
Hi all! I'm in middle school and I'm doing a Pong clone. Now a friend can help out by drawing graphics in logo, as he learned that. We are not going to buy anything, so can you point me out to some logo interpreters? Good ones? Free ones? Thanks. P.S. I tried logo, but I never liked it, and never will. Rock on C++!

##### Share on other sites
Axiverse    366
Is it possible for him to export it to a more accessable format such as bmp, jpg, or something else? Cause Logo is kind of an obscure format (in fact I've never heard of it). If you can change the format it will be easier to find 'interpriters'.

##### Share on other sites
Roboguy    794
Quote:
 Original post by AxiverseIs it possible for him to export it to a more accessable format such as bmp, jpg, or something else? Cause Logo is kind of an obscure format (in fact I've never heard of it). If you can change the format it will be easier to find 'interpriters'.

Uh, Logo is a Lisp-like programming language, not an image format...

EDIT: In response to the OP's question:
Here is Wikipedia's page on Logo implementations. Also, try not to be so closed-minded about non-C++ languages, they may grow on you.

##### Share on other sites
Axiverse    366
Oh, sorry for that misunderstanding... I thought it was something like photoshop... ;)

##### Share on other sites
dudedbz1    100
Quote:
Original post by Roboguy
Quote:
 Original post by AxiverseIs it possible for him to export it to a more accessable format such as bmp, jpg, or something else? Cause Logo is kind of an obscure format (in fact I've never heard of it). If you can change the format it will be easier to find 'interpriters'.

Uh, Logo is a Lisp-like programming language, not an image format...

Agreed. Logo is a kind of language for graphics. You can always export what you 'draw' with it to .jpg, .bmp, so on. And by interpreters, I mean something that will translate the statments, since as far as I know logo does not go through the compilation process. So, anyone have any good ideas?

P.S. Logo:
fd 100lt 90fd 100lt 90fd 100lt 90fd 100;All this draws a square;I believe this is the way for comments, no?

//Edit: I am not close-minded to C - based languages, its just that I dont like logo, it seems... how can I describe it... 'not as powerful'. C++ has many things in it; classes, pointers, so on...

//Edit2: I saw your edit, thanks.

##### Share on other sites
When you're loading it in will you be using it as the application icon or as an image within the application? If it's the latter then why not use something like GTK and C++?

##### Share on other sites
Roboguy    794
Quote:
 Original post by dudedbz1//Edit: I am not close-minded to C - based languages, its just that I dont like logo, it seems... how can I describe it... 'not as powerful'. C++ has many things in it; classes, pointers, so on...

I believe you can simulate classes and possibly pointers (pointers are not usually needed for things in higher-level languages such as Logo, anyway).

##### Share on other sites
dudedbz1    100
Quote:
Original post by Roboguy
Quote:
 Original post by dudedbz1//Edit: I am not close-minded to C - based languages, its just that I dont like logo, it seems... how can I describe it... 'not as powerful'. C++ has many things in it; classes, pointers, so on...

I believe you can simulate classes and possibly pointers (pointers are not usually needed for things in higher-level languages such as Logo, anyway).

How would you rewrite this:
std::vector<Image*> AllGraphics;AllGraphics.reserve(NUM_IMAGES);for (int i = 0; i < NUM_IMAGES; i++)    AllGraphics.push_back(new Image);AllGraphics[P1_PADDLE]->Handle(P1_PADDLE, AllGraphics);...// At the endfor (int i = 0; i < AllGraphics.size(); i++)    delete AllGraphics[i];

Logo is not that powerful, it doesnt interact directly with the system.

##### Share on other sites
Roboguy    794
Quote:
Original post by dudedbz1
Quote:
Original post by Roboguy
Quote:
 Original post by dudedbz1//Edit: I am not close-minded to C - based languages, its just that I dont like logo, it seems... how can I describe it... 'not as powerful'. C++ has many things in it; classes, pointers, so on...

I believe you can simulate classes and possibly pointers (pointers are not usually needed for things in higher-level languages such as Logo, anyway).

How would you rewrite this:
std::vector<Image*> AllGraphics;AllGraphics.reserve(NUM_IMAGES);for (int i = 0; i < NUM_IMAGES; i++)    AllGraphics.push_back(new Image);AllGraphics[P1_PADDLE]->Handle(P1_PADDLE, AllGraphics);...// At the endfor (int i = 0; i < AllGraphics.size(); i++)    delete AllGraphics[i];

I don't know the Logo syntax, but you could do it by creating a list of graphics, adding functions to it (Logo is a functional language) which does what ever the Handle function does, then calling them.
Quote:
 Logo is not that powerful, it doesnt interact directly with the system.

Powerful usually means high-level (more abstraction between the language and the hardware, and more possible user defined abstractions), not low-level.

##### Share on other sites
dudedbz1    100
Quote:
Original post by Roboguy
Quote:
Original post by dudedbz1
Quote:
Original post by Roboguy
Quote:
 Original post by dudedbz1//Edit: I am not close-minded to C - based languages, its just that I dont like logo, it seems... how can I describe it... 'not as powerful'. C++ has many things in it; classes, pointers, so on...

I believe you can simulate classes and possibly pointers (pointers are not usually needed for things in higher-level languages such as Logo, anyway).

How would you rewrite this:
std::vector<Image*> AllGraphics;AllGraphics.reserve(NUM_IMAGES);for (int i = 0; i < NUM_IMAGES; i++)    AllGraphics.push_back(new Image);AllGraphics[P1_PADDLE]->Handle(P1_PADDLE, AllGraphics);...// At the endfor (int i = 0; i < AllGraphics.size(); i++)    delete AllGraphics[i];

I don't know the Logo syntax, but you could do it by creating a list of graphics, adding functions to it (Logo is a functional language) which does what ever the Handle function does, then calling them.
Quote:
 Logo is not that powerful, it doesnt interact directly with the system.

Powerful usually means high-level (more abstraction between the language and the hardware, and more possible user defined abstractions), not low-level.

Whatever, this wasnt the question anyways. Just take it this way, I am not doing stuff in logo, I am doing stuff in C++; I am just in search of good logo interpreters.

##### Share on other sites
Roboguy    794
Quote:
Original post by dudedbz1
Quote:
Original post by Roboguy
Quote:
Original post by dudedbz1
Quote:
Original post by Roboguy
Quote:
 Original post by dudedbz1//Edit: I am not close-minded to C - based languages, its just that I dont like logo, it seems... how can I describe it... 'not as powerful'. C++ has many things in it; classes, pointers, so on...

I believe you can simulate classes and possibly pointers (pointers are not usually needed for things in higher-level languages such as Logo, anyway).

How would you rewrite this:
std::vector<Image*> AllGraphics;AllGraphics.reserve(NUM_IMAGES);for (int i = 0; i < NUM_IMAGES; i++)    AllGraphics.push_back(new Image);AllGraphics[P1_PADDLE]->Handle(P1_PADDLE, AllGraphics);...// At the endfor (int i = 0; i < AllGraphics.size(); i++)    delete AllGraphics[i];

I don't know the Logo syntax, but you could do it by creating a list of graphics, adding functions to it (Logo is a functional language) which does what ever the Handle function does, then calling them.
Quote:
 Logo is not that powerful, it doesnt interact directly with the system.

Powerful usually means high-level (more abstraction between the language and the hardware, and more possible user defined abstractions), not low-level.

Whatever, this wasnt the question anyways. Just take it this way, I am not doing stuff in logo, I am doing stuff in C++; I am just in search of good logo interpreters.

Actually, you did ask that question. Anyway, just try not to judge a language by it's cover and give it a chance.

Also, this appears to be a free Logo interpreter for Windows.

Good luck! [smile]