DragonFly kernel List (threaded) for 2008-02
"Justin C. Sherrill" wrote:
>Implementing a language-based shell happens to most every language;
First, a clarification -- I'm talking about a command shell (like tcsh
or bash), not an interactive interpreter like the standard python
interpreter or the read-eval-print loop (REPL) of lisp systems. The
latter could, I suppose, be used as a command shell by using language
features (like the "os" module in python) to execute system commands.
But that would be incredibly tedious.
>there's psh, the Perl shell, for instance:
This seems to be an ab initio effort to build a shell with perl-like
language features, not actually built on perl.
>There's also perlsh or Shell.pm, which come with Perl.
That seems to be a REPL. Ie, it helps developing perl programs, but
is not a substitute for a command shell.
>For other languages - lazy searching turns up these things:
>Interactive Ruby Shell:
This too is a REPL.
REPL, as far as I can tell.
All the REPLs above are comparable to the standard python interactive
interpreter. ipython is something else.
- Re: Globbing
- From: "Justin C. Sherrill" <firstname.lastname@example.org>