[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest e
From: |
Samuel A. Falvo II |
Subject: |
Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc) |
Date: |
Wed, 3 Dec 2003 09:28:36 -0800 |
User-agent: |
KMail/1.5 |
On Wednesday 03 December 2003 09:06 am, Tom Lord wrote:
> There are parts of the proposed library hacks that _are_ core
> functionality, and parts that are clearly "convenience" commands and
> ideally belong in itla.
I haven't been following this thread in depth, so forgive me if I'm way
off base. But perhaps using some Scheme interpreter like Guile or pika
would come in handy here.
Suppose that we have a user issue the command:
$ tla inventory ...etc...
tla is just a wrapper around Scheme, and a provider for the core library
of services. It would dispatch the `inventory' sub-command thusly:
1. Find `inventory.scm' somehow. Maybe have a set of script paths
established, and failing that, look in /usr/share/tla/scripts. The
scripts that go in /usr/share/tla/scripts might be considered core
commands.
2. Run the Scheme interpreter on that file, passing the additional
command-line arguments `...etc...' to the script via some global
variable or something.
This way, it'd be very easy to extend tla's built-in command-set just by
dropping in Scheme files.
Is this a good idea? If not, why not?
--
Samuel A. Falvo II
- Re: [Gnu-arch-users] in-tree pristines fatally wounded (merge-fest etc), (continued)
- [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), Pau Aliagas, 2003/12/02
- [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), Tom Lord, 2003/12/02
- [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), Pau Aliagas, 2003/12/02
- Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), David Allouche, 2003/12/03
- Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), David Allouche, 2003/12/03
- Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), Tom Lord, 2003/12/03
- Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc),
Samuel A. Falvo II <=
- Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), Stephen J. Turnbull, 2003/12/03
- Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), David Allouche, 2003/12/04
- Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), Miles Bader, 2003/12/04
- [Gnu-arch-users] [OT] in-tree pristines fatally wounded (merge-fest etc), David Allouche, 2003/12/05
- Re: [Gnu-arch-users] [OT] in-tree pristines fatally wounded (merge-fest etc), Tez Kamihira, 2003/12/05
- Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), Mark Thomas, 2003/12/03
- Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), David Allouche, 2003/12/03
- Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), Robert Collins, 2003/12/03
- Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), David Allouche, 2003/12/04
- Re: [Gnu-arch-users] Re: in-tree pristines fatally wounded (merge-fest etc), David Allouche, 2003/12/05