lisp

Please advise on Ruby vs Python (for someone who likes LISP a lot)

Hi, I am a C++ developer, slowly getting into web development. I like LISP a lot but don't like AllegroCL and web-frameworks available for LISP. Which one is closer to LISP: Python or Ruby? I am looking for more freedom and ability to do cool hacks on language level. I don't consider tabs as a crime against nature. I can't seem to be a...

Logical Languages - Prolog or Lisp/Smalltalk or something else?

So, I am writing some sort of a statistics program (actually I am redesign it to something more elegant) and I though I should use a language that was created for that kind of stuff (dealing with huge data of stats, connections between them and some short of genetic/neural programming). To tell you the truth, I just want an excuse to d...

What are some examples of LISP being used in production, outside of AI and academia?

Possible Duplicate: Lisp in the real world A search query on Google reveals that the search term 'practical lisp' returns a link for Practical Common LISP, which is a very nice starter book. However, this is not what I was looking for or had in mind when I set out to search those terms. ...

How to save all functions I entered in LispBox/Slime?

Situation: I entered several functions while working with REPL in Emacs. Problem: There is junk like "; Evaluation aborted" when I'm simply saving buffer. What I want: clear descriptions of all the functions I entered in their latest revision. Can I do that? Thanks. ...

ASDF or other module system independent of home and site configurations

I'm trying to find out the best practices for real-world application development. I'm having trouble understanding how to properly configure third-party libraries for deployment as a standalone package. It seems that ASDF-INSTALL and ASDF are intended to install libraries to either home or site, changing the state of the development pl...

Can I Easily Use Lisp Without Emacs?

I'm currently reading Practical Common Lisp. The book is great and the language interesting, but I'm not enamored of learning Emacs. I've learned Vim and that's enough text-mode editors for one brain. I don't want to learn another. Double-control commands hurt my head. What's the best non-Emacs solution for programming Lisp on Windo...

What would be a good functional language to pick up?

I come from a background of a large variety of languages but my only experience with functional programming languages was a brief stint with OCaml. I want to dive a lot deeper into one of these languages (Lisp/Scheme, Erlang, Scala, Haskell, etc.) but I want it to hopefully be one that is practical in working environments and also has a ...

Lisp: Need help getting correct behaviour from SBCL when converting octet stream to EUC-JP with malformed bytes

The following does not work in this particular case, complaining that whatever you give it is not a character. (handler-bind ((sb-int:character-coding-error #'(lambda (c) (invoke-restart 'use-value #\?)))) (sb-ext:octets-to-string *euc-jp* :external-format :euc-jp)) Where *euc-jp* is a variabl...

LISP very simple list question

Im learning lisp and im pretty new at this so i was wondering... if i do this: (defparameter *list-1* (list 1 2)) (defparameter *list-2* (list 2 3)) (defparameter *list-3* (append *list-1* *list-2*)) And then (setf (first *list-2*) 1) *list-3* I will get (1 2 1 4) I know this is because the append is going to "save resources" and...

asdf-installing libraries from the command-line

Coming from a Perl background, I have to say I prefer cpan Foo::Bar to the having to start sbcl, (require :asdf-install) and finally (asdf-install:install :foo-bar). Is there anything more convenient than this around? ...

Does anyone have any recommendations for starting out in functional programming?

I'm looking for some ebooks that will assist in my learning of functional programming. I haven't yet decided which language I will go with, but I've noticed a fair amount of bias towards LISP, Haskell and F# amongst the community on StackOverflow. As yet, I'm unsure which direction I will take, but can anyone recommend any particular e...

How does one use SBCL's SB-SPROF allocation profiling?

Update: Upgrading to SBCL 1.0.24 fixed my problem. (Though I also needed to upgrade SLIME to the 11-23-2008 revision. The stable 2006-04-20 revision, as well as the head of CVS don't seem to work with SBCL 1.0.24.) The documentation for the SBCL statistical profiler indicates that you can profile memory allocation in addition to CPU u...

Trying to learn: Object Reorientation, and generic functions in LISP!

Hi, im reading Practical common Lisp as a result of another question. I just read chapter 16 and 17 where you can find how LISP manages objects. But after a couple of years of thinking how Java manages objects, i cant really seem to understand how you would implement bigger architectures in LISP using the CLOS. So i ask you guys for s...

Scheme Project Ideas

I am interested in improving my Functional Programming skills and I believe that the best way to do this is by working on a medium-sized project. In the past I have worked with Scheme and would like to continue to do so. Can someone please suggest some medium-sized Scheme project ideas? (Note: I am well-versed in C (ANSI C89/ISO C90), so...

Weird HTTP problem/mistake with Lisp

I'm attempting to learn a little more about handling sockets and network connections in SBCL; so I wrote a simple wrapper for HTTP. Thus far, it merely makes a stream and performs a request to ultimately get the header data and page content of a website. Until now, it has worked at somewhat decently. Nothing to brag home about, but it a...

What is the preferred way to run Lisp web application?

As a long time PHP programmer I was looking for a more powerful language for our next project. And thus got interested in Lisp. Now I am finding that, unlike PHP, most Lisp compilers have to run beside the web server as a service. But Reddit experience says that they had to always monitor the service from crashing. In PHP we never had t...

What is your opinion on Clojure?

What do you guys think about Clojure? I'm thinking of learning it next, currently using Erlang and in general happy with it except the records fiasco... Is Clojure as powerful as LISP? thanks ...

What is the best Scheme or LISP implementation for OS X?

I am looking for a version of Scheme or even LISP that I can use to recover some lost Lisp development skills. Some web capabilities would be nice but not essential. I've looked at Plt and MIT scheme and, while both look pretty good, the Plt seems to be more feature rich. I've also looked at Lisp implementations but all of the seem q...

Dynamic and Lexical variables in Common Lisp

I am reading the book 'Practical Common Lisp' by Peter Seibel. In Chapter 6, "Variables" sections "Lexical Variables and Closures" and "Dynamic, a.k.a. Special, Variables". http://www.gigamonkeys.com/book/variables.html My problem is that the examples in both sections show how (let ...) can shadow global variables and doesn't really te...

Continuous Integration for Common Lisp?

Are there any continuous integration frameworks for CL? Specifically, I'm looking for: Automated "build", i.e. ASDF system load from base state Automated tests Status push - email notification and the like, especially for broken builds and failed tests Status pull - website, logs, anything the dev team can pull to read Status history - ...