To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 8479
8478  |  8480
Subject: 
Re: lack of interest in basic stamp and basicx
Newsgroups: 
lugnet.robotics
Date: 
Tue, 23 Nov 1999 21:36:16 GMT
Viewed: 
700 times
  
In lugnet.robotics, Vlad Dumitrescu writes:
In lugnet.robotics, lego-robotics@crynwr.com (Jonathan Perret) writes:

Let me give you my reasons: right now, legOS is difficult to set up and get
running (at least 0.2.2 from W98), while I experience Forth a little "strange"
yet (= a totaly different metaphor, it takes time to adjust to it).

I can't speak about LegOS, but I thought this about FORTH too, and it aint so.
Once you get over the syntax it’s a straightforward procedural language.
Jonathan Knudsen’s book has a good chapter on it that I found very helpful in
getting started. (In fact I put off using pbFORTH until I read the chapter and
realized how easy it was - even if my FORTH Minerva does disintegrate
instantly every time I switch it on...)

Since there are no explicit parameters or return values you have to manipulate
the stack yourself, and the books I looked at tended to go on at great length
about stack primitives, but you don't need to be an expert in this at all.
Knudsen's book shows how well you can bury the ugly bits, leaving a nice,
domain-specific language to work with.

The paradigm is pretty standard - variables, loops and conditionals. The
reverse polish syntax, and the need to directly manipulate the stack, look a
bit odd, but give it a shot. The only work involved in setting it up is
copying the new firmware to the RCX, then starting a terminal session to talk
to it. The language is capable of some great tricks, but you can get a lot
done knowing only the basics.


-g



Message has 1 Reply:
  Re: lack of interest in basic stamp and basicx
 
(...) Yes, I agree with you, mostly. I have been programming in Forth before, and it slowly comes back. What I meant to say is that the stack oriented architecture is different than C, for example, and (for me, at least) a mental switch is needed in (...) (25 years ago, 24-Nov-99, to lugnet.robotics)

Message is in Reply To:
  Re: lack of interest in basic stamp and basicx
 
(...) Let me give you my reasons: right now, legOS is difficult to set up and get running (at least 0.2.2 from W98), while I experience Forth a little "strange" yet (= a totaly different metaphor, it takes time to adjust to it). Adding to that, it (...) (25 years ago, 23-Nov-99, to lugnet.robotics)

9 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
5 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR