11-16-2005
LISP newbie's questions
Hello,
I want to learn LISP, and I have a GNU/Linux OS. I first sought a LISP compiler/interpreter and was told that GNU Emacs has a LISP mode. But I couldn't get into LISP mode, nor I don't know how to use it when I get into LISP mode.
How can I run LISP code under GNU Emacs?
And if possible, could someone point me some articles/documents on LISP that is written for a complete stranger to the land of LISP and AI.
Huge thanks in advance!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi :)
I just wanted to ask a few basic questions really. I'm telnetting to a remote host and I've finally found out that I'm using a csh shell.
My questions are:
1. Is the somename@something, the user group logged in?
2. How do I change user?
I'm really lost so I hope someone can help... (7 Replies)
Discussion started by: hellz
7 Replies
2. UNIX for Dummies Questions & Answers
Even though I have been logging in to a UNIX shell at school to complete school projects and write programs, but I had never really worked in UNIX environment. But a couple of weeks back I got hooked on to Solaris 9OE, read a book, a tutorial, a document provided on the Sun Microsystems website,... (1 Reply)
Discussion started by: init-5
1 Replies
3. Shell Programming and Scripting
I am relatively new to both KSH and Unix scripting, and I would like some help getting my script up and running. I would like to have the script attempt various commands (tar, copy, gzip etc) and then write the results (error msg or success msg) to a temp file. I would then like an email sent to... (2 Replies)
Discussion started by: mharley
2 Replies
4. Linux
I have been an apple customer for years now, and am not satisfied with the direction that they are going. So I just ordered my first PC notebook the other day. I have no desire to use windows, however with microsoft's hold on the market, I feel that I may have a hard time doing this. I want to... (2 Replies)
Discussion started by: Brycemb16
2 Replies
5. UNIX for Dummies Questions & Answers
Hi Unix gurus,
I know these are some easy questions.
But i just want to be sure about them.
Hope someone can help explain the following please?
1) if ]
- What does the "-r" means?
2) isql -U $DBUSER -D $DBNAME -S $DSQUERY -w 1000 -s";" << testfile > $FILE
- What does the -s";" mean and... (1 Reply)
Discussion started by: gholdbhurg
1 Replies
6. Solaris
Hello everyone, I am brand spanking new to both Solaris and Unix. I thought I would give it a go after buying a SB2500 off ebay for a few hundred dollars.
I am having some issues that I am not sure how to correct, and I am wondering if I can get a few pointers?
The first one is that my system... (2 Replies)
Discussion started by: GeekMasterFlash
2 Replies
7. Shell Programming and Scripting
Hi,
So I started to learn perl a few days ago, and I have some problems...
One of my problems...
#!C:\Perl64\bin\perl.exe -w
use LWP::Simple;
print "Content-Type: Text/Plain\n\n";
sub pagelinks {
return @all = get($_) =~ /href\s*=\s*"?(+)/gis;
}
@a =... (5 Replies)
Discussion started by: byte1918
5 Replies
8. UNIX for Dummies Questions & Answers
I entered a command at the prompt and it's interactive (not background). It gathers some stats and writes them to a file. I want to see this job running and what it's doing - I/O especially and maybe CPU and stuff. What can do to see this (say using a second session?)
I know it's a long job but... (3 Replies)
Discussion started by: ido1957
3 Replies
9. AIX
Hi Guys, I am new in this forum and new with AIX however not new with Power System. I have worked with iSeries for many years. Now supporting AIX on Power.
Here are some basic questions I have.
1. I am using Putty to connect from my PC to the AIX boxes. Is there any other (better) program to... (6 Replies)
Discussion started by: 300zxmuro
6 Replies
LISP(1) General Commands Manual LISP(1)
NAME
lisp - lisp interpreter
SYNOPSIS
lisp
DESCRIPTION
Lisp is a provisional lisp interpreter. It only runs in eval mode. Built in functions are named in lower case, and case is distinguished.
It is being transmuted from a subset of lisp as provided by the Harvard UNIX lisp in use at UCB, to a subset of MIT's MACLISP.
The following functions are provided as machine code:
Lambda functions:
atom dptr load putd rplacd
bcdp drain null putprop set
car eq numberp ratom terpr
cdr equal outfile read
close eval patom readc
concat get pntlen retbrk
cons getd portp return
cont infile print rplaca
Nlambda functions (possibly simulating ones which are normally lambdas):
add1 difference onep quotient zerop
and exit or reset
break go plus setq
cond minus product sub1
cond mod prog sum
def not quote times
The following functions are provided as lisp code (and at the moment must be read in by saying (load 'auxfns):
add copy length numbp
append defevq linelength pp_etc
apply* defprop member reverse
charcnt defprop memcar terpri
chrct diff memcdr
conc last nconc
All of the above functions are documented in the ``Harvard Lisp Manual.''
The following functions are provided as in MIT's MACLISP.
alphalessp do mapc setsyntax
apply explodec mapcar throw
ascii exploden prog2 tyi
catch funcall progn tyipeek
defun implode progv tyo
``Hairy control structure'' is provided by the Nlambda (process command inport outport) where command is an atom whose print name is some
command that you would wish typed at the terminal, e.g. ``neqn | nroff -ms''; where inport and outport are atoms which will be bound to
port descriptors for use in communication with the subprocess. Inport is a port to a pipe which will be read by the subprocess as its
standard input. If Inport is nil (or not present), the subprocess inherits the standard input, and lisp waits for the subprocess to die.
If Inport is the atom t lisp continues without waiting.
AUTHORS
Originally written by Jeff Levinsky, Mike Curry, and John Breedlove. Keith Sklower made it work and is maintaining the current version.
The garbage collector was implemented by Bill Rowan.
SEE ALSO
Harvard UNIX Lisp Manual
MACLISP Manual
UCB Franz Lisp Manual
BUGS
The status bits for setsyntax are not the same as for MACLISP.
Closing down a pipe doesn't always seem to work correctly.
Arrays are not implemented in version 1.
3rd Berkeley Distribution LISP(1)