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 / 8520
8519  |  8521
Subject: 
RE: lack of interest in basic stamp and basicx
Newsgroups: 
lugnet.robotics
Date: 
Wed, 24 Nov 1999 13:40:15 GMT
Viewed: 
758 times
  
In lugnet.robotics, Graham Stalker-Wilde writes:
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.

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 order to 'think Forth'. Maybe it will be easier in time...

It's funny, but a lot of what you need to do to write good Forth is
done for you under the hood by C compilers. The wierd thing is
that a C compiler intermingles data and return values on one stack
while Forth separates them.

As for the ease of use, it doesn't seem much faster to work with, considering
the time needed to download the firmware and a larger application file... It is
faster for very incremental development, but I feel safer when I have a file
where everything is neatly saved...

Now that Sergey has a SAVE-IMAGE which sends an SREC file of the image and
Dave Baum is working on a 4x firmware uploader, the edvelopment time is
MUCH faster.

I'll be getting Sergey's additions worked into the code base soon, with the
usual whine about real work, and external factors, yada yada yada...

Cheers,

Ralph Hempel - P.Eng

--------------------------------------------------------
Check out pbFORTH for LEGO Mindstorms at:
<http://www.hempeldesigngroup.com/lego/pbFORTH>
--------------------------------------------------------
Reply to:      rhempel at bmts dot com
--------------------------------------------------------



Message has 1 Reply:
  Re: lack of interest in basic stamp and basicx
 
(...) I agree that Forth is better than many other languages in many ways. What I was saying was that it has a different look-and-feel and one needs to get used to it first. Plus that it is not very easy to switch from for example C to Forth and (...) (25 years ago, 24-Nov-99, to lugnet.robotics)

Message is in Reply To:
  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)

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