MR LOGO Proramming Environment

A place for you to show off what you have made with LiveCode

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Hutchboy
Posts: 111
Joined: Wed Aug 01, 2018 2:57 pm
Contact:

MR LOGO Proramming Environment

Post by Hutchboy » Thu Aug 07, 2025 1:51 am

Hi,

I am working on a LOGO programming environment as a fun project and to try my hand at more complex stacks. The attached files include a partially working LOGO programming environment stack and an HTML Developer Tutorial. Almost all of the code is in the stack script.

In the Direct Command input field you can type LOGO commands directly and then press the Execute button. This works fairly well. Here you can type commands like FORWARD 100 and see the turtle move and draw a line.

Currently I am debugging how the program handles user defined procedures. Toward the end of the stack script are a number of test and debug functions that can be called from the message box should you want to explore.

The test LOGO program I have listed in the Program Editor is fairly tough and currently chokes. When you run it you can watch the progress in the lower right debug output field. I've made no effort yet to optimize for speed, although that is next after everything else is working. Here is a smaller LOGO program that you can run from the Program Editor and see the turtle move and line drawn:

TO TEST
FORWARD 50
END
TEST

This project is open source (MIT license) and I welcome suggestions.

-Mike

P.S. The MR in the name are my first and last initials ("Mister LOGO" also works)
Attachments
MR LOGO Programming Environment.livecode.zip
(41.87 KiB) Downloaded 11 times
MR LOGO Introduction.html.zip
(6.63 KiB) Downloaded 9 times

Post Reply