Tuesday, December 2, 2008

Develop Lisp Application-Cusp Eclipse plug-in

If you think the greatest pleasure in programming comes from getting a lot done with code that simply and clearly expresses your intention, then programming in Common Lisp is likely to be about the most fun you can have with a computer. You'll get more done, faster, using it than you would using pretty much any other language.It can also help those seasoned in the Java™ programming language, PHP, or C/C++ think in new ways when developing applications. In addition, you can do some pretty cool things with Lisp. Find out how to develop Lisp applications using the Cusp Eclipse plug-in.

Cusp is development environment for common lisp programing language. Using Lisp, you can develop all sorts of applications, including Web applications. Lisp is the second oldest programming language still used widely today (after Fortran) and is known as the first functional language. The creation of Lisp began in the late 1950s and was first implemented in 1958 by the MIT Artificial Intelligence (AI) Project. Its strength is in the processing of lists: AI and symbol mathematics. You'll notice that Lisp is not at all like other general programming languages. For example, in most general programming languages, you perform multiplication just as you would on paper: int times = 5 * 5;.

With Lisp, the following would produce 75: (* 5 5 3). The maximum in this list: (MAX 9 8 7 6 20) returns 20.

Steps to install Cusp:

1) First you need to install eclipse in your system.
2) After installing it,click on 'help' in file menubar and then click on software updates, in that find and install and then select the radio button find new features to install (Help->software updates->find and install->find new feauters to install).
3) Then a small window is opened in that click on 'new remote site' then it opens a tiny window providing two text fields in that you need to fill up those as follows:

a) Name:Cusp Update Site
b) URL Name: http://www.sergeykolos.com/cusp/update

4) Then click on 'ok' button and then click on finish button.
5) Then you will be brought another new window showing new Cusp features to install ,and in that click on checkbox named "cusp update site".
6) Then continue with pressing "next" button. This will installs cusp plug-in in your ecplipse editor.
7) Then you can do the new projects as same as java i.e. click on file and then select " new lisp project" etc..

No comments: