Does anyone have experience fitting Tcl into a really small machine who
would be willing to share some of what you learned? I want to put Tcl on
an embedded system I'm working on. It has 32K of RAM, 2M of flash (for
code), and no disk. It's a 16-bit CPU from the Motorola 68HC12 family.
My goal is to write firmware tests with TclTest. The tests will live
and run in Tcl 8.4 on a host PC. They will send commands to the embedded
system using an interface similar to a slave interpreter.
procplace's TinyTcl 6.8 looks a bit big for this machine. That means I'll
have to go with an older version of Tcl.
If I don't embed Tcl, I'm going to have to write a command handler for
testing anyway, so I might as well use Tcl and get a *really good* command
handler.
I'd sure appreciate any wisdom you can offer on what versions of Tcl need
the least data space. Any other considerations about what old versions
of Tcl would be suitable would be helpful, too. (I'm keeping an eye out
for syntax changes. I remember when [] didn't treat newlines as command
separators, and I remember the change from [case] to [switch], but I don't
remember what else I need to remember! :-)
Stephen
--
Stephen Trier
Technical Development Lab
Cleveland FES Center
s...@po.cwru.edu
>procplace's TinyTcl 6.8 looks a bit big for this machine. That means I'll
>have to go with an older version of Tcl.
It doesn't get much older. You might want to consider something like forth
instead.
--
David Gravereaux <davy...@pobox.com>
Tomasoft Engineering, Hayward, CA
[species: human; planet: earth,milkyway,alpha sector]
Or tinker: http://www.wildopensource.com/larry-projects/others.html
--
.-. .-. .---. .---. .-..-. | Wild Open Source Inc.
| |__ / | \| |-< | |-< > / | "Making the bazaar just a
`----'`-^-'`-'`-'`-'`-' `-' | little more commonplace."
home: www.smith-house.org | work: www.wildopensource.com
Cameron Laird <Cam...@Lairds.com>
Business: http://www.Phaseit.net
Personal: http://phaseit.net/claird/home.html
> In article <ouohrucdcrainrf0j...@4ax.com>,
> David Gravereaux <davy...@pobox.com> wrote:
> >s...@po.cwru.edu (Stephen Trier) wrote:
> >
> >>procplace's TinyTcl 6.8 looks a bit big for this machine. That means I'll
> >>have to go with an older version of Tcl.
> >
> >It doesn't get much older. You might want to consider something like forth
> >instead.
> .
> .
> .
> I'm certainly fond of Forth and Lua. Do note that
> Tcl versions 2.1, 3.3, 4.0, 6.1, 6.4, 6.7 are avail-
> able through <URL: http://
> sourceforge.net/project/showfiles.php?group_id=10894 >,
> mostly through the efforts of Andreas Kupries, I be-
> lieve.
Not me alone. A number of people send me the distributions they had,
or references to them.
--
Sincerely,
Andreas Kupries <akup...@shaw.ca>
Developer @ <http://www.activestate.com/>
Private <http://www.purl.org/NET/akupries/>
-------------------------------------------------------------------------------
}