logo-lang

How do I move the turtle in LOGO? [closed]

落爺英雄遲暮 提交于 2019-12-27 10:30:13
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. How do I move the turtle in LOGO?

How do I move the turtle in LOGO? [closed]

泪湿孤枕 提交于 2019-12-27 10:29:03
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. How do I move the turtle in LOGO?

EBNF or BNF for the LOGO programming language

只愿长相守 提交于 2019-12-20 12:23:47
问题 Does anyone know where I can get the BNF or EBNF for the LOGO programming language? 回答1: A BNF grammar might not be too useful in certain circumstances... Writing a LOGO that's accurately compatible with existing/historical implementation isn't an easy task (I worked on such a project). The problem is that the parser doesn't do the full job, and the evaluator (interpreter) has to work with partial data. Consider this example: proc1 a b proc2 c It could mean proc1(a, b, proc2(c)) or proc1(a, b

EBNF or BNF for the LOGO programming language

…衆ロ難τιáo~ 提交于 2019-12-20 12:22:06
问题 Does anyone know where I can get the BNF or EBNF for the LOGO programming language? 回答1: A BNF grammar might not be too useful in certain circumstances... Writing a LOGO that's accurately compatible with existing/historical implementation isn't an easy task (I worked on such a project). The problem is that the parser doesn't do the full job, and the evaluator (interpreter) has to work with partial data. Consider this example: proc1 a b proc2 c It could mean proc1(a, b, proc2(c)) or proc1(a, b

Logo to PostScript mini-Compiler

旧巷老猫 提交于 2019-12-11 03:03:56
问题 I am currently writing a Logo to Postscript compiler. My PS output code doesn't seem to be valid. Any ideas what could be the problem? Or what the actual PostScript version for the LOGO should look like? The LOGO input code PROC LDRAGON ( LEVEL ) IF LEVEL == 0 THEN FORWARD 5 ELSE LDRAGON ( LEVEL - 1 ) LEFT 90 RDRAGON ( LEVEL - 1 ) ENDIF PROC RDRAGON ( LEVEL ) IF LEVEL == 0 THEN FORWARD 5 ELSE LDRAGON ( LEVEL - 1 ) RIGHT 90 RDRAGON ( LEVEL - 1 ) ENDIF PROC MAIN (VOID) LDRAGON ( 11 ) The code

EBNF or BNF for the LOGO programming language

梦想与她 提交于 2019-12-03 02:23:54
Does anyone know where I can get the BNF or EBNF for the LOGO programming language? A BNF grammar might not be too useful in certain circumstances... Writing a LOGO that's accurately compatible with existing/historical implementation isn't an easy task (I worked on such a project). The problem is that the parser doesn't do the full job, and the evaluator (interpreter) has to work with partial data. Consider this example: proc1 a b proc2 c It could mean proc1(a, b, proc2(c)) or proc1(a, b, proc2(), c) according to the number of parameters for proc1 & proc2. Furthermore the LOGO interpreters I

Logo programming language implementations [closed]

情到浓时终转凉″ 提交于 2019-11-29 20:19:34
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 Logo for Windows or Linux (the platforms I can use) or Mac (because I know I'm not alone in this world)? How can I get the Logo programming language for my computer? I'm teaching my kids LOGO successfully on Windows using Elica LOGO . (Kids ages are presently 12 and 10.) The package's strengths include many "advanced" extensions, beyond the basic 2

Logo programming language implementations [closed]

陌路散爱 提交于 2019-11-28 16:29:42
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . 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 Logo for Windows or Linux (the platforms I can use) or Mac

How do I move the turtle in LOGO? [closed]

丶灬走出姿态 提交于 2019-11-26 11:01:55
How do I move the turtle in LOGO ? RSolberg // MOVE FORWARD FD 75 // TURN RIGHT RT 54 // TURN LEFT LT 21 // MOVE BACKWARD BK 17 Check out some other turtle commands found here ... Turtle Commands BACK ## [BK] - Move turtle back BACKGROUND ## [BG] - Set Background color (0-15) 0 - Black 1 - White 2 - Red 3 - Cyan 4 - Purple 5 - Green 6 - Blue 7 - Yellow 8 - Orange 9 - Brown 10 - Light Red 11 - Grey 1 12 - Grey 2 13 - Light Green 14 - Light Blue 15 - Grey 3 CLEARSCREEN [CS] - Clear Screen without moving turtle DRAW - Clear Screen and take turtle home EACH - Tell several sprites, whose numbers