Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #24332

Re: ASCII Protocol implementations in FORTH

Date 2013-07-09 12:05 -1000
From "Elizabeth D. Rather" <erather@forth.com>
Organization FORTH, Inc.
Newsgroups comp.lang.forth
Subject Re: ASCII Protocol implementations in FORTH
References <9ed50be0-eda5-4513-b5e2-47eeac561c88@googlegroups.com>
Message-ID <WI2dncDJ98yNFEHMnZ2dnUVZ_osAAAAA@supernews.com> (permalink)

Show all headers | View raw


On 7/9/13 4:19 AM, attoampere@gmail.com wrote:
> hello everybody!
>
> i want to implement the following*) ASCII protocol in FORTH and have no idea on how to accomplish that.
> can anyone point me to FORTH sources, books and articles on how to implement 'simple' ASCII protocols like this one?
>
>
> thank you so much for pointing me to the literature which gets the job done, the simpler the better. i am not interested in protocols in general, which includes the different mathematical apparati for verifying them. please no.. just simple links for simple minded persons like me.
>
> TIA
> kind regards,
> atto
>
> the whole complexitiy of the error detection mechanism is basically this:
>
[details snipped]

Many communications protocols have been implemented in Forth, from GM's 
MAP in the 1980's through TCP/IP nowadays, as well as many custom, 
application-specific protocols. One relatively early implementation is 
described in this article: 
http://www.complang.tuwien.ac.at/forth/jfar3-2-47.pdf. That application 
is still (as of about a year ago) in use. The actual protocol was 
designed and written from scratch in about a month.

If you are using a hosted Forth (i.e., running under an OS such as 
Windows or *nix), you can presumably use some system functions. A purely 
native Forth, such as in an embedded system, may require more custom 
coding. The commercial systems from FORTH, Inc. and MPE provide various 
protocol layers depending on your needs.

If you're asking whether it's possible to implement this in Forth, the 
answer is yes, it's a straightforward programming task. If you're 
looking for an off-the-shelf or published package that meets your 
specification exactly, you will probably find that you have some 
customizing to do, depending on what code base you're starting from.

Cheers,
Elizabeth

-- 
==================================================
Elizabeth D. Rather   (US & Canada)   800-55-FORTH
FORTH Inc.                         +1 310.999.6784
5959 West Century Blvd. Suite 700
Los Angeles, CA 90045
http://www.forth.com

"Forth-based products and Services for real-time
applications since 1973."
==================================================

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

ASCII Protocol implementations in FORTH attoampere@gmail.com - 2013-07-09 07:19 -0700
  Re: ASCII Protocol implementations in FORTH "Paul E. Bennett" <Paul_E.Bennett@topmail.co.uk> - 2013-07-09 21:33 +0100
    CRC was Re: ASCII Protocol implementations in FORTH all2001@spambog.com (Wolfgang Allinger) - 2013-07-09 19:30 -0400
  Re: ASCII Protocol implementations in FORTH "Elizabeth D. Rather" <erather@forth.com> - 2013-07-09 12:05 -1000
  Re: ASCII Protocol implementations in FORTH Paul Rubin <no.email@nospam.invalid> - 2013-07-09 17:59 -0700
    Re: ASCII Protocol implementations in FORTH Paul Rubin <no.email@nospam.invalid> - 2013-07-09 21:03 -0700
      Re: ASCII Protocol implementations in FORTH "Elizabeth D. Rather" <erather@forth.com> - 2013-07-09 17:47 -1000
        Re: ASCII Protocol implementations in FORTH Paul Rubin <no.email@nospam.invalid> - 2013-07-10 00:09 -0700
          Re: ASCII Protocol implementations in FORTH Mark Wills <markrobertwills@yahoo.co.uk> - 2013-07-10 01:57 -0700
            Re: ASCII Protocol implementations in FORTH albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-07-10 12:00 +0000
          Re: ASCII Protocol implementations in FORTH "Elizabeth D. Rather" <erather@forth.com> - 2013-07-10 07:47 -1000
  Re: ASCII Protocol implementations in FORTH attoampere@gmail.com - 2013-07-10 03:22 -0700
    Re: ASCII Protocol implementations in FORTH Paul Rubin <no.email@nospam.invalid> - 2013-07-11 07:26 -0700
    Re: ASCII Protocol implementations in FORTH Elizabeth D Rather <erather@forth.com> - 2013-07-14 18:53 -1000
  Re: ASCII Protocol implementations in FORTH stephenXXX@mpeforth.com (Stephen Pelc) - 2013-07-10 11:58 +0000
    Re: ASCII Protocol implementations in FORTH "Elizabeth D. Rather" <erather@forth.com> - 2013-07-10 07:55 -1000
  Re: ASCII Protocol implementations in FORTH rickman <gnuarm@gmail.com> - 2013-07-14 23:30 -0400

csiph-web