Questions tagged [lisp]

Lisp is a (family of) general purpose programming language(s), based on the lambda calculus, and with the ability to manipulate source code as a data structure.

Introduction

The name LISP derives from "LISt Processing". It was originally created as a practical mathematical notation for computer programs. See wikipedia for more information.

Hello World Program in Lisp

;;; Hello World in Common Lisp

(defun helloworld ()
  (print "Hello World!"))

Popular dialects

Free Lisp Programming Books

16 questions
5
votes
2 answers

Emacs: mute messages ("echo area")

I do lots of automatizing in Emacs, by stacking commands that I know from using manually. That is a method I recommend, because it doesn't take much effort: you use Emacs as you ordinarily would, and now and then it pops to your head, "hey, I'm…
Emanuel Berg
  • 6,763
  • 7
  • 43
  • 65
4
votes
2 answers

Inaccurate multiplication in mit-scheme

I found out the floating point multiplication in mit-scheme is not accurate, for example, 1 ]=> (* 1991.0 0.1) will produce ;Value: 199.10000000000002 Could you please help explain the appearance of the weird trailing number “2”?
TJH
  • 73
  • 1
  • 5
3
votes
3 answers

Install Lisp Interpreter in Debian Jessie

I convinced myself to learn Lisp. I'd like to know of a way to install a Lisp Interpreter on Debian(Jessie). I was reading about clisp but is not in the repositories of Debian.
blade
  • 177
  • 1
  • 7
2
votes
1 answer

How to install mit-scheme in Arch Linux?

It seems to be available here. But when I try the following command: $ sudo pacman -S mit-scheme I get the following: error: target not found: mit-scheme I've also tried with mit-scheme-git (from here), since that seems more recently updated, but…
PandaConda
  • 187
  • 2
  • 8
1
vote
1 answer

Cannot open slime-helper.el

I'm trying to install slime on a debian wheezy distro 64 bit called Crunchbang, trying to install common lisp, followed this tutorial, although the title says it's for windows, I installed it on linux and slime seems to work perfectly (or so i…
Lynob
  • 4,054
  • 12
  • 44
  • 73
1
vote
1 answer

Emacs: mode-local macro with dashes and dots

In Emacs, how can I make a macro, that is local to the HTML mode, and uses dashes and dots? Take a look at the Elisp below: (define-abbrev-table 'html-mode-abbrev-table '(("..." "…") ; won't work ("---" "—") ; won't work …
Emanuel Berg
  • 6,763
  • 7
  • 43
  • 65
1
vote
1 answer

How do i upgrade ASDF (for Lisp management) from 3.1.7 to 3.3.1?

I receive a Warning message from SBCL informing me that, in this session, I am using ASDF 3.3.1, but that I have ASDF 3.1.7 "registered." I previously had my Emacs (/sbcl/slime/quicklisp) environment set up and working but ran into some issues…
TheGeeko61
  • 6,911
  • 3
  • 17
  • 18
1
vote
0 answers

Unable to run clisp on Solaris 10 with opencsw Solaris Package

I have tried to run the Clisp which is already available in opt/csw/bin path I didn't manage to get it working. Expected result: To see a prompt. Actual results (terminal output): when I tried to run clisp using ./clisp inside the path…
1
vote
1 answer

Manjaro Linux with LispWorks

Can anyone of you help me with this error: LispWorks(R): The Common Lisp Programming Environment Personal Edition Copyright (C) 1987-2012 LispWorks Ltd. All rights reserved. Version 6.1.1 Saved by LispWorks as lispworks-personal-6-1-1-x86-linux, at…
Vildnex
  • 169
  • 1
  • 1
  • 4
1
vote
1 answer

No clisp in Debian's repository?

I want to install clisp. My /etc/apt/sources.list: deb http://security.debian.org/ testing/updates main contrib deb-src http://security.debian.org/ testing/updates main contrib deb http://http.debian.net/debian testing main contrib non-free deb-src…
patryk.beza
  • 1,179
  • 1
  • 13
  • 25
1
vote
1 answer

Haskell, C++, AWK, Bash, Lisp ... Which one is faster?

I was wondering, which of these programming languages are faster at handling big data files of only strings: Haskell, C++(Boost), AWK, Bash, Lisp... So far I have found the paper Haskell vs. Ada vs. C++ vs. Awk vs. .... However, this paper is a…
1
vote
2 answers

Installing Lispworks on rhel 6.5 Workstation. Error when loading application

Does anybody know what this error means and how to get Lispworks Personal edition to run on Redhat? Error: Error during GUI startup: Could not register handle for external module "-lgthread-2.0": libgthread-2.0.so: cannot open shared object file: No…
somethingSomething
  • 5,721
  • 18
  • 58
  • 98
0
votes
2 answers

problems using slime on emacs24

I install slime through ELPA. Here is what my .emacs file looks like: (setq inferior-lisp-program "sbcl --noinform") (add-to-list 'load-path "~/slime/") (require 'slime) (slime-setup) (setq package-archives '(("gnu" .…
anonymous
  • 173
  • 6
0
votes
1 answer

How to install and configure LispWorks PE on 64bit Linux system?

LispWorks Personal Edition is cross-platform development tool for Common Lisp. I did a small research, looking for any simple installation guide, but I found only this and this. After following these instructions LispWorks works, but it doesn't…
BlueManCZ
  • 1,693
  • 12
  • 31
0
votes
2 answers

Emacs how do I interpret this Lisp debugger report

I am trying to make up a .emacs file on my new Fedora 20 computer, and get this line when I use emacs -debug-init &. I expect it to be a trivial mistake, but I find the help on this too detailed and confusing, so can anyone please interpret it for…
Harry Weston
  • 1,319
  • 5
  • 21
  • 35
1
2