Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Advanced Interactive Shell
Hello Group,
I'm looking for a somewhat advanced scheme shell (something like
ipython for python, but, well for scheme).

Features that I'd appreciate:

* gnu readline line editing
* visual parentheses matching (like the vim standard-plugin MatchParen
does)
* <tab> syntax completion

One solution that provides line editing is to pipe through ledit, but
then you do not have parentheses matching. DrScheme comes with
parentheses matching, but without line editing (and you can't use it
without X). I did not find any syntax completion, but this has lowest
priority (for me;).

Is there anything around?

Thx;)

Report this thread to moderator Post Follow-up to this message
Old Post
solistic@gmx.net
03-21-08 09:42 AM


Re: Advanced Interactive Shell
solistic@gmx.net wrote:
> * gnu readline line editing
> * visual parentheses matching (like the vim standard-plugin MatchParen
> does)
> * <tab> syntax completion

I have once written a tiny editor that provides paren highlighting, go
to matching paren, and expression evaluation in an interactive buffer.
Having said that, it is hardly maintained, has a Wordstar-like interface
and requires T3X to compile. If you are interested anyways:

http://www.t3x.org/attic/index.html#tse

--
Nils M Holm <n m h @ t 3 x . o r g> -- http://t3x.org/nmh/

Report this thread to moderator Post Follow-up to this message
Old Post
Nils M Holm
03-21-08 01:17 PM


Re: Advanced Interactive Shell
> Is there anything around?
I just discovered that Guile with readline support does exactly what I
want:

http://www.gnu.org/software/guile/m...eadline-Support

Report this thread to moderator Post Follow-up to this message
Old Post
solistic@gmx.net
03-21-08 01:17 PM


Re: Advanced Interactive Shell
On Mar 21, 5:03=A0am, solis...@gmx.net wrote:
> Hello Group,
> I'm looking for a somewhat advanced scheme shell (something like
> ipython for python, but, well for scheme).
>
> Features that I'd appreciate:
>
> * gnu readline line editing
> * visual parentheses matching (like the vim standard-plugin MatchParen
> does)
> * <tab> syntax completion
>
> One solution that provides line editing is to pipe through ledit, but
> then you do not have parentheses matching. DrScheme comes with
> parentheses matching, but without line editing (and you can't use it
> without X). I did not find any syntax completion, but this has lowest
> priority (for me;).
>
> Is there anything around?

Gambit has all of that and it highlights the input in bold to
distinguish it from the output in plain text.

Marc


Report this thread to moderator Post Follow-up to this message
Old Post
Marc Feeley
03-22-08 12:25 AM


Re: Advanced Interactive Shell
solistic@gmx.net writes:

> Hello Group,
> I'm looking for a somewhat advanced scheme shell (something like
> ipython for python, but, well for scheme).
>
> Features that I'd appreciate:
>
> * gnu readline line editing
> * visual parentheses matching (like the vim standard-plugin MatchParen
> does)
> * <tab> syntax completion
>
> One solution that provides line editing is to pipe through ledit, but
> then you do not have parentheses matching. DrScheme comes with
> parentheses matching, but without line editing (and you can't use it
> without X). I did not find any syntax completion, but this has lowest
> priority (for me;).
>
> Is there anything around?

I would advise:

_\|     |/_
_  emacs  _
/|     |\



This is a nice lisp shell in general.  It has even better than
readline editing.  It has a very nice paredit mode to edit
parenthesized code.  It also has TAB completion.  And it works as well
in a terminal as in X (or other native GUIs).


Having put (setq inferior-lisp-program "/usr/bin/mzscheme") in ~/.emacs

you would launch your scheme shell with:

emacs -f inferior-lisp



Have a look at:
http://www.gnu.org/software/emacs/
http://www.emacswiki.org/cgi-bin/wiki/ParEdit
http://groups.google.com/group/comp...e010bdba239db05
http://www.emacswiki.org/cgi-bin/wiki/GaucheScheme
etc...

--
__Pascal Bourguignon__

Report this thread to moderator Post Follow-up to this message
Old Post
Pascal J. Bourguignon
03-25-08 09:51 AM


Re: Advanced Interactive Shell
On Fri, 21 Mar 2008 02:03:39 -0700, solistic wrote:

> * gnu readline line editing
I usually wrap rlwrap (take a recent wersions, old ones don't work
properly) around mzscheme, that works.

MzScheme had readline support some time ago, but it is no longer linked
against readline due to license mismatches.

regards,
Marek

Report this thread to moderator Post Follow-up to this message
Old Post
Marek Kubica
03-26-08 12:30 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Scheme archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:23 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.