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


Groups > comp.arch.embedded > #20523

Re: Embedded Scripting -- Tcl? Lua? Thoughts? Suggestions?

From Paul E Bennett <Paul_E.Bennett@topmail.co.uk>
Newsgroups comp.arch.embedded, comp.lang.forth
Subject Re: Embedded Scripting -- Tcl? Lua? Thoughts? Suggestions?
Followup-To comp.arch.embedded, comp.lang.forth
Date 2015-03-18 12:37 +0000
Organization Hidecs Consultancy
Message-ID <cmt9rvF4692U2@mid.individual.net> (permalink)
References <kdCdnY1enJGty57InZ2dnUU7-VOdnZ2d@giganews.com> <mdvmqd$hae$1@speranza.aioe.org> <kdCdnY9enJGH5p7InZ2dnUU7-VOdnZ2d@giganews.com> <meb67a$c8$1@dont-email.me>

Cross-posted to 2 groups.

Followups directed to: comp.arch.embedded, comp.lang.forth

Show all headers | View raw


rickman wrote:

[%X]

>> The real driver for wanting to do this as a scripting language is to make
>> it easy for the user to customize.  I'm imagining that some users won't
>> want to touch the customization with a 10 foot pole, some will be happy
>> to customize a button or two, some will get their feet wet and then call
>> us, and some will go whole hog with the thing, and do entire systems
>> without us even knowing it's going on.
> 
> I think what you are describing is Forth.  There are two commercial
> vendors, MPE and Forth Inc.  I know the MPE license allows you to embed
> the "interpreter" into your product for the customer to use.  There are
> also open source Forths around, but with varying levels of embeddability
> and support.  One is Mecrisp which is available for a few of the many
> ARM processors around and the TMS430 I believe.  There are many others.
> 
> Forth can be idiot simple to use.  The assumption is it has a serial
> terminal for I/O or something much like it.  I/O can be redirected
> from/to files or anything else by using deferred words.  It can run on
> the bare metal or under an OS.  You can give as much power to your
> customer as you think they can handle or as little as you think is wise.
> 
> I've cross posted this to the forth group to get input from some of the
> regulars there.
> 
> Oh, about the "file system".  If you are happy with no file system at
> all, Forth can treat your storage as "blocks" of 1 KB and no real files
> at all.  You can't get much simpler than that.

Sometimes don't you wish Usenet had a "Like" button?

MPE's VxfForth is probably best for most of the platforms you are likely to 
be dealing with these days. I do recall suggesting Forth earlier in this 
thread. You really can design the script language you want and make it seem 
quite natural to the user.
 
-- 
********************************************************************
Paul E. Bennett IEng MIET.....<email://Paul_E.Bennett@topmail.co.uk>
Forth based HIDECS Consultancy.............<http://www.hidecs.co.uk>
Mob: +44 (0)7811-639972
Tel: +44 (0)1392-426688
Going Forth Safely ..... EBA. www.electric-boat-association.org.uk..
********************************************************************

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


Thread

Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Tim Wescott <seemywebsite@myfooter.really> - 2015-03-13 16:27 -0500
  Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-13 15:03 -0700
    Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Tim Wescott <seemywebsite@myfooter.really> - 2015-03-13 19:04 -0500
      Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? rickman <gnuarm@gmail.com> - 2015-03-18 02:34 -0400
        Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Paul E Bennett <Paul_E.Bennett@topmail.co.uk> - 2015-03-18 12:37 +0000
    Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Tim Wescott <seemywebsite@myfooter.really> - 2015-03-13 19:06 -0500
      Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-13 18:14 -0700
  Re: Embedded Scripting -- Tcl? Lua? Thoughts? Suggestions? Tom Gardner <spamjunk@blueyonder.co.uk> - 2015-03-13 22:30 +0000
  Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? David Brown <david.brown@hesbynett.no> - 2015-03-14 00:48 +0100
    Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Paul Rubin <no.email@nospam.invalid> - 2015-03-13 19:45 -0700
      Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? David Brown <david.brown@hesbynett.no> - 2015-03-15 23:01 +0100
  Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? mroberds@att.net - 2015-03-14 00:28 +0000
    Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-13 18:45 -0700
      Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Clifford Heath <no.spam@please.net> - 2015-03-14 13:14 +1100
        Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-13 20:35 -0700
          Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-14 23:59 -0400
            Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-14 22:30 -0700
              Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-15 21:44 -0400
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-15 20:09 -0700
        Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-14 23:59 -0400
          Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-16 15:42 -0700
            Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-17 04:25 -0400
              Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-17 10:39 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-17 17:06 -0400
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-17 19:36 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-18 01:50 -0400
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-17 23:32 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Robert Wessel <robertwessel2@yahoo.com> - 2015-03-18 05:30 -0500
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-18 10:32 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Robert Wessel <robertwessel2@yahoo.com> - 2015-03-18 16:11 -0500
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-18 18:26 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-19 02:09 -0400
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-19 12:04 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-19 17:52 -0400
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-19 15:44 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-20 02:38 -0400
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? David Brown <david.brown@hesbynett.no> - 2015-03-20 10:05 +0100
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-20 02:51 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? David Brown <david.brown@hesbynett.no> - 2015-03-20 11:49 +0100
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-20 05:12 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? David Brown <david.brown@hesbynett.no> - 2015-03-20 14:55 +0100
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-20 15:07 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-20 14:11 -0400
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-20 15:20 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-22 09:28 -0400
                OT:  EoL Don Y <this@is.not.me.com> - 2015-03-22 12:19 -0700
                Re: OT:  EoL Reinhardt Behm <rbehm@hushmail.com> - 2015-03-23 07:30 +0800
                Re: OT:  EoL Don Y <this@is.not.me.com> - 2015-03-22 17:19 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-20 02:12 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Mel Wilson <mwilson@the-wire.com> - 2015-03-20 13:24 +0000
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-20 10:20 -0700
                Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-22 08:12 -0400
                OT: senses Don Y <this@is.not.me.com> - 2015-03-22 13:53 -0700
        Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Wouter van Ooijen <wouter@voti.nl> - 2015-03-15 10:11 +0100
      Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? mroberds@att.net - 2015-03-14 07:50 +0000
        Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Mel Wilson <mwilson@the-wire.com> - 2015-03-14 12:24 +0000
        Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Don Y <this@is.not.me.com> - 2015-03-14 11:46 -0700
          Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-14 23:58 -0400
  Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Clifford Heath <no.spam@please.net> - 2015-03-14 12:59 +1100
  Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Paul Rubin <no.email@nospam.invalid> - 2015-03-13 20:16 -0700
    Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Tim Wescott <tim@seemywebsite.com> - 2015-03-13 23:20 -0500
      Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Paul Rubin <no.email@nospam.invalid> - 2015-03-13 22:29 -0700
        Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Paul Rubin <no.email@nospam.invalid> - 2015-03-13 22:46 -0700
      Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Stefan Reuther <stefan.news@arcor.de> - 2015-03-14 11:02 +0100
    Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Anders.Montonen@kapsi.spam.stop.fi.invalid - 2015-03-16 11:37 +0000
      Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Paul Rubin <no.email@nospam.invalid> - 2015-03-16 13:53 -0700
  Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Robert Wessel <robertwessel2@yahoo.com> - 2015-03-14 03:16 -0500
  Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-03-14 10:27 +0200
  Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Paul E Bennett <Paul_E.Bennett@topmail.co.uk> - 2015-03-14 08:43 +0000
    Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-03-14 13:55 +0200
      Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Paul E Bennett <Paul_E.Bennett@topmail.co.uk> - 2015-03-14 12:14 +0000
      Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? stephen@mpeforth.com (Stephen Pelc) - 2015-03-14 18:04 +0000
        Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-03-14 23:14 +0200
  Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Allan Herriman <allanherriman@hotmail.com> - 2015-03-14 10:08 +0000
  Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-15 00:55 -0400
    Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Paul Rubin <no.email@nospam.invalid> - 2015-03-14 22:20 -0700
      Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? George Neuner <gneuner2@comcast.net> - 2015-03-15 20:35 -0400
        Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Paul Rubin <no.email@nospam.invalid> - 2015-03-15 18:47 -0700
  Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? stephen@mpeforth.com (Stephen Pelc) - 2015-03-18 10:03 +0000
  Re: Embedded Scripting -- Tcl?  Lua?  Thoughts?  Suggestions? Matthias Koch <matthias.koch@hot.uni-hannover.de> - 2015-03-19 12:02 +0100

csiph-web