public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] kernel+shell: tclsh
@ 2006-06-02 14:22 Sergei Gavrikov
  0 siblings, 0 replies; only message in thread
From: Sergei Gavrikov @ 2006-06-02 14:22 UTC (permalink / raw)
  To: ecos-discuss

Hello

I'd read a polemic about a redboot+kernel+shell behavior. I often use
tclsh for my own needs and think why do not use it? John Ousterhout
originally created Tcl as exactly an embeddable extension language. A
bit googling net I found 'The Jim Interpreter' (http://jim.berlios.de).
The Jim is the Tcl8.5 based cut (hack) for small footprint systems. It
is an open source project. In 5 minutes I compiled jim for my LPC2294
target (2M RAM) with -DJIM_ANSIC -Os flags (I used the `default' ecos
template with a `posix' package). I'd got a binary image about ~180k
(the lpc2294 has 256k on-chip flash memory). After a burning the image
I'd got a well know shell (well, I changed the Jim default prompt :).

% info commands
subst list ref time debug test eval env lrange setref lappend proc break
llength return linsert error catch split info rand collect if join
concat lambda source global switch getref for lreverse append format
finalize lmap package set lambdaFinalizer scan while * + dict - uplevel
continue / rename foreach lset tailcall upvar unset expr load exit
lindex incr puts lsort range string
%

I think that lite standard scripting language (shell) may be useful for
yours aims too.

Happy scripting,

     	Sergei Gavrikov

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-02 14:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-02 14:22 [ECOS] kernel+shell: tclsh Sergei Gavrikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).