Scripting with Scheme Shell


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News Scripting with Scheme Shell
# 1  
Old 05-23-2008
Scripting with Scheme Shell

Fri, 23 May 2008 15:00:00 GMT
Last month, Daryl Lee gave us a taste of the language Scheme in the article It's time to learn Scheme with a C++ code generator. This time we will be looking at some practical examples written with Scheme Shell (SCSH): finding and replacing text in a bunch of files, sorting files in two different ways, and converting data from a CSV file to an HTML file.


Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Web Development

Perl scripting or shell scripting?

i am going to study any one of the scripting languages mentioned above(shell 0r perl scripting) . Which is having more scope for a fresher? (1 Reply)
Discussion started by: Anna Hussie
1 Replies

2. What is on Your Mind?

Shell Scripting vs Perl scripting

Gents, I have been working in a Solaris/Unix environment for about 9 months. I took some linux classses online before getting the job. But, I am not very good at scripting. I want to learn how to script. Do you think that I should start with Shell scripting or Perl? I wanted to continue with... (2 Replies)
Discussion started by: Pouchie1
2 Replies

3. Red Hat

Color Scheme file

Hi Experts. Finally I complete my move to Fedora distro :) I am using the gedit editor and I'd like to customize it because I like to work with black color on background and green for text color (this remember me my university time), I did the same on UltraEdit tool before but here in gedit... (2 Replies)
Discussion started by: orma
2 Replies

4. What is on Your Mind?

Shell scripting vs Perl scripting

Hi all, I would like to start developping some good scripting skills. Do you think it would be best to start with shell scripting or Perl? I already got a fundation, really basics, in perl. but I am wondering what would be best to be good at first. Can you please help me determine which one to... (14 Replies)
Discussion started by: Pouchie1
14 Replies

5. Shell Programming and Scripting

Call Shell scripting from Perl Scripting.

Hi How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Discussion started by: anupdas
2 Replies

6. Shell Programming and Scripting

difference between AIX shell scripting and Unix shell scripting.

please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies

7. Solaris

Solaris Partioning scheme

Hi I have a sun server. Recently I have attached a new 80 GB disk. I would like to install the Solaris OS on this disk. Now I would be installing some database on this disk. I have decided to allocate a slice of 20GB or DB2 and one more slice of 20GB for Sybase. The / partition would... (4 Replies)
Discussion started by: RajaRC
4 Replies

8. UNIX for Advanced & Expert Users

Apache authentication scheme

Apache has an authentication scheme using .htaccess and a password file to authenticate people from accessing an area of the site. Is there anyway to set .htaccess to use the Unix password file to authenticate users. Thanks in advance Vu (1 Reply)
Discussion started by: vtran4270
1 Replies
Login or Register to Ask a Question
GSI
/GSC(1) User Commands GSI/GSC(1) NAME
gsi - Gambit-C Scheme Interpreter and Compiler SYNOPSIS
gsi [ -:arg,... ] [ -f ] [ -v ] [[-] [ -e ] [ file ]]... gsc [options] [files] gsc-script, gsi-script, scheme-ieee-1178-1990, scheme-r4rs, scheme-srfi-0, six, and six-script: currently synonyms for gsi. scheme-r5rs is registered in the Debian alternatives system and can be configured to point at gsi. DESCRIPTION
This manual page documents briefly the gsi and gsc commands. The Gambit-C programming system is a full implementation of the Scheme language which conforms to the R4RS, R5RS, and IEEE Scheme stan- dards. It consists of two main programs: gsi, the Gambit Scheme interpreter, and gsc, the Gambit Scheme to C compiler. The interpreter provides an interactive environment with a debugger, while the compiler can produce stand-alone executables or modules which can be linked or loaded at run time. Interpreted code and compiled code can be freely mixed. C modules can be linked with Scheme modules. The interpreter is executed in interactive mode when no file or `-' or `-e' option is given on the command line. When at least one file or `-' or `-e' option is present the interpreter is executed in batch mode. Entering ,q or (exit) at the interpreter's command prompt will exit the interpreter. In batch mode the command line arguments denote files to be loaded, REPL interactions to start (`-' option), and expressions to be evalu- ated (`-e' option). Note that the `-' and `-e' options can be interspersed with the files on the command line and can occur multiple times. The interpreter processes the command line arguments from left to right, loading files with the `load' procedure and evaluating expressions with the `eval' procedure in the global interaction environment. After this processing the interpreter exits. gsc-cc-o.bat is a script called by gsc to generate object files during compilation. It takes its data from environment variables and is not intended for user interaction. OPTIONS
A summary of options is included below. For a complete description, see the Info files. - Initiate a REPL at this point. (Continue by issuing a ,(c 0) command at the interpreter prompt) -: Comma separated list of run-time options -e Evaluate an expression. -f Skip initialization file. -v Show version of program. SEE ALSO
The documentation for these programs is arguably too extensive to cover with man pages. Only the common command line options are given here. The programs are documented fully in Gambit-C, available on-line at the Gambit-C Homepage. Once package gambc-doc is installed, this 200+ page document is available via the Info system (info gambit-c), in html via doc-base, or as files in /usr/share/doc/gambc (html, pdf, txt). The Debian package r5rs-doc provides the Revised(5) Report on the Algorithmic Language Scheme in several formats. That document is the defining description of the programming language Scheme. dhelp(1), gcc(1), update-alternatives(8) COPYRIGHT
Gambit-C is Copyright (C) 1994-2008 by Marc Feeley, all rights reserved. Gambit-C is released under a dual LGPL and Apache 2 license. For further information refer to /usr/share/doc/gambc/copyright. This manual page is Copyright (C) 2006-2008 Marc Feeley and Kurt B. Kaiser <kbk@shore.net> Released under the same license as Gambit-C. AUTHOR
Gambit-C was written by Marc Feeley <gambit@iro.umontreal.ca>. Homepage: http://www.iro.umontreal.ca/~gambit/ 4.2.6 April 19, 2008 GSI/GSC(1)