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

NAME
elk, scheme-elk - extensible Scheme interpreter SYNOPSIS
elk [ -l file ] [ -h KBytes ] [ -p load-path ] [ -g ] [ -i ] [ -v type ] [[ -- ] args] elk... DESCRIPTION
Elk (Extension Language Kit) is a Scheme implementation designed as a general extension language for applications written in C or C++. Normally, Elk is linked with the application it serves, but a stand-alone version of the Scheme interpreter is installed as well (usually under the name elk). This interpreter, together with the standard Scheme toplevel, Elk can be used as an ordinary, stand-alone implementa- tion of the Scheme language. When called without the -l option, Elk loads the standard "toplevel" to start an interactive session. When called with -l file, the con- tents of the specified file is loaded instead. If a `-' is given as a filename argument, Elk loads from standard input. The option -p load-path can be used to override the standard load-path. The argument is a colon-separated list of directories. If this option is not present and the environment variable ELK_LOADPATH is defined, the value of this variable is used to initialize the load-path. The value of ELK_LOADPATH has the same format as the argument to the -p option. The -h KBytes option is used to specify a non-standard heap size. The default heap size is 512 KBytes. If the option -i is specified, symbols are mapped to lower case. Normally, Elk is case-sensitive. The -g option causes the interpreter to run the garbage collector each time memory is allocated on the heap. This is useful for writers of extensions who want to test the garbage collect behavior of an extension. Running Elk with the -g option is likely to reveal GC-related bugs in extensions (such as not properly protected local objects), as it triggers a garbage collection each time an object is allocated on the Scheme heap. A dot is written to standard output each time a garbage collection is performed when -g has been specified. When called with one or more -v type (``verbose'') options, the interpreter prints additional informational messages to standard output, depending on the value of the type argument. If type is load, the linker command and options are printed each time an object file is loaded; if type is init, the names of extension initialization and finalization functions are printed as they are called. The remaining args are put into a list of strings, and the Scheme variable command-line-args is bound to this list in the global environ- ment. If arguments could be interpreted as options, `--' can be used to indicate the end of the options. FILES
$TMPDIR/ldXXXXXX Temporary files AUTHOR
Oliver Laumann 4th Berkeley Distribution 15 January 1991 ELK(1)