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
S2CI(1) 						      General Commands Manual							   S2CI(1)

NAME
s2ci - Scheme interpreter SYNTAX
s2ci [ option ] DESCRIPTION
The s2ci command (previously known as sci) invokes a Scheme interpreter. The language accepted by this interpreter is that defined in the essential portions of the Revised4 Report on the Algorithmic Language Scheme, with minor constraints and some additions. The Scheme inter- preter is written in Scheme which has then been compiled using the Scheme-to-C compiler, s2cc. OPTIONS
These options are accepted by s2ci. -e Echo text read from the standard input file on the standard output file. -emacs Scheme interpreter is controlled by GNU emacs. -nh Do not print the interpreter version header on the standard output file. -np Do not prompt for input from the standard input file on the standard output file. -q Do not print the result of each expression evaluation. -scgc statflag Enables garbage collection statistics. If set to 1, then garbage collection statistics will be printed. The default is 0, that will result in no statistics. -sch heap Specifies the initial size of the heap in megabytes. The default heap size is 4 MB. The maximum heap size allowed is 1000 MB. -scl percent Specifies the percent of the heap allocated after a generational garbage collection that will force a full collection. The default is 40%. -scm main Specifies the function that should be used instead of the predefined "main". The function name must be entered in the cor- rect case, i.e. letters typically upshifted. -scmh heap Specifies the maximum heap size in megabytes. The default is five times the initial size of the heap. ENVIRONMENT VARIABLES
The items controlled by -sc.. flags can also be controlled by environment variables. If both the flag and the environment variable are provided, then the flag's value will be used. SCGCINFO Controls the reporting of garbage collection statistics to the standard error file. If set to 1, then garbage collection statistics will be printed. The default setting is 0 that will not print the statistics. SCHEAP Specifies the initial size of the heap in megabytes. The default heap size is 4 MB. The maximum heap size allowed is 1000 MB. SCLIMIT Specifies the percent of the heap allocated after a generational garbage collection that will force a full collection. The default is 40%. SCMAXHEAP Specifies the maximum size of the heap in megabytes. The default value is five times the initial heap size. FILES
The interpreter is one a.out file with the name s2ci. All files associated with the interpreter are found in the directory .../scheme- toc/scrt. SEE ALSO
Harold Abelson and Gerald Jay Sussman with Julie Sussman, Structure and Interpretation of Computer Programs, The MIT Press. William Clinger and Jonathan Rees (Editors), Revised4 Report on the Algorithmic Language Scheme, LISP Pointers, Volume IV, Number 3, July- September 1991. PostScript for this report is included in the software distribution. Jerry D. Smith, An Introduction to Scheme, Prentice Hall, Inc. Chapter notes for using this text with Scheme->C are included in the soft- ware distribution. R. Kent Dybvig, The SCHEME Programming Language, Prentice Hall, Inc. Daniel P. Friedman and Matthias Felleisen, The Little LISPer, MIT Press. Joel F. Bartlett, Scheme->C a Portable Scheme-to-C Compiler, WRL Research Report 89/1. Additional documentation is included in the software distribution. s2cc(1) QUESTIONS, COMMENTS, AND COMPLAINTS http://alioth.debian.org/projects/scheme2c/ local S2CI(1)