• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to footer

GitopsCentral

  • Home
  • Courses
  • Roadmap
  • About
  • Log In
  • Sign Up

Lisp: Installation and IDE

November 18, 2018 by shaik zillani

Introduction

In this section I will cover some brief introduction & how to install it. Let’s understand why LISP is so special & why you should learn it.

What is so special about lisp?

Based on Lambda Calculus, lisp takes a very different model. It says that with a function, in the mathematical sense, and a few properties, like allowing the function to call itself, you can compute the same things that you can with the Turing model. Due to this, it leads to more of a functional style of programming.

Apart from that massive difference, Lisp was first to invent Dynamicism, where you don’t specify types when you code. It was first to introduce the idea of interpreted languages, where the compilation happens at runtime, so you can write macros, or program altering functions which alter the program at runtime.

Lisp was first to introduce homoiconicity, a syntax that mimics the AST of a language, which means it was first to be composed of only expressions, no statements. It was also the first to introduce the concept of a repl, where you can interactively write code at a command prompt.

Please check [what is so special about lisp]

Installation

Let’s install lisp from sbcl

apt-get install sbcl

IDE for Lisp

First of all get an IDE for lisp, the most popular one is slime on emacs. So, let’s install emacs editor then slime.

apt-get update install emacs

Let;s install slime using quicklisp. The complete guide on installing quicklisp can be found here. After you are done with the installation of quicklisp, its time to install slime.

sbcl

(ql:quickload "quicklisp-slime-helper")

(quit)

Copy the content show in sbcl and paste it in the .emacs file as show below. Save & quit .emacs.

.emacs

Now, let’s launch emacs & install slime. launch from command line using the command,

emacs -nw

Give alt+x (note: use the alt button on the right hand side) and then type slime. That’s it! this will install slime & you should have the below screen.

slime installed

functional programming,  lisp emacs,  functional programming,  lisp

Primary Sidebar

en English
ar Arabiczh-CN Chinese (Simplified)nl Dutchen Englishfr Frenchde Germanhi Hindiid Indonesianit Italianja Japanesems Malaypt Portugueseru Russianes Spanishte Telugu

Course Tags

concurrency free go golang

Recent Posts

  • Roadmap to Mastery
  • Increase SSH connection timeout
  • Check Certificate expiry in Kubernetes
  • space invaders in golang
  • creating kubernetes cluster using eksctl
  • Facebook
  • GitHub
  • YouTube

Contact

Navigation

  • goacademy pro

Footer

  • Facebook
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter

info@gitopscentral.com


+91 8341443220

© Copyright 2016-2024 gitopscentral · All Rights Reserved ·