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


Groups > comp.arch.embedded > #21492

Re: Which scripting for embedded automation?

From rickman <gnuarm@gmail.com>
Newsgroups comp.arch.embedded, comp.lang.forth
Subject Re: Which scripting for embedded automation?
Date 2015-07-24 12:19 -0400
Organization A noiseless patient Spider
Message-ID <motoev$eeu$1@dont-email.me> (permalink)
References <0e930740-22d8-4e2b-833f-bb5843437d0d@googlegroups.com> <87y4i6rvyc.fsf@jester.gateway.sonic.net>

Cross-posted to 2 groups.

Show all headers | View raw


On 7/24/2015 1:00 AM, Paul Rubin wrote:
> abhishekkumardwivedi@gmail.com writes:
>> like data transfer,etc. And there is need of some logic to parse
>> received content. Perl, python, lua or simple shell scripting .. which
>> one? There will be branch and loop operations, better to have more
>> ready tools for network operations... Parser and LAN are the key here.
>
> I'd suggest Python of the ones you mention, assuming you have enough ram
> (a Raspberry pi would be more than plenty).  I use it all the time
> myself.  Or if you want something really different and interesting, look
> at Erlang.
>
> Perl is old-school by now, and shell scripts too inflexible.  Lua is
> very elegantly implemented and compact but it lacks Python's creature
> comforts.  Forth is likely to be too low level for this sort of
> programming.  It's virtue is being able to run in very small memory
> space, like under 10K of code space and a few hundred ram bytes in an
> MCU.  But it makes programming very low level and painstaking, almost
> like assembler.

I find your analysis of Forth to be very naive.  Much the same as other 
languages like C, Forth provides a basic capability with more advanced 
capabilities provided through libraries.  Suggesting that Forth is only 
useful where the entire development system needs to reside in 10 KB of 
code is a red herring.  This capability comes with limitations and so is 
only used where it is a significant advantage.  Otherwise Forth can be 
used to advantage in the same environments where you would use C, Python 
or any others.  It typically comes with exactly the sort of capabilities 
needed for this project.  A parser is built in with full capability of 
being used in the application and most Forths running under an OS 
support networking.

Referring to Forth as being "like assembler" just shows how little you 
understand the language and appreciate its features.

-- 

Rick

Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Which scripting for embedded automation? abhishekkumardwivedi@gmail.com - 2015-07-23 02:24 -0700
  Re: Which scripting for embedded automation? Les Cargill <lcargill99@comcast.com> - 2015-07-23 12:18 -0500
  Re: Which scripting for embedded automation? Don Y <this@is.not.me.com> - 2015-07-23 10:42 -0700
  Re: Which scripting for embedded automation? rickman <gnuarm@gmail.com> - 2015-07-23 15:08 -0400
    Re: Which scripting for embedded automation? rickman <gnuarm@gmail.com> - 2015-07-24 18:44 -0400
  Re: Which scripting for embedded automation? Paul Rubin <no.email@nospam.invalid> - 2015-07-23 22:00 -0700
    Re: Which scripting for embedded automation? rickman <gnuarm@gmail.com> - 2015-07-24 12:19 -0400
      Re: Which scripting for embedded automation? Paul Rubin <no.email@nospam.invalid> - 2015-07-24 10:15 -0700
        Re: Which scripting for embedded automation? "WJ" <w_a_x_man@yahoo.com> - 2015-07-24 23:06 +0000
          Re: Which scripting for embedded automation? Don Y <this@is.not.me.com> - 2015-07-24 17:00 -0700
            Re: Which scripting for embedded automation? rickman <gnuarm@gmail.com> - 2015-07-24 20:52 -0400
          Re: Which scripting for embedded automation? "WJ" <w_a_x_man@yahoo.com> - 2015-11-28 18:06 +0000
        Re: Which scripting for embedded automation? rickman <gnuarm@gmail.com> - 2015-11-29 02:45 -0500
          Re: Which scripting for embedded automation? Paul Rubin <no.email@nospam.invalid> - 2015-11-29 23:02 -0800
            Re: Which scripting for embedded automation? rickman <gnuarm@gmail.com> - 2015-11-30 02:55 -0500

csiph-web